/* contacts.css - Updated for Tec-shop Kenya Kitale Location */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: #1e293b;
   background-color: rgb(255, 255, 255);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
   height: 40vh;
    background: linear-gradient(135deg, #ee903865 0%, #e28a075e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/a492c2f1-5a12-4681-a43f-e5580e876ad7.png');
    background-size: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Contact Cards */
.quick-contact {
    margin-top: -60px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-contact-card {
    background: white;
    padding: 32px 24px;
    text-align: center;
   ;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(249,115,22,0.15);
}

.quick-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.quick-icon i {
    font-size: 30px;
    color: white;
}

.quick-contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.quick-contact-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.quick-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.quick-link:hover {
    gap: 10px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Info Cards */
.info-card {
    background: white;
   
    margin-bottom: 24px;
    overflow: hidden;
}

.info-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.info-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-header h3 i {
    font-size: 20px;
}

.info-body {
    padding: 24px;
}

.info-row {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row-icon {
    width: 45px;
    height: 45px;
    background: #fff3e9;
    display: flex;
    align-items: center;
    justify-content: center;
  
    flex-shrink: 0;
}

.info-row-icon i {
    font-size: 20px;
    color: #f97316;
}

.info-row-content {
    flex: 1;
}

.info-row-content .label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-row-content .value {
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
}

.info-row-content .value a {
    color: #f97316;
    text-decoration: none;
}

.info-row-content .value a:hover {
    text-decoration: underline;
}

/* Location Card */
.location-card {
    background: linear-gradient(135deg, #fef3e8 0%, #fff5ed 100%);
   
    padding: 20px;
    margin-top: 20px;
}

.location-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}

.location-detail i {
    color: #f97316;
    width: 20px;
    margin-top: 2px;
}

/* Form Card */
.form-card {
    background: white;
  
    overflow: hidden;
}

.form-header {
    padding: 28px 32px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.form-header p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.form-body {
    padding: 32px;
}

/* Alert Messages */
.alert {
    padding: 18px 24px;
    margin-bottom: 24px;
   
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.alert i {
    font-size: 20px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
}

.required {
    color: #f97316;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #f97316;
  
}

select.form-control {
    appearance: none;
   
    background-position: right 16px center;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249,115,22,0.3);
}

.user-info-box {
    background: #fef3e8;
    padding: 16px 20px;
   
    margin-bottom: 24px;
}

/* FAQ Section */
.faq-section {
    margin: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 18px;
    color: #64748b;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: white;
   
    padding: 24px;
  
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.faq-question i {
    color: #f97316;
    font-size: 20px;
}

.faq-answer {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-left: 32px;
}

/* Map Section */
.map-section {
    background: white;
  
    overflow: hidden;
   
    margin-bottom: 60px;
}

.map-container {
    height: 400px;
    width: 100%;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #fef3e8 0%, #fff5ed 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-placeholder i {
    font-size: 64px;
    color: #f97316;
    margin-bottom: 20px;
}

.map-placeholder p {
    color: #475569;
    font-size: 16px;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    font-size: 36px;
    color: white;
}

.whatsapp-button .tooltip {
    position: absolute;
    right: 75px;
    background: #1e293b;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-button:hover .tooltip {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .form-body {
        padding: 24px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
}