/* Critical CSS - Above the fold styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

/* Critical above-the-fold styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Optimized font loading for Islamic/Arabic text */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Scheherazade+New:wght@400;700&display=swap');

:root {
    --primary-color: #00aaff;
    --secondary-color: #ffffff;
    --accent-color: #aa00ff;
    --healing-color: #00ff88;
    --spiritual-gold: #ffd700;
    --background-color: #0a0a14;
    --card-background: rgba(22, 22, 42, 0.7);
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --glow-color: rgba(0, 170, 255, 0.3);
    --healing-glow: rgba(0, 255, 136, 0.3);
    
    /* Responsive font sizes using clamp() */
    --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
    --font-size-base: clamp(1rem, 3vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 4vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 5vw, 2rem);
    --font-size-3xl: clamp(2rem, 6vw, 3rem);
    --font-size-4xl: clamp(2.5rem, 8vw, 4rem);
    --font-size-5xl: clamp(3rem, 10vw, 5rem);
    
    /* Responsive spacing */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 2vw, 1rem);
    --spacing-md: clamp(1rem, 3vw, 2rem);
    --spacing-lg: clamp(1.5rem, 4vw, 3rem);
    --spacing-xl: clamp(2rem, 5vw, 4rem);
    --spacing-2xl: clamp(3rem, 6vw, 6rem);
    
    /* Responsive container widths */
    --container-sm: 100%;
    --container-md: min(100%, 768px);
    --container-lg: min(100%, 1024px);
    --container-xl: min(100%, 1200px);
    --container-2xl: min(100%, 1400px);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--healing-glow);
    outline-offset: 3px;
    border-radius: 6px;
}

.cta-icon-link:focus-visible,
.cta-button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,255,136,0.35);
}

/* RTL adjustments */
[dir="rtl"] .partnership-features,
[dir="rtl"] .skill-tags,
[dir="rtl"] .package-features {
    direction: rtl;
}

[dir="rtl"] .calc-inputs,
[dir="rtl"] .quick-contact-form .form-row,
[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] label,
[dir="rtl"] .result-item {
    text-align: right;
}

[dir="rtl"] .floating-cta-bar {
    right: auto;
    left: 25px;
}

[dir="rtl"] .cta-tooltip {
    right: auto;
    left: 120%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Arabic', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] #about .about-content {
    text-align: right;
}

[dir="rtl"] #invest .investment-content {
    text-align: right;
}

[dir="rtl"] #invest .text-content h2 {
    text-align: right;
}

[dir="rtl"] #insurance .card ul {
    text-align: right;
}

[dir="rtl"] #insurance .card li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] #insurance .card li::before {
    left: auto;
    right: 0;
}

/* Enhanced spiritual canvas background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, rgba(0, 170, 255, 0.1) 30%, rgba(170, 0, 255, 0.1) 60%, rgba(10, 10, 20, 1) 90%);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    z-index: 100;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enhanced logo with spiritual glow */
nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

nav .logo img {
    height: 40px;
    margin-right: 10px;
    filter: drop-shadow(0 0 8px var(--primary-color)) drop-shadow(0 0 15px var(--healing-color));
    transition: filter 0.3s ease;
}

[dir="rtl"] nav .logo img {
    margin-right: 0;
    margin-left: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

nav ul li a:hover, nav ul li a:focus {
    color: var(--primary-color);
}

nav ul li a:hover::after, nav ul li a:focus::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    position: relative;
}

.lang-button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    transition: background-color 0.3s;
    z-index: 10001;
}

.lang-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--card-background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    width: 150px;
    opacity: 0;
    z-index: 10000;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    backdrop-filter: blur(10px);
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.3s;
}

.lang-dropdown li:hover {
    background-color: rgba(0, 170, 255, 0.1);
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

main {
    position: relative;
    z-index: 1;
}

#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

#hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    max-width: 900px;
    text-shadow: 0 0 15px var(--glow-color);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 650px;
}

