/* Custom Styles for Professional Insurance Homepage */

:root {
    --primary-purple: #6B46C1;
    --accent-teal: #14B8A6;
    --light-purple: #9F7AEA;
    --soft-gray: #F7FAFC;
    --text-dark: #1A202C;
    --text-muted: #718096;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
    transition: var(--transition);
}

.nav-link {
    font-weight: 600;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-teal) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary-insurance {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.4);
    transition: var(--transition);
}

.btn-primary-insurance:hover {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0D9488 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.5);
}

.btn-outline-insurance {
    border: 3px solid var(--accent-teal);
    color: var(--primary-purple);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-insurance:hover {
    background: var(--accent-teal);
    color: var(--white);
    border-color: var(--accent-teal);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 50%, var(--accent-teal) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.8) 0%, rgba(20, 184, 166, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.15);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-teal) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border: 2px solid var(--accent-teal);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 50px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* About Us */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Bar */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-teal) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-bar::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* FAQs */
.faq-section {
    padding: 100px 0;
    background: var(--soft-gray);
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Form Section */
.form-section {
    padding: 100px 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer-dark {
    background: #051630;
    color: #CBD5E0;
    padding: 80px 0 20px;
}

.footer-link {
    color: #CBD5E0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Pricing Section */
.pricing-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(107, 70, 193, 0.2);
    transition: var(--transition);
    text-align: center;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(20, 184, 166, 0.3);
    border: 3px solid var(--accent-teal);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    padding: 35px 25px;
    position: relative;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--light-purple);
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.pricing-price {
    padding: 40px 20px;
    background: var(--white);
}

.pricing-price h2 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.pricing-price h2 span {
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    left: -15px;
}

.pricing-features {
    padding: 0 40px 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
    color: var(--text-muted);
}

.pricing-footer {
    padding: 0 40px 40px;
}

.btn-pricing {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0D9488 100%);
    color: var(--white);
    font-weight: 700;
    padding: 15px;
    border-radius: 50px;
    display: block;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
    transition: var(--transition);
}

.btn-pricing:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(107, 70, 193, 0.4);
}

/* Utilities */
.section-title {
    font-size: 3rem;
    margin-bottom: 35px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--accent-teal);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50px;
    border: 2px solid var(--accent-teal);
}