/* ================= Contact Us Section ================= */
.contact-us {
    padding: 80px 0;
    background: #f5f8ff;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.contact-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0a3cff;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Contact Grid */
.contact-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    flex: 1 1 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 95, 255, 0.15);
}

.contact-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0a3cff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #0a3cff, #00bfa6);
    border-radius: 2px;
}

/* Contact Info */
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info ul li {
    margin-bottom: 30px;
}

.contact-info ul li:last-child {
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* .contact-item:hover {
    transform: translateX(5px);
} */

.contact-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0a3cff, #00bfa6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(10, 60, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 60, 255, 0.3);
}

.contact-icon i {
    font-size: 17px;
    color: #ffffff;
}

.contact-content {
    flex: 1;
}

.contact-content strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #0a3cff;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.contact-content p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.contact-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-content a:hover {
    color: #0a3cff;
    text-decoration: none;
}

/* Form */
.contact-form form input,
.contact-form form textarea,
.contact-form form select {
    width: 100%;
    padding: 3px 18px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.contact-form form input:focus,
.contact-form form textarea:focus,
.contact-form form select:focus {
    border-color: #0a3cff;
    box-shadow: 0 0 8px rgba(10, 60, 255, 0.2);
}

.contact-form form textarea {
    min-height: 70px;
    resize: none;
}

/* Placeholder styling */
.contact-form form input::placeholder,
.contact-form form textarea::placeholder {
    font-size: 12px;
    color: #999;
}

/* Select dropdown styling - smaller font for default option */
.contact-form form select {
    font-size: 12px;
    color: #999;
}

.contact-form form select option {
    font-size: 12px;
    color: #333;
}

/* When a real option is selected, make it larger and darker */
.contact-form form select.has-selection {
    font-size: 16px;
    color: #333;
}

.contact-form .btn {
    background: linear-gradient(135deg, #0a3cff, #00bfa6);
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form .btn:hover {
    background: linear-gradient(135deg, #0046d6, #00d1b8);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-details-grid {
        flex-direction: column;
        gap: 25px;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .contact-header p {
        font-size: 16px;
    }
}
