/* Business Card CSS - Clean, Professional, Mobile-First Design */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Hero Section - Sophisticated Design */
.hero-section {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Add sophisticated overlay pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px;
    pointer-events: none;
    z-index: 1;
}

/* Ensure content is above pattern */
.hero-section > * {
    position: relative;
    z-index: 2;
}

/* Personal Photo - Elegant Design */
.personal-photo {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.personal-photo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    z-index: 1;
}

.personal-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(var(--primary-rgb), 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.personal-photo:hover img {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(var(--primary-rgb), 0.3);
}

/* Agent Info - Sophisticated Typography */
.agent-info {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-align: center;
}

.agent-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0.75rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-title {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-block;
}

/* Quick Contact Icons - Glass Morphism Design */
.quick-contact-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
    max-width: 100%;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.contact-icon:hover::before {
    left: 100%;
}

.contact-icon:hover,
.contact-icon:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Save Contact Section - Premium Design */
.save-contact-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.save-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.save-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transition: left 0.5s ease;
}

.save-contact-btn:hover::before {
    left: 100%;
}

.save-contact-btn:hover,
.save-contact-btn:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 6px 16px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
}

.save-contact-btn svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(var(--primary-rgb), 0.2));
}

/* PWA Install Button - Match save-contact-btn exactly */
.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-top: 1rem;
    /* Reset all button defaults to match anchor tag */
    font-family: inherit;
    line-height: 1;
    letter-spacing: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    min-width: 0;
    box-sizing: border-box;
}

.pwa-install-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transition: left 0.5s ease;
}

.pwa-install-btn:hover::before {
    left: 100%;
}

.pwa-install-btn:hover,
.pwa-install-btn:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 6px 16px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
}

.pwa-install-btn svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(var(--primary-rgb), 0.2));
}

/* Main Content Sections - Alternating Backgrounds */

