/* Overall Contact Section */
.contact-section {
    text-align: center;
    padding: 60px 20px;
    background: #f5f7fa;
}

/* Contact Title */
.contact-title {
    font-size: 36px;
    font-weight: bold;
    color: #002b5b;
    margin-bottom: 10px;
}

/* Subtitle */
.contact-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

/* Contact Card */
.contact-card {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Contact Details */
.contact-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #002b5b;
}

.contact-card p {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

/* Social Links */
.social-links {
    margin-top: 15px;
}

.social-links a {
    margin-right: 10px;
}

.social-links img {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Form Fields */
.input-field {
    margin-bottom: 15px;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

/* Send Button */
.send-button {
    width: 100%;
    padding: 14px;
    background: #0056b3;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-button:hover {
    background: #004094;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }
}


/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #0056b3;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    background: #004094;
}

.floating-contact-btn img {
    width: 30px;
    height: 30px;
}

/* Contact Form Popup */
.contact-popup {
    position: fixed;
    bottom: -400px; /* Hidden by default */
    right: 20px;
    width: 320px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    transition: bottom 0.4s ease-in-out;
    z-index: 1000;
}

.contact-popup.active {
    bottom: 80px; /* Moves up when active */
}

/* Close Button */
.close-btn {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    float: right;
}

/* Contact Form Styling */
.contact-popup h2 {
    font-size: 20px;
    color: #0056b3;
    margin-bottom: 10px;
}

.contact-popup p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.contact-popup input,
.contact-popup textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-popup button {
    width: 100%;
    padding: 12px;
    background: #0056b3;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-popup button:hover {
    background: #004094;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-popup {
        width: 90%;
        right: 5%;
    }
}

.headerform{
    text-align: center;
}