/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                url('https://www.expre.co.uk/wp-content/uploads/2025/06/expre_contact.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(155, 39, 176, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(155, 39, 176, 0.2), rgba(106, 17, 203, 0.2));
    border: 1px solid rgba(155, 39, 176, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #9b27b0;
    font-size: 1rem;
}

/* Main Heading */
.contact-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: none;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, #9b27b0, #6a11cb, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
    border-radius: 2px;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #9b27b0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero CTA Section */
.hero-cta {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-cta-btn.primary {
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(155, 39, 176, 0.4);
}

.hero-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(155, 39, 176, 0.6);
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.hero-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-cta-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: translateX(3px);
}

.hero-cta-btn.secondary:hover i {
    transform: scale(1.1);
}

/* CTA Subtitle */
.cta-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-subtitle i {
    color: #9b27b0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 0 6rem;
        min-height: 80vh;
    }
    
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 39, 176, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(155, 39, 176, 0.15);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info-card p strong {
    color: #1a1a1a;
    font-weight: 600;
}

.contact-info-card a {
    color: #9b27b0;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-form-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(155, 39, 176, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9b27b0;
    background: white;
    box-shadow: 0 0 0 3px rgba(155, 39, 176, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

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

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #9b27b0;
}

.checkbox-label a {
    color: #9b27b0;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button Enhancements */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

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

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

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Form Messages */
#formMessages {
    margin-top: 1.5rem;
}

.success-message,
.error-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation-duration: 0.5s;
}

.success-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.1));
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(185, 28, 28, 0.1));
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.message-text {
    flex: 1;
}

/* Contact Form Sidebar */
.contact-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(155, 39, 176, 0.1);
}

.contact-sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #666;
}

.contact-benefits li i {
    color: #9b27b0;
    font-size: 0.9rem;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(155, 39, 176, 0.1), rgba(106, 17, 203, 0.1));
    border-radius: 8px;
    color: #1a1a1a;
}

.response-time i {
    color: #9b27b0;
}

/* Reviews Card Styling */
.reviews-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid rgba(155, 39, 176, 0.1);
    position: relative;
    overflow: hidden;
}

.reviews-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
}

.reviews-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-card h3::before {
    content: '⭐';
    font-size: 1.2rem;
}

.reviews-widget {
    margin-bottom: 1.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reviews Footer */
.reviews-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.reviews-footer p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.reviews-footer .fas.fa-star {
    color: #ffc107;
    font-size: 1rem;
}

.view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9b27b0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(155, 39, 176, 0.1);
}

.view-all-reviews:hover {
    background: rgba(155, 39, 176, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
    color: #6a11cb;
}

.view-all-reviews i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-all-reviews:hover i {
    transform: translateX(2px);
}

/* Google Reviews Widget Styling */
.grw-widget,
.reviews-widget .grw-reviews-widget {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Fallback styling if widget doesn't load */
.reviews-widget:empty::after {
    content: "⭐⭐⭐⭐⭐\A'Excellent service and results!'\A- Happy Client";
    white-space: pre-line;
    text-align: center;
    color: #666;
    font-style: italic;
    display: block;
    padding: 2rem;
    background: rgba(155, 39, 176, 0.05);
    border-radius: 8px;
    border-left: 4px solid #9b27b0;
}

/* Location & Map Section */
.location-map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.location-content {
    text-align: center;
    margin-bottom: 3rem;
}

.location-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.location-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.office-image-wrapper {
    position: relative;
}

.office-image-placeholder {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.office-image-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(155, 39, 176, 0.15);
}

.office-image-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: left;
}

.image-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.image-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(155, 39, 176, 0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(155, 39, 176, 0.1);
    transition: all 0.3s ease;
}

.location-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(155, 39, 176, 0.15);
}

.location-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.transport-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.transport-item div {
    flex: 1;
}

.transport-item strong {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.transport-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.office-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    color: #1a1a1a;
}

.hours-item .time {
    color: #666;
    font-weight: 500;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #9b27b0, #6a11cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .contact-cta {
        padding: 60px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form-content h2 {
        font-size: 2rem;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Location section responsive */
    .location-map-section {
        padding: 60px 0;
    }
    
    .location-content h2 {
        font-size: 2rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .location-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-detail-card {
        padding: 2rem;
    }
    
    .transport-item {
        gap: 0.75rem;
    }
    
    .transport-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-sidebar-card {
        padding: 1.5rem;
    }
    
    /* Location section mobile */
    .location-content h2 {
        font-size: 1.75rem;
    }
    
    .location-content p {
        font-size: 1.1rem;
    }
    
    .location-detail-card {
        padding: 1.5rem;
    }
    
    .office-image-placeholder img,
    .map-wrapper iframe {
        height: 300px;
    }
    
    .image-overlay {
        padding: 1.5rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    .transport-options {
        gap: 1rem;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
