:root {
    --brand-primary: #103b66;
    --brand-primary-dark: #091d5a;
    --brand-primary-light: #1c548a;
    --brand-accent: #009fe3;
    --brand-accent-hover: #0084c7;
    --brand-accent-light: #eaf4fb;
    --brand-success: #28a745;
    --brand-dark: #0e1b2a;
    --brand-light: #f4f7fb;
    --brand-gray: #64748b;
    --brand-border: #e2e8f0;
    --brand-white: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(16, 59, 102, 0.08), 0 8px 10px -6px rgba(16, 59, 102, 0.04);
    --card-shadow-hover: 0 20px 30px -10px rgba(0, 159, 227, 0.2), 0 10px 15px -5px rgba(16, 59, 102, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--brand-dark);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--brand-dark);
}

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--brand-accent-hover);
}

/* Top bar */
.ek-topbar {
    background-color: var(--brand-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ek-topbar a {
    color: rgba(255, 255, 255, 0.85);
}

.ek-topbar a:hover {
    color: #ffffff;
}

/* Navbar */
.ek-navbar {
    background-color: #ffffff;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 2px 12px rgba(16, 59, 102, 0.05);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.ek-navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
}

.ek-navbar-brand:hover {
    color: var(--brand-accent);
}

.ek-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.ek-navbar-brand:hover .ek-logo-img {
    transform: scale(1.02);
}

.ek-nav-link {
    color: #475569 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ek-nav-link:hover {
    color: var(--brand-primary) !important;
    background-color: var(--brand-accent-light);
}

.ek-nav-link.active {
    color: var(--brand-primary) !important;
    background-color: var(--brand-accent-light);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--brand-primary-light) !important;
    border-color: var(--brand-primary-light) !important;
    box-shadow: 0 4px 14px rgba(16, 59, 102, 0.25);
    transform: translateY(-1px);
}

.btn-accent {
    background-color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-accent:hover, .btn-accent:focus {
    background-color: var(--brand-accent-hover) !important;
    border-color: var(--brand-accent-hover) !important;
    box-shadow: 0 4px 15px rgba(0, 159, 227, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

.btn-outline-accent {
    color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-accent:hover {
    background-color: var(--brand-accent) !important;
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    position: relative;
    padding: 5rem 0 4.5rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 159, 227, 0.2) 0%, rgba(16, 59, 102, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 159, 227, 0.15) 0%, rgba(16, 59, 102, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Section styling */
.section-padding {
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-accent);
    background-color: var(--brand-accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.max-w-700 {
    max-width: 700px;
}

/* Testimonial & About Cards (High contrast brand colors) */
.about-card,
.testimony-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 59, 102, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-card h4,
.about-card .h4,
.testimony-card h4,
.testimony-card .h4 {
    color: #ffffff !important;
}

.about-card small,
.testimony-card small {
    color: rgba(255, 255, 255, 0.85) !important;
}

.about-card blockquote,
.testimony-card blockquote {
    color: #ffffff !important;
    font-size: 1.05rem;
    line-height: 1.7;
    border-left: 4px solid var(--brand-accent) !important;
    padding-left: 1rem;
    margin: 1.25rem 0;
}

.about-card .fw-bold,
.testimony-card .fw-bold {
    color: #ffffff !important;
}

/* Light Testimonial Cards */
.testimonial-card-light {
    background-color: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-light:hover {
    transform: translateY(-4px);
    border-color: var(--brand-accent);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-card-light .testimony-quote {
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card-light .testimony-author {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.15rem;
}

.testimonial-card-light .testimony-role {
    font-size: 0.8rem;
    color: var(--brand-gray);
}

/* Insurance Products Grid */
.product-card {
    background-color: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(16, 59, 102, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-accent);
    box-shadow: var(--card-shadow-hover);
}

.product-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--brand-accent-light);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon-wrap {
    background-color: var(--brand-accent);
    color: #ffffff;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--brand-dark);
}

.product-desc {
    color: var(--brand-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* Partner Logos Grid */
.partners-section {
    background-color: var(--brand-light);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}

.partner-logo-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.partner-logo-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 20px rgba(0, 159, 227, 0.12);
    transform: translateY(-3px);
}

.partner-logo-card img, .partner-logo-card svg {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.2s ease;
}

.partner-logo-card:hover img, .partner-logo-card:hover svg {
    filter: grayscale(0%);
}

/* Common Form Container */
.quote-form-card {
    background-color: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border: 1.5px solid var(--brand-border);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    color: var(--brand-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.15);
    outline: none;
}

/* Footer (AxionSoft Styled) */
.ek-footer {
    background-color: var(--brand-primary-dark);
    color: #ffffff;
    padding: 4rem 0 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-footer-logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ek-footer-logo {
    height: 38px;
    width: auto;
    background: #ffffff;
    padding: 3px 5px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ek-footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ek-footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.ek-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand-accent);
}

.ek-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ek-footer-links li {
    margin-bottom: 0.65rem;
}

.ek-footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ek-footer-links a:hover {
    color: var(--brand-accent);
    transform: translateX(3px);
}

.ek-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.powered-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.powered-by-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-accent);
    color: #ffffff;
}

.powered-by-badge img {
    height: 20px;
    width: auto;
}

/* Admin Dashboard Styling */
.admin-header {
    background: #ffffff;
    border-bottom: 1px solid var(--brand-border);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(16, 59, 102, 0.04);
    margin-bottom: 1.5rem;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(16, 59, 102, 0.04);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* WYSIWYG Editor Styles */
.wysiwyg-toolbar {
    background: #f8fafc;
    border: 1px solid var(--brand-border);
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wysiwyg-toolbar button {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.85rem;
    color: var(--brand-dark);
    cursor: pointer;
    transition: all 0.15s ease;
}

.wysiwyg-toolbar button:hover {
    background: var(--brand-accent-light);
    border-color: var(--brand-accent);
    color: var(--brand-primary);
}

.wysiwyg-editor {
    border: 1px solid var(--brand-border);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    min-height: 250px;
    padding: 1rem;
    background: #ffffff;
    outline: none;
}

.wysiwyg-editor:focus {
    border-color: var(--brand-accent);
}
