/**
 * Main stylesheet for Modern Medical Insurance Theme
 */

/* Base styles */
:root {
    --primary: #1e4a73;
    --secondary: #c23e3e;
    --accent: #4a90a4;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
    --red: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--secondary), var(--red));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Header */
header {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 180px;
    height: 80px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    border: 1px dashed #ccc;
    color: #666;
    font-size: 0.8rem;
}

.header-logo .custom-logo {
    width: 100%;
    height: auto;
    max-height: 80px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link.quote {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.coverage-limits {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coverage-limits h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.limits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.limit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.limit-value {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.limit-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary);
}

.content-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-box ul {
    list-style: none;
    padding: 0;
}

.content-box li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Highlights Section */
.highlights {
    background: var(--light);
    padding: 4rem 0;
    margin: 4rem 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.highlight-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Enhancement Section */
.enhancements {
    padding: 4rem 0;
}

.enhancement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.enhancement-item {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.enhancement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.enhancement-item h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.enhancement-value {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Eligible/Ineligible Sections */
.risk-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

.risk-box {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.eligible {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-left: 5px solid #28a745;
}

.ineligible {
    background: linear-gradient(135deg, #ffeaea 0%, #fff0f0 100%);
    border-left: 5px solid var(--red);
}

.risk-box h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.eligible h3 {
    color: #28a745;
}

.ineligible h3 {
    color: var(--red);
}

.risk-list {
    columns: 1;
    column-gap: 2rem;
    list-style-type: none;
}

.risk-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    break-inside: avoid;
    list-style-type: none;
}

.eligible .risk-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #28a745;
}

.ineligible .risk-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--red);
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* WordPress specific styles */
.site-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.content-area {
    width: 70%;
    float: left;
}

.widget-area {
    width: 25%;
    float: right;
}

.post {
    margin-bottom: 4rem;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.entry-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
}

.entry-content {
    margin-bottom: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f1f1f1;
    border-radius: 5px;
}

.widget-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .content-grid,
    .risk-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-area, .widget-area {
        width: 100%;
        float: none;
    }
    
    .widget-area {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .header-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .limits-grid {
        grid-template-columns: 1fr;
    }
}

/* WordPress Core Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.sticky {
    background: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid var(--primary);
}
