/*
 * Arrivings Custom Design Improvements
 * Created: 2026-02-23
 *
 * Modern enhancements for better UX and visual appeal
 */

/* ========================================
   1. MODERN TYPOGRAPHY & READABILITY
   ======================================== */

body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    line-height: 1.7;
    margin-bottom: 1.5em;
}

/* ========================================
   2. MODERN BUTTONS & CTAs
   ======================================== */

/* Primary Buttons */
.nectar-button,
button[type="submit"],
input[type="submit"],
.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce-page button.button,
.woocommerce-page a.button {
    position: relative;
    display: inline-block;
    padding: 15px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
    border: none !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nectar-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff !important;
}

.nectar-button:active,
button[type="submit"]:active,
input[type="submit"]:active,
.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* Secondary Buttons */
.nectar-button.secondary,
.button.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.nectar-button.secondary:hover,
.button.secondary:hover {
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

/* Outline Buttons */
.nectar-button.outline,
.button.outline {
    background: transparent !important;
    border: 2px solid #667eea !important;
    color: #667eea !important;
    box-shadow: none;
}

.nectar-button.outline:hover,
.button.outline:hover {
    background: #667eea !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ========================================
   3. SEARCH BUTTON (Address Button)
   ======================================== */

.address_button,
.home-search-button,
.search-submit-button {
    position: relative;
    display: inline-block;
    padding: 18px 45px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.address_button:hover,
.home-search-button:hover,
.search-submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.5);
    color: #fff !important;
}

.address_button:active,
.home-search-button:active {
    transform: translateY(-1px) scale(1);
}

/* ========================================
   4. MODERN CARDS & BOXES
   ======================================== */

.nectar-fancy-box,
.wpb_column,
.vc_column_container,
.post-area article,
.woocommerce ul.products li.product {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nectar-fancy-box:hover,
.post-area article:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* ========================================
   5. ENHANCED FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
    padding: 14px 18px !important;
    font-size: 15px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: #667eea !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ========================================
   6. SMOOTH ANIMATIONS
   ======================================== */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ========================================
   7. MODERN SHADOWS & DEPTH
   ======================================== */

.depth-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.depth-2 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.depth-3 {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.depth-4 {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.depth-5 {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* ========================================
   8. ENHANCED HEADER
   ======================================== */

#header-outer {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#header-outer.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   9. IMPROVED FOOTER
   ======================================== */

#footer-outer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
}

#footer-outer a {
    color: #ffffff;
    transition: opacity 0.3s ease;
}

#footer-outer a:hover {
    opacity: 0.8;
    color: #ffffff;
}

/* ========================================
   10. SMOOTH SCROLL BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   11. ENHANCED IMAGES
   ======================================== */

img {
    border-radius: 8px;
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Prevent hover on certain images */
.no-hover-effect img,
.logo img,
.avatar img {
    transform: none !important;
    box-shadow: none !important;
}

/* ========================================
   12. WOOCOMMERCE ENHANCEMENTS
   ======================================== */

.woocommerce ul.products li.product .price {
    font-size: 22px;
    font-weight: 700;
    color: #667eea;
}

.woocommerce .star-rating {
    color: #fbbf24;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 8px 8px 0 0;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
    background: #ffffff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* ========================================
   13. MOBILE RESPONSIVE IMPROVEMENTS
   ======================================== */

@media only screen and (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .nectar-button,
    button[type="submit"],
    input[type="submit"],
    .button {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }

    .address_button,
    .home-search-button {
        padding: 15px 35px !important;
        font-size: 16px !important;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 480px) {

    .nectar-button,
    button[type="submit"],
    .button {
        width: 100%;
        text-align: center;
    }

    .address_button {
        width: 100%;
        padding: 15px 20px !important;
    }
}

/* ========================================
   14. ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Better link contrast */
a {
    color: #667eea;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
}

/* ========================================
   15. LOADING ANIMATIONS
   ======================================== */

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   16. GRADIENT OVERLAYS
   ======================================== */

.gradient-overlay-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-overlay-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-overlay-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-overlay-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ========================================
   17. MODERN BADGES & LABELS
   ======================================== */

.badge,
.label,
.onsale,
.woocommerce span.onsale {
    display: inline-block;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

/* ========================================
   18. ENHANCED TESTIMONIALS
   ======================================== */

.testimonial-slider blockquote,
.testimonial-quote {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    font-style: italic;
}

.testimonial-slider blockquote:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #667eea;
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* ========================================
   19. TRUSTPILOT WIDGET IMPROVEMENTS
   ======================================== */

#trustpilot-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%) !important;
    border-top: 3px solid #00b67a !important;
}

.tp-review-button {
    animation: pulse 3s infinite;
}

/* ========================================
   20. UTILITY CLASSES
   ======================================== */

/* Spacing */
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }

.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }

.pt-10 { padding-top: 10px !important; }
.pt-20 { padding-top: 20px !important; }
.pt-30 { padding-top: 30px !important; }
.pt-40 { padding-top: 40px !important; }
.pt-50 { padding-top: 50px !important; }

.pb-10 { padding-bottom: 10px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pb-30 { padding-bottom: 30px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pb-50 { padding-bottom: 50px !important; }

/* Text Alignment */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

/* Flex utilities */
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }

/* Border Radius */
.rounded-sm { border-radius: 4px !important; }
.rounded { border-radius: 8px !important; }
.rounded-lg { border-radius: 12px !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-full { border-radius: 9999px !important; }

/* Text Transforms */
.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }

/* Font Weights */
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Colors */
.text-primary { color: #667eea !important; }
.text-secondary { color: #764ba2 !important; }
.text-success { color: #43e97b !important; }
.text-danger { color: #f5576c !important; }
.text-warning { color: #fbbf24 !important; }
.text-info { color: #4facfe !important; }

.bg-primary { background-color: #667eea !important; }
.bg-secondary { background-color: #764ba2 !important; }
.bg-success { background-color: #43e97b !important; }
.bg-danger { background-color: #f5576c !important; }
.bg-warning { background-color: #fbbf24 !important; }
.bg-info { background-color: #4facfe !important; }
.bg-light { background-color: #f9fafb !important; }
.bg-dark { background-color: #1f2937 !important; }

/* Opacity */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* ========================================
   21. JAVASCRIPT-ENHANCED ELEMENTS
   ======================================== */

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Custom Tooltip */
.custom-tooltip {
    position: absolute;
    background: #1f2937;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #1f2937;
}

/* Error Field */
.error-field {
    border-color: #f5576c !important;
    box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.1) !important;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 99999;
    transition: width 0.2s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

@media only screen and (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Fade In Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 120px;
}

/* Mobile Menu Enhancement */
body.mobile-menu-open {
    overflow: hidden;
}

/* Parallax Elements */
.parallax-element {
    transition: transform 0.3s ease-out;
}

/* Search Form Focus State */
.search-form.focused {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    border-radius: 8px;
}

/* Product Quick View */
.product-quick-view {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Page Load Animation */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

body.loaded {
    opacity: 1;
}

/* Image Load Effect */
img {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img.loaded {
    opacity: 1;
}

/* ========================================
   22. MODERN COUNTER STYLES
   ======================================== */

.counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.counter-item {
    text-align: center;
    padding: 30px;
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* ========================================
   23. ENHANCED CONTACT FORMS
   ======================================== */

.wpcf7-form,
.contact-form,
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.wpcf7-not-valid-tip {
    color: #f5576c;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-response-output {
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.wpcf7-mail-sent-ok {
    border-color: #43e97b;
    background: rgba(67, 233, 123, 0.1);
    color: #059669;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border-color: #f5576c;
    background: rgba(245, 87, 108, 0.1);
    color: #dc2626;
}

/* ========================================
   24. HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,122.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ========================================
   25. PRICE TABLE ENHANCEMENTS
   ======================================== */

.pricing-table {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-table.featured {
    border: 3px solid #667eea;
}

.pricing-table.featured:before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: #667eea;
    margin: 20px 0;
}

.pricing-price sup {
    font-size: 24px;
    vertical-align: super;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: '✓';
    color: #43e97b;
    font-weight: bold;
    margin-right: 10px;
}

/* ========================================
   26. TEAM MEMBER CARDS
   ======================================== */

.team-member {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #667eea;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-member-role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.team-member-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 50%;
    color: #667eea;
    transition: all 0.3s ease;
}

.team-member-social a:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========================================
   27. FIX BLACK SCREEN / AJAX LOADING
   ======================================== */

/* Override black loading screen */
html,
html:not(.page-trans-loaded),
html.nectar-no-flex-height body,
body {
    background-color: #ffffff !important;
}

/* Force content visibility */
#ajax-content-wrap,
.container-wrap,
.main-content,
body #ajax-content-wrap {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide ajax loading screen */
#ajax-loading-screen {
    display: none !important;
    opacity: 0 !important;
}

/* End of Arrivings Custom CSS */
