/* Apple-inspired design system with primary color theme */
:root {
    --primary-color: #D4A574;
    --primary-dark: #B8945F;
    --primary-light: #E6C396;
    --primary-lighter: #FDF8F3;
    --secondary-color: #C19A6B;
    --accent-color: #34C759;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #C7C7CC;
    --background-primary: #FFFFFF;
    --background-secondary: #F5F5F7;
    --background-tertiary: #F2F2F7;
    --border-light: #E5E5EA;
    --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 30px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 8px 40px rgba(0, 0, 0, 0.16);
    --radius-small: 12px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    font-family: 'iBrand', sans-serif;
}

/* Typography - Apple Style */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: white;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

/* Hero Section - Apple Glass Morphism with Beautiful Pattern */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Common black overlay for all hero sections */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Page-specific backgrounds */
.commercial-insurance-hero {
    background: url('../images/production/commercial_insurance.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.professional-liability-hero {
    background: url('../images/production/professional_liability.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.private-client-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.home-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cyber-liability-hero {
    background: url('../images/production/cyber_liability_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.construction-insurance-hero {
    background: url('../images/production/construction.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.technology-saas-hero {
    background: url('../images/production/technology.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.campground-saas-hero {
    background: url('../images/production/campground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.education-saas-hero {
    background: url('../images/production/education.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.security-saas-hero {
    background: url('../images/production/security.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Additional Insurance Type Backgrounds */
.commercial-general-liability-hero {
    background: url('../images/production/commercial_general_liability.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.errors-omissions-hero {
    background: url('../images/production/error_omission.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.product-liability-hero {
    background: url('../images/production/product_liability.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.directors-officers-hero {
    background: url('../images/production/directors.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.builders-risk-hero {
    background: url('../images/production/builder_risk_new.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contractor-insurance-hero {
    background: url('../images/production/contractors.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.surety-bonds-hero {
    background: url('../images/production/surity_bond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pollution-liability-hero {
    background: url('../images/production/pollution_liability.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.commercial-property-hero {
    background: url('../images/production/commercial_property.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.commercial-auto-fleet-hero {
    background: url('../images/production/commercial_auto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.employee-benefits-hero {
    background: url('../images/production/employee_benefits.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.manufacturing-insurance-hero {
    background: url('../images/production/manufacturing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hospitality-restaurant-hero {
    background: url('../images/production/hospitality_restaurant.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.healthcare-clinics-hero {
    background: url('../images/production/healthcare_clinics.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.snow-removal-contractor-hero {
    background: url('../images/production/snow_removal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.life-sciences-clinics-hero {
    background: url('../images/production/life_science.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.real-estate-property-management-hero {
    background: url('../images/production/real_estate.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.retail-ecommerce-hero {
    background: url('../images/production/retail_commerce.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.nonprofit-charity-hero {
    background: url('../images/production/charity.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cannabis-business-hero {
    background: url('../images/production/cannabis.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.venture-private-equity-hero {
    background: url('../images/production/venture_capital.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.architects-engineers-hero {
    background: url('../images/production/architect.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fintech-hero {
    background: url('../images/production/fintach.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.life-sciences-biotech-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.agribusiness-hero {
    background: url('../images/production/agriculture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.campground-rv-park-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.security-company-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wholesale-distribution-hero {
    background: url('../images/production/wholesale.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.venture-capital-private-equity-hero {
    background: url('../images/banner/general-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.professional-services-hero {
    background: url('../images/production/professional_services.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Subtle pattern overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    background-size: 200px 200px, 300px 300px, 100px 100px, 150px 150px;
    background-position: 0 0, 100px 100px, 50px 50px, 75px 75px;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    animation: patternFloat 20s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes patternFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

@keyframes patternShift {
    0%, 100% {
        transform: translateX(0px) scale(1);
    }
    33% {
        transform: translateX(5px) scale(1.02);
    }
    66% {
        transform: translateX(-3px) scale(0.98);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

/* Floating decorative elements */
.hero-section .floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-section .floating-shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation-delay: 0s;
}

.hero-section .floating-shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.hero-section .floating-shape:nth-child(3) {
    bottom: 30%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation-delay: 4s;
}

.hero-section .floating-shape:nth-child(4) {
    top: 40%;
    right: 30%;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation-delay: 1s;
}

.hero-section .floating-shape:nth-child(5) {
    bottom: 20%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transform: rotate(30deg);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-30px) rotate(2deg);
    }
}

/* Enhanced hero content with glow effect */
.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    color: white;
}

/* Apple-style Glass Button */
.btn-glass-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-glass-primary::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;
}

/* Hover effects removed */

/* Section Blending with Apple Aesthetics */
.section-padding {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-bg-light {
    background: var(--background-secondary);
}

.section-bg-primary {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--background-secondary) 100%);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-tertiary) 100%);
}

/* Apple-style Cards */
.card-apple {
    background: var(--background-primary);
    border-radius: var(--radius-medium);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-apple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

/* Card hover effects removed */

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-soft);
}

/* Social Proof Bar - Apple Style */
.social-proof-bar {
    background: var(--background-primary);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.social-proof-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.social-proof-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.social-proof-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.social-proof-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Feature List - Apple Style */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Feature list hover effects removed */

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .icon {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    margin-right: var(--spacing-sm);
    flex-shrink: 0;
}

/* Comparison Table - Apple Style */
.comparison-table {
    background: var(--background-primary);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--primary-lighter);
    font-weight: 600;
    padding: var(--spacing-md);
    border: none;
    color: var(--text-primary);
}

.comparison-table td {
    padding: var(--spacing-md);
    border: none;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

/* Comparison table hover effects removed */

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Accordion - Apple Style */
.accordion-apple .accordion-item {
    background: var(--background-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-small);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Accordion hover effects removed */

.accordion-apple .accordion-button {
    background: var(--background-primary);
    border: none;
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.accordion-apple .accordion-button:not(.collapsed) {
    background: var(--primary-lighter);
    color: var(--primary-color);
}

.accordion-apple .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.accordion-apple .accordion-body {
    padding: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section - Apple Glass Morphism */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Responsive - Apple Style */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: var(--spacing-xl) 0;
    }
    
    .card-apple {
        margin-bottom: var(--spacing-md);
    }
    
    /* Adjust floating shapes for mobile */
    .hero-section .floating-shape {
        display: none;
    }
    
    .hero-section::before,
    .hero-section::after {
        background-size: 100px 100px, 150px 150px, 50px 50px, 75px 75px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-glass-primary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Additional pattern enhancements */
.hero-section {
    background-attachment: fixed;
}

.hero-section::before {
    background-attachment: fixed;
}

.hero-section::after {
    background-attachment: fixed;
}

/* Enhanced Moving Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Elegant floating dots */
.floating-dot {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 70%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatUpward 8s ease-in-out infinite;
}

.floating-dot:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 15%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.floating-dot:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.floating-dot:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 35%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.floating-dot:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 45%;
    animation-duration: 13s;
    animation-delay: 6s;
}

.floating-dot:nth-child(5) {
    width: 8px;
    height: 8px;
    left: 55%;
    animation-duration: 11s;
    animation-delay: 8s;
}

.floating-dot:nth-child(6) {
    width: 14px;
    height: 14px;
    left: 65%;
    animation-duration: 16s;
    animation-delay: 10s;
}

.floating-dot:nth-child(7) {
    width: 6px;
    height: 6px;
    left: 75%;
    animation-duration: 9s;
    animation-delay: 12s;
}

.floating-dot:nth-child(8) {
    width: 10px;
    height: 10px;
    left: 85%;
    animation-duration: 14s;
    animation-delay: 14s;
}

@keyframes floatUpward {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translateY(80vh) translateX(20px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(20vh) translateX(-20px) scale(1);
    }
    100% {
        transform: translateY(-50px) translateX(0px) scale(0);
        opacity: 0;
    }
}

/* Glowing orbs */
.glow-orb {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

.glow-orb:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.glow-orb:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.glow-orb:nth-child(4) {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.glow-orb:nth-child(5) {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Elegant sparkles */
.elegant-sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: elegantSparkle 3s ease-in-out infinite;
}

.elegant-sparkle:nth-child(1) {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.elegant-sparkle:nth-child(2) {
    top: 45%;
    left: 30%;
    animation-delay: 0.7s;
}

.elegant-sparkle:nth-child(3) {
    top: 65%;
    left: 40%;
    animation-delay: 1.4s;
}

.elegant-sparkle:nth-child(4) {
    top: 35%;
    left: 60%;
    animation-delay: 2.1s;
}

.elegant-sparkle:nth-child(5) {
    top: 55%;
    left: 70%;
    animation-delay: 2.8s;
}

.elegant-sparkle:nth-child(6) {
    top: 75%;
    left: 80%;
    animation-delay: 3.5s;
}

@keyframes elegantSparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

/* Floating geometric shapes */
.geometric-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    animation: geometricFloat 6s ease-in-out infinite;
}

.geometric-shape:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 5%;
    border-radius: 4px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.geometric-shape:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 70%;
    right: 5%;
    border-radius: 50%;
    animation-delay: 3s;
}

.geometric-shape:nth-child(3) {
    width: 25px;
    height: 25px;
    bottom: 25%;
    left: 5%;
    border-radius: 0;
    transform: rotate(30deg);
    animation-delay: 6s;
}

@keyframes geometricFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Responsive particles */
@media (max-width: 768px) {
    .floating-dot,
    .glow-orb,
    .elegant-sparkle,
    .geometric-shape {
        display: none;
    }
}

/* Scroll Progress Bar - Apple Style */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Insurance Products Dropdown Positioning Fixes */
.section-header__main-menu>ul>li.dropdown-center {
    position: relative;
}

.section-header__main-menu>ul>li.dropdown-center>ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0) translateZ(100px);
    min-width: 280px;
    z-index: 9999;
    background: var(--background-primary);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header__main-menu>ul>li.dropdown-center:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1) translateZ(0);
}

/* Responsive dropdown positioning */
@media (max-width: 1400px) {
    .section-header__main-menu>ul>li.dropdown-center>ul {
        left: 0;
        transform: scaleY(0) translateZ(100px);
    }
    .section-header__main-menu>ul>li.dropdown-center:hover>ul {
        transform: scaleY(1) translateZ(0);
    }
}

@media (max-width: 1200px) {
    .section-header__main-menu>ul>li.dropdown-center>ul {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scaleY(0) translateZ(100px);
        max-width: 90vw;
        max-height: 80vh;
        overflow-y: auto;
    }
    .section-header__main-menu>ul>li.dropdown-center:hover>ul {
        transform: translate(-50%, -50%) scaleY(1) translateZ(0);
    }
}

@media (max-width: 768px) {
    .section-header__main-menu>ul>li.dropdown-center>ul {
        width: 95vw;
        max-width: 400px;
        max-height: 70vh;
        border-radius: var(--radius-small);
    }
}

/* Special handling for Insurance Products (first dropdown) */
.section-header__main-menu>ul>li:first-child.dropdown-center>ul,
.section-header__main-menu>ul>li.insurance-products-dropdown>ul {
    left: 0;
    transform: scaleY(0) translateZ(100px);
}

.section-header__main-menu>ul>li:first-child.dropdown-center:hover>ul,
.section-header__main-menu>ul>li.insurance-products-dropdown:hover>ul {
    transform: scaleY(1) translateZ(0);
}

/* Insurance Products dropdown specific styling */
.insurance-products-dropdown>ul {
    min-width: 300px;
    max-width: 350px;
}

.insurance-products-dropdown>ul>li>a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Dropdown menu items styling */
.section-header__main-menu>ul>li.dropdown-center>ul>li {
    padding: 0;
    margin: 0;
}

.section-header__main-menu>ul>li.dropdown-center>ul>li>a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.section-header__main-menu>ul>li.dropdown-center>ul>li>a:hover {
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding-left: 25px;
}

.section-header__main-menu>ul>li.dropdown-center>ul>li:last-child>a {
    border-bottom: none;
}

/* About Us dropdown specific styling */
.about-us-dropdown {
    position: relative;
}

.about-us-dropdown>ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0) translateZ(100px);
    min-width: 200px;
    max-width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    padding: 8px 0;
}

.about-us-dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1) translateZ(0);
}

.about-us-dropdown>ul>li>a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-us-dropdown>ul>li>a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #D4A574;
    padding-left: 25px;
}

.about-us-dropdown>ul>li:last-child>a {
    border-bottom: none;
}

/* Responsive fixes for About Us dropdown */
@media (max-width: 1400px) {
    .about-us-dropdown>ul {
        left: 0;
        transform: scaleY(0) translateZ(100px);
    }
    
    .about-us-dropdown:hover>ul {
        transform: scaleY(1) translateZ(0);
    }
}

@media (max-width: 1199px) {
    .mobilenav-container .about-us-dropdown>ul {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: none;
        overflow: visible;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        margin-top: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .mobilenav-container .about-us-dropdown>ul>li>a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobilenav-container .about-us-dropdown>ul>li:last-child>a {
        border-bottom: none;
    }
}
