/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Matching Figma Design */
    --primary-blue: #1e3a5f;
    --primary-blue-dark: #152a45;
    --primary-blue-light: #2a4d75;
    --nav-blue: #1f4a6b;
    --light-blue: #e8f4f8;
    --white: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --card-border-blue: #3b82f6;
    --red: #ef4444;
    --orange: #f97316;
    --yellow: #eab308;
    --green: #22c55e;
    --purple: #a855f7;
    
    /* Typography */
    --font-arabic: 'Cairo', 'Arial', sans-serif;
    --font-english: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 50%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-arabic);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    direction: rtl;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Header - White Background */
.top-header-white {
    background-color: var(--white);
    padding: 1.25rem 0;
    border-top: 2px solid #e0f2fe;
    position: relative;
}

.top-header-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #0f172a;
}

.header-content-white {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    flex-direction: row-reverse;
}

.logo-section-white {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-main {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.2;
}

.logo-part {
    display: inline-block;
}

.logo-separator {
    color: #1e3a5f;
    font-weight: 400;
    font-size: 28px;
    opacity: 0.6;
    margin: 0 0.25rem;
}

.logo-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    margin: 0;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-link:hover {
    opacity: 0.85;
}

.contact-link:active {
    opacity: 0.75;
    transform: scale(0.98);
}

.contact-link:focus {
    outline: 2px solid #22c55e;
    outline-offset: 4px;
    border-radius: 8px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-text-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.contact-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.profile-image-small {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background-color: #f0f0f0;
    border: 3px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    overflow: hidden;
}

.profile-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-icon-green {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 32px;
    height: 32px;
    background-color: #22c55e;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 3px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: #313541;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin: 0.25rem 0;
}

.help-text {
    font-size: 28px;
    font-weight: 700;
    color: #313541;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin: 0.25rem 0;
}

.contact-name {
    font-size: 20px;
    color: #313541;
    font-weight: 400;
    margin: 0;
    margin-top: 0.25rem;
    padding-right: 0.25rem;
}

/* Hero Section - Dark Blue */
.hero-section-blue {
    background-color: #002144;
    padding: 4rem 0 8rem;
    position: relative;
    height: 415px;
}

.hero-main-title {
    font-family: IBM Plex Sans Arabic;
    font-weight: 600;
    font-size: 45px;
    line-height: 52.57px;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 20px;
}

.workflow-step {
    display: flex;
    gap: 1rem;
    flex: 0 0 auto;
}

.step-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s;
}

.step-icon:hover {
    transform: scale(1.05);
}

.step-content {
    text-align: center;
    color: var(--white);
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.step-subtitle {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.4;
}

.workflow-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: 300;
    margin: 0 0.5rem;
    position: relative;
}

.workflow-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.workflow-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 8px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

/* Search Form Section - Light Background Overlay */
.search-form-section {
    margin-top: -11rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.search-form-container {
    background-color: #f8f9fa;
    border-radius: 16px 16px 0 0;
    padding: 2rem 2.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* Insurance Type Tabs */
.insurance-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.insurance-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-arabic);
    font-size: 24px;
    color: #000000;
    position: relative;
}

.insurance-tab .tab-icon {
    font-size: 20px;
}

.insurance-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.insurance-tab.active .tab-icon {
    color: #2563eb;
}

.insurance-tab:not(.active) .tab-icon {
    color: #9ca3af;
}

/* Search Input Fields */
.search-inputs-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input {
    flex: 1;
    min-width: 150px;
    padding: 0.875rem 1.25rem;
    padding-left: 2.5rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-family: var(--font-arabic);
    font-size: 20px;
    background-color: var(--white);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
}

.search-input[type="text"],
.search-input[type="date"] {
    background-image: none;
    padding-left: 1.25rem;
    cursor: text;
}

.search-input[type="date"] {
    position: relative;
    padding-right: 2.5rem;
}

.search-input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0.75rem;
    cursor: pointer;
    opacity: 0.6;
    width: 20px;
    height: 20px;
}

/* Input field with currency indicator */
.search-input.currency-input {
    position: relative;
}

