/* Custom Styles for Professional Insurance Homepage */

:root {
    --primary-color: #6366F1;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --dark-bg: #1F2937;
    --light-bg: #F9FAFB;
    --text-dark: #111827;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-2: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-3: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Buttons */
.btn-primary-insurance {
    background: var(--gradient-1);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary-insurance::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-primary-insurance:hover::before {
    left: 100%;
}

.btn-primary-insurance:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-insurance {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-insurance:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 46, 101, 0.7);
    /* Deep Blue with opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    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: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

/* 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: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

/* 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: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 35px 20px;
    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 #764BA2;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-price {
    padding: 50px 20px 30px;
    background: var(--white);
}

.pricing-price h2 {
    font-size: 4rem;
    background: var(--gradient-1);
    -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.8rem;
    position: absolute;
    top: 8px;
    left: -18px;
}

.pricing-features {
    padding: 0 40px 35px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-footer {
    padding: 0 40px 45px;
}

.btn-pricing {
    background: var(--gradient-1);
    color: var(--white);
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 50px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Utilities */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
}

/* Modern Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Enhanced Header Styles */
#in-header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px !important;
}

#in-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

#in-header .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

#in-header .header-cta-btn a:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Service Section Enhancements */
.in-service-item-2 {
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.in-service-item-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.in-service-item-2:hover::before {
    transform: scaleX(1);
}

.in-service-item-2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.in-about-img-2 img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Benefit Section */
.in-benefit-feature-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.in-benefit-feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.in-benefit-feature-item .inner-icon i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}

/* Footer Enhancements */
#in-footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.in-footer-widget h3 {
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.in-footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Button Animations */
.in-btn-2 a {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0px 0px;
    border-radius: 50px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.in-btn-2 a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Section Title Improvements */
.in-section-title-2 .sub-title {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.in-section-title-2 h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* Header Button Color Fix */
#in-header .header-cta-btn a:hover {
    background: #D97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}


/* Mobile Responsive Fixes */
@media (max-width: 991px) {
    /* Hide header button on mobile */
    #in-header .header-cta-btn {
        display: none !important;
    }
    
    /* Fix banner/slider on mobile */
    .in-slider-section-2 {
        min-height: auto !important;
    }
    
    rs-module-wrap, rs-module, rs-slide {
        height: auto !important;
        min-height: 400px !important;
    }
    
    .rev-slidebg {
        height: 400px !important;
        object-fit: cover;
    }
    
    /* Adjust header spacing */
    #in-header {
        padding: 10px 0;
    }
    
    .in-header-main-menu-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    rs-module-wrap, rs-module, rs-slide {
        min-height: 350px !important;
    }
    
    .rev-slidebg {
        height: 350px !important;
    }
}