/* Light sections (Pattern 1) */
.social-section {
    background: var(--mixed-light);
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.social-section > * {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.working-hours-section {
    background: var(--mixed-light);
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.working-hours-section > * {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Medium sections (Pattern 2) */
.calendly-section {
    background: var(--mixed-medium);
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.calendly-section > * {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.gallery-section {
    background: var(--mixed-medium);
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.gallery-section > * {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Dark sections (Pattern 3) */
.faq-section {
    background: var(--mixed-dark);
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.faq-section > * {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Legacy support for sections that don't exist */
.bio-section,
.insurance-companies-section {
    /* Already styled above */
}

/* Section Titles - Consistent Gradient Styling */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: hidden;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover,
.social-icon:focus {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

/* Insurance Companies Section - Medium Background (Pattern 2) */
.insurance-companies-section {
    background: var(--mixed-medium);
    position: relative;
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.insurance-companies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--secondary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.insurance-companies-section > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.insurance-companies-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.02em;
    z-index: 2;
    text-align: center;
}

.insurance-companies-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-items: center;
    padding: 1rem 0;
}

.insurance-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 120px;
    min-height: 120px;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.insurance-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.05) 0%, 
        rgba(var(--secondary-rgb), 0.03) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.insurance-logo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.insurance-logo-item:hover::before {
    opacity: 1;
}

.insurance-logo {
    max-width: 90px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1) brightness(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.insurance-logo-item:hover .insurance-logo {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.08);
}

/* FAQ Section - Enhanced Design */
.faq-items {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(var(--primary-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: rgba(var(--secondary-rgb), 0.08);
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--secondary-rgb), 0.12);
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(var(--secondary-rgb), 0.12);
}

.faq-question:hover::before {
    opacity: 1;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.faq-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.4);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 2rem;
    color: #2d3748;
    line-height: 1.7;
    font-size: 1.05rem;
    background: rgba(var(--secondary-rgb), 0.04);
}

.faq-answer-content p {
    margin: 0 0 1rem 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong,
.faq-answer-content b {
    color: #374151;
    font-weight: 600;
}

.faq-answer-content em,
.faq-answer-content i {
    font-style: italic;
}

.faq-answer-content ul,
.faq-answer-content ol {
    padding-right: 1.5rem;
    margin: 1rem 0;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.gallery-modal-info {
    text-align: center;
    color: white;
    margin-top: 1rem;
    max-width: 600px;
}

.gallery-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.gallery-modal-description {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    transition: background 0.3s ease;
}

.gallery-close:hover {
    background: rgba(0,0,0,0.7);
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

/* Mobile optimizations for gallery */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .gallery-modal-content {
        padding: 1rem;
        height: 95%;
    }
    
    .gallery-modal-image {
        max-height: 60%;
    }
    
    .gallery-close {
        top: 0.5rem;
        left: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Working Hours */
.working-hours-grid {
    display: grid;
    gap: 0.75rem;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.day-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.hours {
    font-size: 0.875rem;
    color: #64748b;
}

.hours .closed {
    color: #dc2626;
    font-weight: 500;
}

/* Bio Section - Light Background (Pattern 1) */
.bio-section {
    background: var(--mixed-light);
    position: relative;
    padding: 4rem 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(var(--secondary-rgb), 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.bio-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.02em;
    z-index: 2;
}

.bio-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.bio-section > * {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.bio-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(var(--primary-rgb), 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Enhanced Trix Content Styling */
.bio-text div {
    margin-bottom: 1.25rem;
}

.bio-text div:last-child {
    margin-bottom: 0;
}

.bio-text blockquote {
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.08) 0%, 
        rgba(var(--secondary-rgb), 0.05) 100%);
    border-right: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 16px;
    font-style: italic;
    position: relative;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.1);
}

.bio-text blockquote::before {
    content: '"';
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    opacity: 0.4;
    font-weight: bold;
}

.bio-text br {
    line-height: 2.2;
}

.bio-text strong,
.bio-text b {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio-text em,
.bio-text i {
    font-style: italic;
    color: var(--primary-color);
}

.bio-text ul,
.bio-text ol {
    text-align: right;
    padding-right: 2rem;
    margin: 1.5rem 0;
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.bio-text li {
    margin-bottom: 0.75rem;
    position: relative;
}

.bio-text li::before {
    content: '●';
    color: var(--primary-color);
    position: absolute;
    right: -1rem;
    font-weight: bold;
}

.bio-text p {
    margin-bottom: 1rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Calendly Section */
.calendly-content {
    text-align: center;
}

.calendly-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.calendly-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #5B67AF 0%, #838DC6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(91, 103, 175, 0.3);
    border: none;
    cursor: pointer;
}

.calendly-btn:hover,
.calendly-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 103, 175, 0.4);
    background: linear-gradient(135deg, #4f5ba8 0%, #7284c1 100%);
}

.calendly-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Share Section */
.footer-share-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
    position: relative;
    z-index: 2;
}

.footer-share-title {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.footer-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-share-btn:hover::before {
    left: 100%;
}

.footer-share-btn.whatsapp {
    background: rgba(37, 211, 102, 0.9);
    color: white;
    border-color: rgba(37, 211, 102, 0.3);
}

.footer-share-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 1);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.footer-share-btn.email {
    background: rgba(79, 70, 229, 0.9);
    color: white;
    border-color: rgba(79, 70, 229, 0.3);
}

.footer-share-btn.email:hover {
    background: rgba(79, 70, 229, 1);
    border-color: rgba(79, 70, 229, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.footer-share-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* JAM Footer Section */
.jam-footer {
    padding: 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--mixed-light));
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
}

.jam-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(var(--secondary-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.jam-footer-content {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.jam-footer-text p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    font-weight: 500;
}

.jam-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.jam-logo {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
    vertical-align: middle;
    margin: 0 0.25rem;
}

.jam-logo-link {
    display: inline;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jam-logo-link:hover .jam-logo {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.jam-details-link {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #5B67AF, #838DC6);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 
        0 4px 16px rgba(91, 103, 175, 0.3),
        0 2px 8px rgba(131, 141, 198, 0.2);
}

.jam-details-link:hover {
    background: linear-gradient(135deg, #4f5ba8, #7284c1);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(91, 103, 175, 0.4),
        0 4px 16px rgba(131, 141, 198, 0.3);
}

/* Social Platform Specific Colors */
.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.linkedin {
    background: #0077b5;
    color: white;
}

.social-icon.twitter {
    background: #1da1f2;
    color: white;
}

.social-icon.youtube {
    background: #ff0000;
    color: white;
}

.social-icon:not(.facebook):not(.instagram):not(.linkedin):not(.twitter):not(.youtube) {
    background: #5B67AF;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    /* Insurance Companies Mobile */
    .insurance-companies-section {
        padding: 3rem 1rem !important;
    }
    
    .insurance-companies-section > * {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .insurance-companies-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .insurance-logos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .insurance-logo-item {
        padding: 1.25rem;
        height: 100px;
        min-height: 100px;
        border-radius: 16px;
    }
    
    .insurance-logo {
        max-width: 70px;
        max-height: 40px;
    }
    
    /* Bio Section Mobile */
    .bio-section {
        padding: 3rem 1rem !important;
    }
    
    .bio-section > * {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .bio-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .bio-text {
        font-size: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .bio-text blockquote {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .bio-text blockquote::before {
        font-size: 2.5rem;
        top: -0.5rem;
        right: 0.75rem;
    }
    
    .bio-text ul,
    .bio-text ol {
        padding: 1.25rem 1.5rem;
        border-radius: 8px;
    }
    
    /* Footer Share Mobile */
    .footer-share-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-share-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-share-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    /* JAM Footer Mobile */
    .jam-footer {
        padding: 1.5rem 1rem;
    }
    
    .jam-footer-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .jam-footer-link {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .jam-logo {
        height: 28px;
    }
    
    .jam-details-link {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
}

@media (min-width: 480px) {
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .personal-photo img {
        width: 200px;
        height: 200px;
    }
    
    .agent-name {
        font-size: 2.5rem;
    }
    
    .quick-contact-icons {
        gap: 1.5rem;
    }
    
    .contact-icon {
        width: 64px;
        height: 64px;
    }
    
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (min-width: 768px) {
    .social-icons {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 64px;
        height: 64px;
    }
    
    .social-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .social-section,
    .working-hours-section,
    .bio-section,
    .calendly-section,
    .insurance-companies-section,
    .faq-section,
    .gallery-section {
        padding: 3rem 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .working-hours-grid {
        gap: 1rem;
    }
    
    .working-hours-item {
        padding: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        background-attachment: fixed;
    }
    
    .social-section,
    .working-hours-section,
    .bio-section,
    .calendly-section,
    .insurance-companies-section,
    .faq-section,
    .gallery-section {
        max-width: 800px;
    }
    
    .social-icons {
        gap: 2rem;
    }
}

/* Print Styles */
@media print {
    .hero-section {
        background: #5B67AF !important;
        color: white;
        min-height: auto;
        padding: 2rem;
    }
    
    .save-contact-btn,
    .pwa-install-btn {
        display: none;
    }
    
    .social-icon:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .social-icon,
    .working-hours-item {
        border: 2px solid #374151;
    }
    
    .social-icon {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
} 