/* Contact Form Styles - Contact Page Specific */
.contact-main {
    width: 100%;
    clear: both; /* Clear any floats from header */
}

.contact-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-page-header h1 {
    color: #0b2470;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.contact-page-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Alerts */
.contact-alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-alert-error ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

/* Contact Page Wrapper */
.contact-page-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.contact-page-form-section {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-whatsapp-reminder {
    flex: 1;
    min-width: 300px;
}

/* Contact Page Form Styles */
.contact-page-form h2 {
    color: #0b2470;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group {
    margin-bottom: 20px;
    flex: 1;
}

.contact-form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.contact-form-group.third {
    flex: 0 0 calc(33.333% - 14px);
}

.contact-form-group.two-thirds {
    flex: 0 0 calc(66.666% - 14px);
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #0b2470;
    box-shadow: 0 0 0 2px rgba(11, 36, 112, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit-btn {
    background-color: #0b2470;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background-color: #00a8ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 36, 112, 0.2);
}

/* Contact Page WhatsApp Card */
.contact-whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-whatsapp-icon svg {
    width: 40px;
    height: 40px;
}

.contact-whatsapp-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-whatsapp-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-whatsapp-number {
    font-size: 1.5rem;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.contact-page-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.contact-page-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-page-whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

.contact-whatsapp-benefits {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.contact-whatsapp-benefits p {
    margin-bottom: 10px;
}

.contact-whatsapp-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-whatsapp-benefits li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.contact-whatsapp-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-page-header h1 {
        font-size: 2rem;
    }
    
    .contact-page-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form-group.half,
    .contact-form-group.third,
    .contact-form-group.two-thirds {
        flex: 0 0 100%;
    }
    
    .contact-page-form-section,
    .contact-whatsapp-reminder {
        min-width: 100%;
    }
    
    .contact-whatsapp-card {
        padding: 25px 20px;
    }
    
    .contact-whatsapp-number {
        font-size: 1.3rem;
    }
}

/* Clear fix for contact page to prevent header gap */
.contact-main::after {
    content: "";
    display: table;
    clear: both;
}