/* Enhanced CTA button with spiritual elements */
.cta-button {
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--healing-color) 50%, var(--accent-color) 100%);
    background-size: 300% auto;
    color: var(--secondary-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(.77,0,.18,1);
    box-shadow: 
        0 5px 15px rgba(0, 170, 255, 0.3), 
        0 5px 15px rgba(0, 255, 136, 0.3),
        0 5px 15px rgba(170, 0, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::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;
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 15px 35px rgba(0, 170, 255, 0.4), 
        0 15px 35px rgba(0, 255, 136, 0.4),
        0 15px 35px rgba(170, 0, 255, 0.4),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.content-section {
    padding: 6rem 5%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Content sections are visible by default */
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Emergency visibility fix */
.content-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.persianheal-insurance,
.insurance-packages,
.testimonial-section,
.testimonial-cards,
.persianheal-basic,
.persianheal-standard,
.persianheal-premium,
.persianheal-elite,
.doctor-card,
.doctor-cards {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    bottom: -10px;
    left: 20%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Enhanced About Section */
#about .about-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    text-align: left;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 30px var(--glow-color), 0 0 10px var(--accent-color) inset;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

#about .text-content {
    flex: 1;
}

#about .text-content strong a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.3s, border-color 0.3s;
}

#about .text-content strong a:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
}

.credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-background);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.2);
}

.credential-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
}

.intro-text {
    margin-bottom: 2.5rem;
}

.expertise-areas h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 170, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: background-color 0.3s ease;
}

.expertise-item:hover {
    background: rgba(0, 170, 255, 0.15);
}

.expertise-icon {
    font-size: 1.2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Enhanced cards with spiritual aesthetics */
.card {
    background: linear-gradient(135deg, 
        rgba(22, 22, 42, 0.8) 0%, 
        rgba(22, 42, 22, 0.6) 50%, 
        rgba(42, 22, 42, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: perspective(1000px) rotateY(20deg);
    opacity: 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(170, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-15px) perspective(800px) rotateY(0deg) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px var(--healing-glow),
        0 0 20px var(--glow-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(0, 255, 136, 0.3);
}

.card h3 {
    color: var(--healing-color);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    position: relative;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--healing-color), var(--spiritual-gold));
    border-radius: 2px;
}

#insurance .package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

#insurance .card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    min-height: 100px;
    color: var(--text-muted);
}

#insurance .card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

#insurance .card li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

#insurance .cta-button {
    width: 100%;
    display: inline-block;
    padding: 0.8rem 1rem;
}

#invest .investment-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--card-background);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: box-shadow 0.3s;
}

#invest .investment-content:hover {
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.2), 0 0 30px rgba(170, 0, 255, 0.2);
}

#invest .investment-logo {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#invest .text-content {
    flex: 1;
}

#invest .text-content h2 {
    text-align: left;
    margin-bottom: 1rem;
}

#invest .investment-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

#invest .highlight {
    display: flex;
    flex-direction: column;
}

