/**
 * Contact Page Styles
 * Modern and user-friendly design
 */

.contact-page {
    background: #f0f2f8;
}

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.contact-header p {
    font-size: 20px;
    opacity: 0.9;
    position: relative;
}

/* Contact Info Section */
.contact-info-section {
    padding: 50px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.info-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}
.info-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform .3s;
}
.info-card:hover::after { transform: scaleX(1); }

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(102,126,234,.18);
}

.info-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.info-icon.phone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.info-icon.email {
    background: linear-gradient(135deg, #FF6600 0%, #E55A00 100%);
}

.info-icon.location {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
}

.info-link {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #0066CC;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.info-link:hover {
    color: #0052A3;
}

.info-card p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.info-address {
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Form Section */
.form-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.form-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 28px 40px;
    margin-bottom: 0;
}

.form-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-header h2 i {
    color: rgba(255,255,255,.85);
}

.form-header p {
    font-size: 14px;
    color: rgba(255,255,255,.85);
    margin: 0;
}

.contact-form {
    padding: 32px 40px;
}

/* Form Styles */
.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #0066CC;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s;
    background: #f8faff;
    font-family: inherit;
    color: #1e293b;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(102,126,234,.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* Honeypot (hidden spam trap) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: #F1F5F9;
    color: #1E293B;
}

.btn-secondary:hover {
    background: #E2E8F0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Form Note */
.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #64748B;
}

.form-note i {
    color: #00CC66;
}

/* Response Guarantee */
.response-guarantee {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    padding: 20px 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    border: 1px solid #6ee7b7;
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    background: #00CC66;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.guarantee-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 4px;
}

.guarantee-content p {
    font-size: 14px;
    color: #047857;
    margin: 0;
}

/* Why Choose Section */
.choose-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    margin-bottom: 24px;
}

.choose-card > h3 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 20px 26px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.choose-card > h3 i {
    color: #ffd700;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

/* ── ROOT FIX: align-items:flex-start stops icon drift ── */
.feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 14px 26px !important;
    transition: background .2s;
}
.feature-item:hover { background: #f8faff; }

.feature-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    color: #FFFFFF !important;
    flex: 0 0 38px !important;
    flex-shrink: 0 !important;
    margin: 2px 0 0 0 !important;
}
/* Give each feature its own colour */
.feature-item:nth-child(1) .feature-icon { background: linear-gradient(135deg,#667eea,#764ba2) !important; }
.feature-item:nth-child(2) .feature-icon { background: linear-gradient(135deg,#11998e,#38ef7d) !important; }
.feature-item:nth-child(3) .feature-icon { background: linear-gradient(135deg,#f7971e,#ffd200) !important; }
.feature-item:nth-child(4) .feature-icon { background: linear-gradient(135deg,#2193b0,#6dd5ed) !important; }
.feature-item:nth-child(5) .feature-icon { background: linear-gradient(135deg,#ee0979,#ff6a00) !important; }
.feature-item:nth-child(6) .feature-icon { background: linear-gradient(135deg,#834d9b,#d04ed6) !important; }

.feature-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.feature-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 3px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* Service Areas Card */
.service-areas-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
}

.service-areas-card > h3 {
    background: linear-gradient(135deg,#2193b0,#6dd5ed);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 20px 26px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-areas-card > h3 i {
    color: rgba(255,255,255,.9);
}

.areas-intro {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    padding: 12px 26px 16px;
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
    padding: 0 26px;
}

.area-tag {
    background: #eff6ff;
    color: #3b82f6;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

.area-tag.more {
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: #FFFFFF;
    font-weight: 700;
    border-color: transparent;
}

.service-areas-card .btn {
    margin: 0 26px 22px;
}

/* Map Section */
.map-section {
    background: #FFFFFF;
    padding: 40px 50px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    margin-bottom: 50px;
}

.map-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.map-section h2 i {
    color: #DC2626;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-note {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-note i {
    color: #0066CC;
}

/* Contact FAQ Section */
.contact-faq-section {
    background: #FFFFFF;
    padding: 40px 50px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
}

.contact-faq-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-faq-section h2 i {
    color: #0066CC;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: #f8faff;
    padding: 22px 24px;
    border-radius: 14px;
    border-left: 4px solid #667eea;
    transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(102,126,234,.15); }

.faq-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: #0066CC;
}

.faq-item p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: slideInDown 0.3s ease;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 60px 0 40px;
    }
    
    .contact-header h1 {
        font-size: 36px;
    }
    
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .map-section {
        padding: 32px 20px;
    }
    
    .contact-faq-section {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 28px;
        flex-direction: column;
        gap: 8px;
    }
}