.search-input.currency-input::after {
    content: 'ج.م';
    position: absolute;
    left: 0.75rem;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    pointer-events: none;
}
.car-value{
    min-width: 107px;
    padding-left: 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background-color: var(--white);
    transition: border-color 0.3s;
    appearance: none;
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
}

.car-value span{
color:#0D75DD;
font-weight: 700;
font-size: 24px;

}

.search-input.currency-input {
    padding-left: 0rem;
    border: none;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Global placeholder color for all inputs */
::-webkit-input-placeholder { color: #000; opacity: 1; }
::-moz-placeholder { color: #000; opacity: 1; }
:-ms-input-placeholder { color: #000; opacity: 1; }
::-ms-input-placeholder { color: #000; opacity: 1; }
::placeholder { color: #000; opacity: 1; }

/* Ensure text entered in inputs, selects and textareas is black */
input,
textarea,
select,
.search-input,
.form-input,
.form-select {
    color: #000;
}

.search-button {
    padding: 0.875rem 2.5rem;
    background-color: #2563eb;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-arabic);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    min-width: 120px;
}

.search-button:hover {
    background-color: #1d4ed8;
}

/* Products Section */
.products-section {
    background-color: #f5f5f5;
    padding: 3rem 0;
}

.products-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
    margin-bottom: 2rem;
    padding-right: 0.5rem;
    transition: all 0.3s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 0.4s ease-in;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
        .car-value{
    width: 100%;
}
.search-input.currency-input {
    width: 80%;
}
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
        .car-value{
    width: 100%;
}
.search-input.currency-input {
    width: 80%;
}
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-section-title {
        font-size: 20px;
    }
    
    .info-buttons {
        flex-direction: column;
    }
    
    .info-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .car-value{
    width: 100%;
}
.search-input.currency-input {
    width: 80%;
}
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-section-title {
        font-size: 18px;
        text-align: center;
    }
    
    .product-name-arabic {
        font-size: 28px;
    }
    
    .product-price-main {
        font-size: 24px;
    }
    
    .monthly-payment {
        flex-direction: column;
        align-items: flex-start;
    }
}

.product-card {
    background-color: var(--white);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    border: 1px solid #eef6ff;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0.25rem;
    align-items: start;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Product Brand */
.product-brand {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative;
}

.product-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-type-name {
     background-color: #FEC536;
    font-family: IBM Plex Sans Arabic;
    font-size: 16px;
    line-height: 1.2;
    text-align: right;
    text-transform: capitalize;
    color: #0A0A0A;
     border-radius: 10px;
    padding: 6px 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    height: 36px;
    box-shadow: 0 2px 6px rgba(14, 22, 36, 0.06);
    z-index: 5;
}

.brand-img {
    width: auto;
    max-height: 72px;
    display: block;
    margin: 0 auto;
}


/* Product Pricing */
.product-pricing {
    margin-bottom: 1rem;
    text-align: center;
}

.product-price-main {
    font-size: 34px;
    font-weight: 800;
    color: #2563eb;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-align: center;
}

.price-tax {
    font-size: 13px;
    color: #60a5fa;
    margin-bottom: 0.75rem;
    font-weight: 400;
    text-align: center;
}

.monthly-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #374151;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.payment-text {
    font-weight: 400;
}

/* Financing Partners */
.financing-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
}

.aman-logo {
    background-color: #14b8a6;
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-arabic);
    min-width: 60px;
}

.valu-logo-item {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.valu-text {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
    text-transform: lowercase;
}

.valu-asterisk {
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
}

.suhoola-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.suhoola-icon {
    width: 32px;
    height: 32px;
    background-color: #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
    font-family: 'Arial', sans-serif;
}

.suhoola-text {
    font-size: 10px;
    color: #6b7280;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* Repair Feature - Car Insurance */
.repair-feature {
    background-color:#495AFF1A;
    color: #1e40af;
    padding: 0.75rem 1rem;
    border: 1px solid #93c5fd;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 0.75rem 0 1rem;
    line-height: 1.4;
    width: 100%;
}

/* Coverage Badge - Medical & Home Insurance */
.coverage-badge {
    background-color:#495AFF1A;
    color: #1e40af;
    padding: 0.75rem 1rem;
    border: 1px solid #93c5fd;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 0.75rem 0 1rem;
    line-height: 1.4;
    width: 100%;
}

/* Hide repair feature for medical and home cards */
.medical-card .repair-feature,
.home-card .repair-feature {
    display: none;
}

/* Ensure coverage badge only shows for medical and home */
.car-card .coverage-badge {
    display: none;
}

/* Info Buttons */
.info-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.info-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background-color: var(--white);
    color: #1e40af;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    font-family: var(--font-arabic);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.info-btn:hover {
    background-color: #f0f9ff;
    border-color: #60a5fa;
}

/* Product Button */
.product-button {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #2563eb;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-arabic);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.product-button:hover {
    background-color: #1d4ed8;
}

.arrow-icon-circle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
}

.view-more-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.view-more-button {
    padding: 0.875rem 2.5rem;
    background-color: #e0f2fe;
    color: #000000;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-arabic);
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-more-button:hover {
    background-color: #bfdbfe;
    border-color: #93c5fd;
}

/* Partners Section */
.partners-section {
   background: #0D75DDB2;
    padding: 1rem 0;
}

.partners-title {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xl);
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.img-partner-logo{
    width: 130px;
    height: 130px;
    border-radius:10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.partner-logo img {
    width: 125px;
    height: 125px;
    object-fit: contain;
   
}

.logo-circle {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.logo-circle:hover {
    transform: scale(1.1);
}

.logo-name {
   font-family: IBM Plex Sans Arabic;
font-weight: 700;
font-size: 20px;
line-height: 100%;
text-align: center;
vertical-align: middle;
color: #FFFFFF;
width: 130px;
}

.partners-subtitle {
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    margin-top: var(--spacing-xl);
}

/* Info Blocks Section */
.info-blocks-section {
    background-color: #fafafa;
    padding: 4rem 0;
}

.info-blocks-title{
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.info-text-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.info-block {
    padding: var(--spacing-md);
}

.info-block img {
    padding-left: 5px;
}
.info-block-title {
    font-size: 20px;
    font-weight: 700;
    color:#0D75DD;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.info-block-text {
    font-size: 18px;
    color:#0A0A0A;
    line-height: 1.6;
}

.info-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.info-image-card {
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.image-placeholder:hover {
    transform: scale(1.02);
}

.image-label {
    background-color: #0D75DD80;
    position: absolute;
    box-shadow: 0 2px 6px rgba(14, 22, 36, 0.06);
    z-index: 5;
    margin-top: -225px;
    margin-right: 15px;
    opacity: 1;
border-radius: 8px;
padding: 10px;
color: #F1F1F1;
font-family: IBM Plex Sans Arabic;
font-weight: 700;
font-size: 24px;
line-height: 100%;
text-align: center;

}

.info-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-description p {
    color: #0A0A0A;
    font-family: IBM Plex Sans Arabic;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-align: justify;
    vertical-align: middle;
}

/* CTA Gradient Section */
.cta-gradient-section {
    /* Background image with 75% semi-transparent overlay color (#0D75DDBF) */
    background-image: linear-gradient(rgba(13,117,221,0.75), rgba(13,117,221,0.75)), url("img/4.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 0;
}

/* Ensure CTA text sits above the overlay */
.cta-gradient-section .cta-content {
    position: relative;
    z-index: 2;
}

.cta-text {
    font-family: IBM Plex Sans Arabic;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
    color: #FEC536;
    margin-bottom: 2rem;
}
 
.cta-subtext{
    font-family: IBM Plex Sans Arabic;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.18;
    text-align: justify;
    color: rgba(255,255,255,0.95);
    max-width: 900px;
    margin: 0 auto;
}

.cta-list {
    list-style-position: inside;
    text-align: right;
    color: rgba(255,255,255,0.95);
    font-size: 20px;
    line-height: 1.8;
}

.cta-list li {
    margin-bottom: 0.75rem;
}

.cta-list strong {
    color: #ffffff;
    font-weight: 700;
}
/* Blog Section */
.blog-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.blog-content {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Left column - compact list */
.blog-side {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.most-read-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: right;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.img-post-item{
     width: 150px;
    height: 150px;
    border-radius:10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}
.post-thumb {
    width: 145px;
    height: 145px;
    object-fit: contain;
}

.post-info {
    text-align: right;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.post-excerpt {
    font-size: 16px;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.post-link {
    font-size: 18px;
    color: #0D75DD;
    text-decoration: none;
}

/* Right column - featured article */
.monitoring-card.featured-article {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.monitoring-hero-image {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    margin-bottom: 1rem;
}

.monitoring-body {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.monitoring-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.line-separator { display:none; }

.monitoring-text {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.monitoring-description {
    color:#000000;
    margin-bottom: 1rem;
}

.monitoring-link {
    display: inline-block;
    background-color: #0D75DD;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .blog-content { grid-template-columns: 1fr; }
    .most-read-title { text-align: center; }
    .post-info { text-align: center; }
    .post-item { justify-content: center; }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.testimonials-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto var(--spacing-md);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 14px;
    font-weight: 600;
    color: #0D75DD;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: var(--border-color);
    cursor: pointer;
}

.indicator.active {
    background-color: var(--card-border-blue);
}

/* About Section */
.about-section {
    background-color: #0D75DD; /* main blue */
    padding: 4rem 0;
    color: var(--white);
}

.about-title {
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    margin-bottom: 0.75rem;
    color: #FEC536; /* yellow accent */
}

.about-content {
    display: grid;
    grid-template-columns: 75% 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 1.75rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(13,117,221,0.12);
}

/* dotted inner frame */
.about-content::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 10px;
    border: 1px dashed rgba(255,255,255,0.18);
    pointer-events: none;
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 10%;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    border: 6px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 34px rgba(13,117,221,0.25);
}

.profile-image img {
    width: 100%;
    height: 100%;
}

.profile-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.05;
    color: #FFFFFF;
    text-align: right;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-title { text-align: center; }
    .profile-image { margin: 0 auto 1rem; }
    .profile-name { text-align: center; font-size: 28px; }
    .about-description { text-align: center; }
}

/* Brand Partners Section */
.brand-partners-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.brand-partners-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    justify-content: center;
    align-items: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 140px;
}

.brand-logo-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 0.75rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.brand-logo-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

@media (max-width: 768px) {
    .brand-logo { width: 110px; }
    .brand-logo-img { width: 100px; height: 100px; padding: 0.6rem; }
}

/* FAQ Section */
.faq-section {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.faq-intro {
    padding: var(--spacing-lg);
}

.faq-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: var(--spacing-md);
}

.faq-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.faq-button {
    background: linear-gradient(90deg,#0D75DD,#0B62C9);
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.faq-box {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }

.accordion-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6edf5;
    transition: transform .25s ease;
}

.accordion-header button {
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-size: 20px;
    color: #0f172a;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
}

.accordion-icon {
    display:inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 8px;
    background: transparent;
    color: #0f172a;
    font-weight: 700;
    text-align:center;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .25s ease;
    padding: 0 1.25rem;
    background: transparent;
}

.accordion-content p { padding: 0.75rem 0; color: #0f172a; line-height:1.6; }

.accordion-item.active {
    background: linear-gradient(180deg,#0D75DD,#0B62C9);
    color: #fff;
}

.accordion-item.active .accordion-header button { color: #fff; }

.accordion-item.active .accordion-icon { transform: rotate(0deg); background: rgba(255,255,255,0.12); color: #fff; }

.accordion-item.active .accordion-content {
    max-height: 400px; /* enough for content */
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .faq-content { grid-template-columns: 1fr; }
    .faq-intro { order: 1; }
    .faq-accordion { order: 2; }
    .faq-title { font-size: 26px; }
}


.faq-button {
    padding: 1rem 2.5rem;
    background-color: #2563eb;
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-arabic);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.faq-button:hover {
    background-color: #2563eb;
}

.faq-box {
    background-color: #2563eb;
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    text-align: center;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.faq-box-text {
    font-size: 16px;
    font-weight: 500;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background-color: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: var(--spacing-sm);
}

.faq-item:hover {
    background-color: var(--light-blue);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #eef4f8; /* light blue */
    color: #0f172a;
    padding: 3.5rem 0 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 35% 1fr 1fr 1fr; /* logos column 35% */
    gap: var(--spacing-lg);
    align-items: start;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-col { padding: 0 1rem; }

.social-title { font-size: 16px; font-weight: 700; margin-bottom: 0.75rem; color: #0f172a; text-align: right; }

.social-icons { display:flex; gap:0.5rem; justify-content:flex-start; }

.social-btn {
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:50%; background:#0f172a; color:#fff; text-decoration:none; font-weight:700;
}

.footer-column-title { font-size: 16px; font-weight: 700; margin-bottom: 0.75rem; color: #0f172a; text-align: right; }

.contact-line { font-size: 15px; color: #0f172a; margin-bottom: 0.45rem; text-align: right; }

.muted { color: rgba(0,0,0,0.45); margin-left: 0.5rem; }

.sitemap-links { list-style:none; padding:0; margin:0; text-align:right; }
.sitemap-links li { margin-bottom:0.5rem; }
.sitemap-links a { color:#0f172a; text-decoration:none; font-size:14px; }
.sitemap-links a:hover { text-decoration:underline; }

.footer-note { font-size: 13px; color:#0f172a; line-height:1.4; text-align:right; margin-bottom:0.75rem; }

.authority-logos { display:flex; gap:0.75rem; justify-content:flex-start; }
.authority-logos img { max-width:100%; height:60px; object-fit:contain; }

.footer-bottom {
    background:#0b0b0b; color:#fff; padding:0.9rem 0;
}

.footer-bottom .copyright { width:100%; max-width:1200px; margin:0 auto; padding:0 1rem; text-align:center; font-size:20px; }
.copyright a{ color:#2563eb; text-decoration:none; font-weight:600; }
/* Desktop spacing adjustment for container inside footer */
.footer .container { padding-top:1rem; }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap:1rem; }
    .authority-logos { justify-content:flex-start; }
    .social-icons { justify-content:flex-start; }
    .footer-note { text-align:left; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-col { padding: 0; }
    .footer-bottom .copyright { text-align:center; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 32px;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .workflow-arrow::before {
        width: 2px;
        height: 30px;
        top: -15px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .workflow-arrow::after {
        top: -15px;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
        border-right: 8px solid rgba(255, 255, 255, 0.3);
        border-top: none;
        border-bottom: none;
    }
    
    .search-inputs-row {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-input.currency-input::after {
        left: 1rem;
    }
    
    .search-button {
        width: 100%;
    }
    
    .insurance-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .blog-content {
        grid-template-columns: 1fr;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content-white {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-main {
        font-size: 26px;
    }
    
    .logo-separator {
        font-size: 22px;
    }
    
    .contact-section {
        width: 100%;
    }
    
    .contact-info {
        width: 100%;
        justify-content: flex-start;
        gap: 1.25rem;
    }
    
    .phone-number {
        font-size: 24px;
    }
    
    .help-text {
        font-size: 15px;
    }
    
    .hero-main-title {
        font-size: 26px;
        padding: 0 1rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .step-title {
        font-size: 14px;
    }
    
    .step-subtitle {
        font-size: 12px;
    }
    
    .search-form-container {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .partners-logos {
        gap: var(--spacing-md);
    }
    
    .info-text-blocks,
    .info-images {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo-main {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .logo-separator {
        font-size: 18px;
    }
    
    .logo-part {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .help-text {
        font-size: 14px;
    }
    
    .contact-name {
        font-size: 11px;
    }
    
    .profile-image-small {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .phone-icon-green {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .hero-main-title {
        font-size: 22px;
    }
    
    .hero-section-blue {
        padding: 3rem 0 6rem;
    }
    
    .search-form-section {
        margin-top: -3rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .insurance-tab {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   BLOG PAGE STYLES
   ================================================ */

.blog-hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #152a45 100%);
    padding: 3rem 0;
    color: white;
}

.blog-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.blog-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.blog-hero-image {
    width: 100%;
    max-width: 1500px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-content-section {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.blog-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #1f2937;
    text-align: justify;
    margin-bottom: 2rem;
}

.blog-text-content p {
    margin-bottom: 1.5rem;
}

.blog-text-content strong {
    font-weight: 600;
    color: #1e3a5f;
}

.blog-cards-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.blog-cards-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: right;
    margin-bottom: 3rem;
    color: #1e3a5f;
}

.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.blog-card-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

.blog-footer-section {
    background-color: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

.blog-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-divider {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.footer-socials a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

/* ================================================
   CAR INSURANCE FORM PAGE STYLES
   ================================================ */

.form-section {
    background-color: #f7f8fb;
    padding: 5rem 0 3rem;
    /* pull card upwards to overlap hero */
    margin-top: -220px;
}

.form-container {
    max-width: 1100px;
    background: white;
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 18px 50px rgba(2,6,23,0.12);
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #0D75DD;
    margin-bottom: 0.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    align-items: start;
}

.card-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insurance-company {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 6px 20px rgba(13, 37, 77, 0.06);
    border: 1px solid #eef6ff;
    text-align: center;
}

.company-badge {
    background: linear-gradient(90deg, #FEC536, #FCA311);
    color: #0b1220;
    font-weight: 800;
    padding: 6px 10px;
    display: inline-block;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 0.75rem;
}

.company-logo img {
    display: block;
    margin: 0 auto 0.5rem auto;
    max-width: 120px;
}

.company-price {
    font-size: 28px;
    color: #0D75DD;
    font-weight: 800;
    margin-top: 0.25rem;
}

.company-price .currency{ font-size: 14px; margin-right: 4px; color:#0D75DD; }

.price-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 0.5rem;
}

.price-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.price-actions .info-btn {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.price-actions .info-btn-info { background:#f0f9ff; border-color:#93c5fd }

.price-actions .info-btn-active {
    background:#2563eb; color: #fff; border-color: #2563eb;
}

.company-details.compact {
    background: transparent;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
}

.company-details .detail-row { justify-content: space-between; padding: 0.4rem 0 }

/* Right column / form */
.card-right { background: #ffffff; padding: 1rem; border-radius: 10px; border: 1px solid #eef6ff; box-shadow: 0 6px 20px rgba(13, 37, 77, 0.04); }

.form-group { margin-bottom: 1rem; }

.form-label { display: block; font-weight: 700; color: #0A0A0A; margin-bottom: 0.5rem; font-size: 14px; }

.form-input, .form-select { width: 100%; padding: 0.8rem; border: 1px solid #e6edf6; border-radius: 10px; font-size: 15px; }

.payment-toggle { display:flex; gap:0.5rem; }
.pay-btn { flex:1; padding: 0.7rem; border-radius: 8px; border:1px solid #d1d5db; background: #fff; cursor:pointer; font-weight:600 }
.pay-btn.active { background: #fff; border-color: #0D75DD; box-shadow: 0 6px 18px rgba(13,117,221,0.08); color:#0D75DD }

.payment-methods { display:flex; gap:0.8rem; align-items:center; }
.pay-method { display:flex; gap:0.5rem; align-items:center; border:1px solid #e5e7eb; padding:0.4rem 0.6rem; border-radius:8px; cursor:pointer }
.pay-method img { height:28px; display:block }
.pay-method input[type="radio"]{ display:none }
.pay-method span{ font-weight:600; color:#0A0A0A }

.documents-section { margin-top: 1.25rem; border-top: none; padding-top: 0 }
.documents-title { font-weight:700; color:#0A0A0A; margin-bottom:0.5rem; font-size:14px }
.documents-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; }

.upload-box { display:block; cursor:pointer; }
.upload-placeholder { height:84px; border:2px dashed #e6eef9; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-direction:column; background:#fbfdff }
.upload-placeholder .upload-text { font-size:12px; color:#6b7280; margin-top:6px }

.button-group { display:flex; gap:0.75rem; margin-top:1.25rem }
.btn-submit { background:#0D75DD; color:#fff; padding:0.9rem 1.25rem; border-radius:8px; font-weight:700; flex:1 }
.btn-cancel { background:#fff; border:1px solid #c8d5ee; color:#0A0A0A; padding:0.9rem 1.25rem; border-radius:8px; font-weight:700; flex:1 }

/* Responsive adjustments */
@media (max-width: 900px) {
    .card-grid { grid-template-columns: 1fr; }
    .form-section { margin-top: -80px; padding: 2rem 0 3rem; }
    .company-logo img { max-width:100px }
}


.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.document-item:hover {
    background-color: #f3f4f6;
}

.document-icon {
    font-size: 2rem;
}

.document-name {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

.company-details {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    color: #1f2937;
    font-weight: 600;
}

.insurance-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.option-tag {
    background-color: white;
    border: 1px solid #d1d5db;
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ================================================
   CONTACT PAGE STYLES
   ================================================ */

.contact-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #152a45 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.contact-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.contact-form-section {
    background-color: #f9fafb;
    padding: 3rem 0;
    min-height: 80vh;
}

.contact-form-container {
    max-width: 600px;
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.contact-form-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-section .form-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-form-section .form-label .required {
    color: #ef4444;
}

.contact-form-section .form-input,
.contact-form-section .form-select,
.contact-form-section textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: var(--font-arabic);
    transition: border-color 0.3s ease;
}

.contact-form-section .form-input:focus,
.contact-form-section .form-select:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form-section textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact form placeholders: set to grey for this page */
.contact-form-section .form-input::-webkit-input-placeholder,
.contact-form-section textarea::-webkit-input-placeholder { color: #9ca3af; opacity: 1; }
.contact-form-section .form-input::-moz-placeholder,
.contact-form-section textarea::-moz-placeholder { color: #9ca3af; opacity: 1; }
.contact-form-section .form-input:-ms-input-placeholder,
.contact-form-section textarea:-ms-input-placeholder { color: #9ca3af; opacity: 1; }
.contact-form-section .form-input::-ms-input-placeholder,
.contact-form-section textarea::-ms-input-placeholder { color: #9ca3af; opacity: 1; }
.contact-form-section .form-input::placeholder,
.contact-form-section textarea::placeholder { color: #9ca3af; opacity: 1; }

.contact-btn {
    width: 100%;
    padding: 0.875rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-arabic);
    margin-top: 1rem;
}

.contact-btn:hover {
    background-color: #1d4ed8;
}

/* ================================================
   FAQ PAGE STYLES
   ================================================ */

.faq-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #152a45 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.faq-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.faq-section {
    padding: 3rem 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    background-color: #2563eb;
    border-color: #2563eb;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    font-family: var(--font-arabic);
    text-align: right;
}

.accordion-item.active .accordion-header {
    background-color: #2563eb;
    color: white;
}

.accordion-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.accordion-item.active .accordion-title {
    color: white;
}

.accordion-icon {
    font-size: 1.5rem;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    color: white;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #2563eb;
    color: white;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ================================================
   HOME INSURANCE FORM PAGE STYLES
   ================================================ */

.home-insurance-form-section {
    background-color: #f9fafb;
    padding: 3rem 0;
    min-height: 100vh;
}

/* Uses same form styles as car insurance */

/* ================================================
   MEDICAL INSURANCE FORM PAGE STYLES
   ================================================ */

.medical-insurance-form-section {
    background-color: #f9fafb;
    padding: 3rem 0;
    min-height: 100vh;
}

/* Uses same form styles as car insurance */

/* ================================================
   RESPONSIVE DESIGN FOR FORMS AND PAGES
   ================================================ */

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 1.8rem;
    }

    .blog-cards-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-form-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .faq-hero-title {
        font-size: 1.8rem;
    }

    .faq-container {
        padding: 1rem;
    }

    .accordion-header {
        padding: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .blog-footer-content {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.5rem;
    }

    .blog-cards-title {
        font-size: 1.3rem;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .contact-hero-title {
        font-size: 1.5rem;
    }

    .faq-hero-title {
        font-size: 1.5rem;
    }

    .form-container,
    .contact-form-container {
        padding: 1rem;
        margin: 0.5rem;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
    }

    .accordion-title {
        font-size: 0.9rem;
    }
}

/* Medical insurance page styles */
.medical-page {
    padding: 3.5rem 0 2rem;
    position: relative;
}
/* make hero deeper so card can overlap */
.hero-section-blue {
    padding: 0.5rem 0 7rem;
}

/* Centered white card overlapping hero */
.medical-layout-wrapper {
    max-width: 980px;
    margin: -110px auto 0;
    background: var(--white);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
    border: 1px solid rgba(13, 23, 54, 0.06);
}

.medical-layout {
    display: grid;
    grid-template-columns: 65% 1fr;
    gap: 2rem;
    align-items: start;
}
.plan-card {
    background: transparent;
    border-radius: 8px;
    padding: 0;
}
.plan-badge{
    background:#FFD966;
    color:#7a4f00;
    display:inline-block;
    padding:5px 10px;
    border-radius:10px;
    font-weight:700;
    margin-bottom:10px;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.03);
}
.plan-logo img{width:72px;height:auto;margin-bottom:8px}
.plan-name{font-size:1.25rem;margin:0 0 .25rem;font-weight:700}
.plan-price{font-size:1.8rem;color:#2563eb;font-weight:800}
.plan-sub{color:#6b7280;margin-top:6px}
.plan-actions{display:flex;gap:.5rem;margin:12px 0;flex-wrap:wrap}
.small-btn{background:#fff;border:1px solid #e6eefc;color:#2563eb;padding:.45rem .7rem;border-radius:8px;cursor:pointer;font-weight:600}
.plan-details{margin:12px 0;padding-left:0;list-style:none;color:#374151}
.plan-details li{padding:.5rem 0;border-top:1px dashed #eef2f7}
.plan-meta{margin-top:12px;color:#374151}
.plan-meta div{display:flex;justify-content:space-between;padding:.35rem 0}
.page-title{font-size:1.5rem;margin-bottom:1rem;text-align:center}
.medical-right{font-size:1rem;margin-bottom:1rem;text-align:right}
.medical-form{background:transparent;padding:0;border-radius:0}
.medical-form-inner{background:var(--white);padding:1.25rem;border-radius:12px;box-shadow:0 6px 18px rgba(6,10,20,0.04);border:1px solid rgba(13,23,54,0.03)}
.grid-2{display: flex;
    gap: 1rem;
    flex-direction: column;}
.form-group{margin-bottom:1rem}
.form-group label{display:block;margin-bottom:.5rem;color:#374151;font-weight:700}
.form-input{width:100%;padding:.75rem;border:1px solid #e6eef0;border-radius:8px;background:#fff;color:#111}
.form-input::placeholder{color:#9ca3af}
.tabs{display:flex;gap:.5rem;margin-top:.5rem}
.tab{width: 50%;padding:.6rem 1rem;border:1px solid #e6eefc;border-radius:8px;background:#fff;cursor:pointer;font-weight:700}
.tab.active{background:#eff6ff;border-color:#2563eb;color:#2563eb}
.installment-providers{display:flex;gap:1rem;margin-top:.75rem}
.provider{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem;border:1px solid #eef6ff;border-radius:8px;background:#fff}
.provider input{margin-left:6px}
.upload-area{margin-top:.5rem;border:1px dashed #d1d5db;padding:0.75rem;border-radius:8px;display:flex;gap:1rem;align-items:center}
.file-label{cursor:pointer;color:#2563eb;font-weight:700}
.preview img{max-width:160px;border-radius:8px;margin-right:.5rem;border:1px solid rgba(0,0,0,0.06)}
.actions-row{display:flex;gap:1rem;justify-content:flex-start;margin-top:1rem}
.btn-primary{background:#0d4ecf;color:#fff;padding:.75rem 1.25rem;border-radius:8px;border:none;cursor:pointer;box-shadow:0 6px 18px rgba(13,67,161,0.12)}
.btn-outline{background:#fff;border:1px solid #d1d5db;padding:.75rem 1.25rem;border-radius:8px;cursor:pointer}

@media (max-width:1000px){
    .medical-layout{grid-template-columns:1fr;}
    .grid-2{grid-template-columns:1fr}
    .medical-layout-wrapper{margin-top:-80px;padding:1rem}
}

/* Floating contact actions */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
}

.floating-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  font-size:22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform .15s ease, box-shadow .15s;
  background: #fff;
}

.floating-btn.whatsapp { background: #25D366; }
.floating-btn.call { background: #1d4ed8; }

.floating-btn:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.18); }

@media (max-width:600px) {
  .floating-actions { right: 14px; bottom: 70px; }
  .floating-btn { width:36px; height:36px; }
}

/* Logo link */
.logo-section-white .logo-link { display:inline-block; }
.logo-section-white .logo-link img { display:block; max-height:72px; height:auto; }
.logo-section-white .logo-link:focus { outline: 3px solid rgba(37,211,102,0.25); outline-offset:3px; border-radius:6px; }