#invest .highlight strong {
    font-size: 2.2rem;
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#invest .highlight span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* PersianHeal Insurance Styles */
.persianheal-insurance {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.05) 0%, 
        rgba(0, 255, 136, 0.05) 50%, 
        rgba(170, 0, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.persianheal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.persianheal-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.persianheal-info h3 {
    color: var(--healing-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.persianheal-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.insurance-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.persianheal-basic,
.persianheal-standard,
.persianheal-premium,
.persianheal-elite {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.persianheal-basic:hover,
.persianheal-standard:hover,
.persianheal-premium:hover,
.persianheal-elite:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.surgery-cost {
    color: var(--healing-color);
    font-weight: 700;
    font-size: 1.2em;
}

.coverage-info {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--healing-color);
}

.coverage-label {
    display: block;
    color: var(--healing-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.coverage-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.persianheal-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.persianheal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    position: relative;
    padding-left: 2rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--healing-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--healing-color);
    margin: 1.5rem 0;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.traditional-insurance {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.traditional-insurance h3 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Doctor Database Styles */
.doctor-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--healing-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.doctor-card {
    background: linear-gradient(135deg, 
        rgba(22, 22, 42, 0.9) 0%, 
        rgba(22, 42, 22, 0.7) 50%, 
        rgba(42, 22, 42, 0.9) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.doctor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.2);
    border-color: var(--healing-color);
}

.doctor-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.doctor-avatar {
    position: relative;
}

.doctor-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--healing-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.certification-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    font-size: 0.8rem;
}

.doctor-info h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    color: var(--healing-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.doctor-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

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

.stat-value {
    display: block;
    color: var(--healing-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-skills {
    margin-bottom: 1.5rem;
}

.doctor-skills h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--healing-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.risk-assessment {
    margin-bottom: 1.5rem;
}

.risk-assessment h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.risk-meter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.risk-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.low-risk {
    background: linear-gradient(90deg, #00ff88, #00ff88);
}

.medium-risk {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
}

.high-risk {
    background: linear-gradient(90deg, #ff4444, #ff0000);
}

.risk-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
}

.doctor-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.doctors-overview {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.05) 0%, 
        rgba(0, 255, 136, 0.05) 50%, 
        rgba(170, 0, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.doctors-overview h3 {
    text-align: center;
    color: var(--healing-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.overview-item {
    text-align: center;
    padding: 2rem 1rem;
}

.overview-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

.overview-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Investment Showcase Styles */
.investment-showcase {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.08) 0%, 
        rgba(0, 255, 136, 0.08) 50%, 
        rgba(170, 0, 255, 0.08) 100%);
    border-radius: 25px;
    border: 2px solid rgba(0, 170, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.investment-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 170, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.investment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.investment-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.investment-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.investment-title-section h3 {
    color: var(--healing-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    line-height: 1.2;
}

.investment-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.investment-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.highlight-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 170, 255, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.highlight-item:hover::before {
    transform: translateX(100%);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.highlight-label {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--healing-color);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.trust-item span:last-child {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.investment-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.investment-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.investment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Interactive World Map */
.investment-map {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 50, 100, 0.9) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 170, 255, 0.3);
}

.world-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><rect width="1000" height="500" fill="%23001122"/><path d="M200,200 Q300,150 400,200 Q500,250 600,200 Q700,150 800,200 L800,300 Q700,350 600,300 Q500,250 400,300 Q300,350 200,300 Z" fill="%23003366" opacity="0.3"/></svg>') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persia-highlight {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.persia-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--healing-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    white-space: nowrap;
}

.persia-pulse {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8) 0%, rgba(0, 255, 136, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: persiaPulse 2s infinite;
    position: relative;
}

.persia-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--healing-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 1);
}

@keyframes persiaPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.map-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.8);
    animation: dotPulse 3s infinite;
}

.dot-1 { top: 20%; left: 15%; animation-delay: 0s; }
.dot-2 { top: 30%; right: 20%; animation-delay: 0.5s; }
.dot-3 { bottom: 25%; left: 25%; animation-delay: 1s; }
.dot-4 { bottom: 35%; right: 15%; animation-delay: 1.5s; }
.dot-5 { top: 60%; left: 70%; animation-delay: 2s; }

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.persia-color {
    background: var(--healing-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.global-color {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.8);
}

/* Service Cards Enhancement */
.service-cards {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-cards .card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-cards .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5));
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.service-features .feature-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--healing-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* Partnership Showcase Styles */
.partnership-showcase {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.05) 0%, 
        rgba(0, 255, 136, 0.05) 50%, 
        rgba(170, 0, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

/* Beautified Partners Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    text-decoration: none;
}

.partner-card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(22,22,42,0.8), rgba(22,42,22,0.6));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35), 0 0 25px rgba(0,255,136,0.2);
    border-color: var(--healing-color);
}

.partner-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.35);
}

.partner-info h4 {
    color: var(--secondary-color);
    margin: 0 0 0.25rem;
}

.partner-info p {
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.partner-link {
    color: var(--healing-color);
    font-weight: 600;
}

@media (max-width: 600px) {
    .partner-card-inner {
        flex-direction: column;
        text-align: center;
    }
}

.partnership-showcase h3 {
    text-align: center;
    color: var(--healing-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.partnership-card {
    background: linear-gradient(135deg, 
        rgba(22, 22, 42, 0.9) 0%, 
        rgba(22, 42, 22, 0.7) 50%, 
        rgba(42, 22, 42, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 170, 255, 0.1) 0%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(170, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.partnership-card:hover::before {
    opacity: 1;
}

.partnership-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 2px solid rgba(0, 255, 136, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.partnership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.partnership-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.partnership-card:hover .partnership-logo {
    transform: scale(1.1);
}

.partnership-header h4 {
    color: var(--healing-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.partnership-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.partnership-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 170, 255, 0.3);
}

.partnership-link {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.partnership-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 170, 255, 0.4);
    background: linear-gradient(45deg, var(--healing-color), var(--primary-color));
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* Enhanced Testimonial Styles */
.testimonials-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#testimonials .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.2);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rating-text {
    color: var(--healing-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-info strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.author-treatment {
    color: var(--healing-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 255, 136, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-top: 0.3rem;
}

/* Testimonial Statistics */
.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, 
        rgba(0, 170, 255, 0.05) 0%, 
        rgba(0, 255, 136, 0.05) 50%, 
        rgba(170, 0, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--healing-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#testimonials .card {
    text-align: left;
}

[dir="rtl"] #testimonials .card {
    text-align: right;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

[dir="rtl"] .testimonial-text {
    padding-left: 0;
    padding-right: 2rem;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
    line-height: 1;
}

[dir="rtl"] .testimonial-text::before {
    left: auto;
    right: 0;
    content: '”';
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: right;
}

[dir="rtl"] .testimonial-author {
    text-align: left;
}

#partnership .partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

#partnership .partner {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#partnership .partner a {
    display: block;
    margin-bottom: 1rem;
}

#partnership .partner-logo {
    max-width: 250px;
    height: 50px;
    object-fit: contain;
    margin-top: 0;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.3));
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#partnership .partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

#partnership .partner p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

#contact {
    padding-bottom: 2rem;
}

#contact p {
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--secondary-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 0 0.25rem;
}

/* Hide native placeholder when floating label is active */
.form-group input:not(:placeholder-shown) {
    padding: 1.5rem 1rem 0.5rem 1rem;
}

.form-group input:not(:placeholder-shown) + label {
    top: 0.5rem;
    left: 0.75rem;
    font-size: 0.8rem;
}

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

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--background-color) inset !important;
    -webkit-text-fill-color: var(--secondary-color) !important;
}

.contact-form .cta-button {
    width: 100%;
    cursor: pointer;
}

/* Enhanced floating CTA bar */
.floating-cta-bar {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(100px) scale(0.5);
    animation: slideUpFadeIn 1s ease-out 1.5s forwards;
}

/* Hard fallback to always show the floating bar if animations fail */
.floating-cta-bar,
.floating-cta-bar .cta-icon-link {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.floating-cta-bar .cta-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(30, 30, 60, 0.8) 0%, 
        rgba(50, 30, 70, 0.8) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50%;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(100px) scale(0.5);
    opacity: 0;
}

.floating-cta-bar .cta-icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.floating-cta-bar .cta-icon-link:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 25px var(--healing-glow),
        0 0 15px var(--spiritual-gold);
}

.floating-cta-bar .cta-icon-link:hover::before {
    opacity: 1;
}

.floating-cta-bar .cta-icon-link svg {
    width: 28px;
    height: 28px;
    fill: var(--secondary-color);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
    z-index: 1;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.floating-cta-bar .cta-icon-link:hover svg {
    transform: scale(1.2) rotate(10deg);
}

/* Tooltip Styles */
.cta-tooltip {
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--card-background);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-icon-link:hover .cta-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

footer {
    padding: 3rem 5%;
    text-align: center;
    background: rgba(10, 10, 20, 0.7);
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.menu-toggle-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.menu-toggle-button span {
    width: 2rem;
    height: 0.25rem;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.menu-toggle-button.open span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle-button.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.menu-toggle-button.open span:nth-child(3) {
    transform: rotate(-45deg);
}

/* RTL Support for new elements */
[dir="rtl"] .profile-section {
    align-items: center;
}

[dir="rtl"] .credential-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .expertise-item {
    flex-direction: row-reverse;
}

/* Add Islamic/Arabic text styling */
.islamic-text {
    font-family: 'Amiri', 'Scheherazade New', 'Noto Nastaliq Urdu', serif;
    font-weight: 700;
    color: var(--healing-color);
    text-shadow: 0 0 15px var(--healing-glow);
    direction: rtl;
    text-align: center;
}

/* Enhanced spiritual elements */
.spiritual-element {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.spiritual-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: spiritualRotate 10s linear infinite;
}

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

/* Mobile responsive for enhanced about section */
@media (max-width: 768px) {
    #about .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-section {
        min-width: auto;
        width: 100%;
    }
    
    .credentials {
        max-width: 400px;
        margin: 2rem auto 0;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    #about .text-content {
        text-align: center;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 2.2rem;
    }

    #invest .investment-content {
        flex-direction: column;
        text-align: center;
    }

    #invest .text-content h2 {
        text-align: center;
    }

    #invest .investment-highlights {
        justify-content: center;
    }

    header {
        padding: 0.8rem 3%;
    }
    
    nav .logo {
        font-size: 1.3rem;
    }
    
    nav .logo img {
        height: 35px;
    }
    
    .content-section {
        padding: 4rem 3%;
    }
    
    .profile-pic {
        width: 200px;
        height: 200px;
    }
    
    #partnership .partner-logos {
        gap: 2rem;
    }
    
    .floating-cta-bar {
        bottom: 15px;
        right: 15px;
        gap: 0.6rem;
    }
    
    .floating-cta-bar .cta-icon-link {
        width: 50px;
        height: 50px;
    }
    
    .floating-cta-bar .cta-icon-link svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 992px) {
    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 105;
        padding-top: 60px; /* Space for header */
    }

    nav ul.open {
        transform: translateX(0);
    }

    nav ul li {
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        animation: navLinkFade 0.5s ease forwards;
    }

    nav ul.open li:nth-child(1) { animation-delay: 0.2s; }
    nav ul.open li:nth-child(2) { animation-delay: 0.3s; }
    nav ul.open li:nth-child(3) { animation-delay: 0.4s; }
    nav ul.open li:nth-child(4) { animation-delay: 0.5s; }
    nav ul.open li:nth-child(5) { animation-delay: 0.6s; }
    nav ul.open li:nth-child(6) { animation-delay: 0.7s; }

    @keyframes navLinkFade {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .menu-toggle-button {
        display: flex;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    #hero p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .content-section {
        padding: 3rem 2%;
    }
    
    .service-cards,
    .package-cards,
    .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    #invest .investment-highlights {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    #partnership .partner-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Partnership showcase mobile styles */
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partnership-card {
        padding: 2rem;
    }
    
    .partnership-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .partnership-logo {
        width: 50px;
        height: 50px;
    }
    
    .partnership-features {
        justify-content: center;
    }
    
    .partnership-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    /* Testimonial mobile styles */
    #testimonials .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    /* PersianHeal Insurance Mobile Styles */
    .persianheal-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .persianheal-logo {
        width: 60px;
        height: 60px;
    }
    
    .insurance-packages {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .persianheal-basic,
    .persianheal-standard,
    .persianheal-premium,
    .persianheal-elite {
        padding: 1.5rem;
    }
    
    /* Doctor Database Mobile Styles */
    .doctor-filters {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .doctor-card {
        padding: 1.5rem;
    }
    
    .doctor-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .doctor-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .doctor-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .overview-number {
        font-size: 2.5rem;
    }
    
    /* Investment Showcase Mobile Styles */
    .investment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .investment-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .investment-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .investment-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .highlight-item {
        padding: 1.5rem 1rem;
    }
    
    .highlight-number {
        font-size: 2.5rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .investment-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .investment-btn,
    .secondary-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .investment-map {
        height: 300px;
        margin-top: 2rem;
    }
    
    .map-container {
        height: 100%;
    }
    
    .persia-pulse {
        width: 40px;
        height: 40px;
    }
    
    .persia-pulse::before {
        width: 15px;
        height: 15px;
    }
    
    .persia-label {
        font-size: 1rem;
        bottom: -30px;
    }
    
    .map-legend {
        bottom: 10px;
        left: 10px;
        padding: 0.8rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    /* Improve touch targets for mobile */
    .cta-button {
        min-height: 48px;
        min-width: 48px;
        padding: 1rem 2rem;
    }
    
    .floating-cta-bar .cta-icon-link {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Better mobile typography */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Improve form usability on mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.2rem;
    }
}

/* Cross-browser compatibility fixes */
.card {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(22, 22, 42, 0.9);
}

@supports not (backdrop-filter: blur(8px)) {
    .card {
        background: rgba(22, 22, 42, 0.95);
    }
}

header {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(10, 10, 20, 0.8);
}

@supports not (backdrop-filter: blur(12px)) {
    header {
        background: rgba(10, 10, 20, 0.9);
    }
}

.floating-cta-bar .cta-icon-link {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: linear-gradient(135deg, 
        rgba(30, 30, 60, 0.9) 0%, 
        rgba(50, 30, 70, 0.9) 100%);
}

@supports not (backdrop-filter: blur(10px)) {
    .floating-cta-bar .cta-icon-link {
        background: linear-gradient(135deg, 
            rgba(30, 30, 60, 0.95) 0%, 
            rgba(50, 30, 70, 0.95) 100%);
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    .content-section {
        transition: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .profile-pic:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    #canvas-container,
    .floating-cta-bar,
    header {
        display: none !important;
    }
    
    .content-section {
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
}

/* Additional accessibility improvements */
@media (prefers-contrast: high) {
    :root {
        --text-color: #ffffff;
        --text-muted: #cccccc;
        --primary-color: #00ccff;
        --healing-color: #00ff99;
    }
    
    .card {
        border: 2px solid var(--primary-color);
    }
}

/* Focus indicators for keyboard navigation */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid var(--primary-color);
    }
    
    .cta-button {
        background: var(--primary-color);
        color: #000000;
        border: 2px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-cta-bar .cta-icon-link {
        animation: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* Doctor Collaboration Form */
.collaboration-form-container {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.05) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.collaboration-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.intelligent-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.intelligent-form .form-group {
    position: relative;
}

.intelligent-form label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.intelligent-form input,
.intelligent-form select,
.intelligent-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.intelligent-form input:focus,
.intelligent-form select:focus,
.intelligent-form textarea:focus {
    outline: none;
    border-color: var(--healing-glow);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.intelligent-form input::placeholder,
.intelligent-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.intelligent-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.intelligent-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.intelligent-form .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--healing-glow), var(--spiritual-gold));
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.intelligent-form .cta-button::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;
}

.intelligent-form .cta-button:hover::before {
    left: 100%;
}

.intelligent-form .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.intelligent-form .cta-button:active {
    transform: translateY(-1px);
}

/* Form validation states */
.intelligent-form input:invalid:not(:placeholder-shown),
.intelligent-form select:invalid:not(:placeholder-shown),
.intelligent-form textarea:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.intelligent-form input:valid:not(:placeholder-shown),
.intelligent-form select:valid:not(:placeholder-shown),
.intelligent-form textarea:valid:not(:placeholder-shown) {
    border-color: var(--healing-glow);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Loading state */
.intelligent-form .cta-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.intelligent-form .cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quote Calculator */
.quote-calculator {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.08) 0%, 
        rgba(255, 215, 0, 0.08) 100%);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.quote-calculator h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-group {
    text-align: left;
}

.calc-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calc-group input,
.calc-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
}

.calc-results {
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

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

.result-label {
    color: var(--secondary-color);
    font-weight: 500;
}

.result-value {
    color: var(--healing-glow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Package Actions */
.package-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.package-actions .cta-button {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Quick Contact Form */
.quick-contact-form {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.05) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.quick-contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quick-contact-form p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.quick-contact-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
}

.quick-contact-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.quick-contact-form .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 150px;
}

/* Mobile responsive for intelligent forms */
@media (max-width: 768px) {
    .collaboration-form-container {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intelligent-form input,
    .intelligent-form select,
    .intelligent-form textarea {
        padding: 1rem;
    }
    
    .intelligent-form .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-actions {
        flex-direction: column;
    }
    
    .quick-contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-form .form-actions {
        flex-direction: column;
        align-items: center;
    }
}