/* ====================================
   EVCIL PLATFORM - MODERN DESIGN
   Primary Color: #D97642
   Font: Inter
   ==================================== */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #D97642;
    --primary-dark: #C5663A;
    --primary-light: #E89366;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --warning-color: #FFA726;
    --danger-color: #EF5350;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === PREVENT HORIZONTAL OVERFLOW (WebView uyumluluğu) === */
html {
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* === WEBVIEW ZOOM PREVENTION === */
html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

/* Prevent double-tap zoom */
button, a, input, select, textarea {
    touch-action: manipulation;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* === CONTAINER === */
.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.modern-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.modern-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap;
    min-width: 0;
}

.modern-logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.modern-logo {
    flex-shrink: 0;
}

.modern-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modern-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.modern-nav a:hover {
    color: var(--primary-color);
}

.modern-btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.modern-btn-primary:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === NAVIGATION ACTIONS === */
.modern-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.modern-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.modern-nav-icon:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.modern-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Mobile-only links: hidden on desktop */
.mobile-only-links {
    display: none;
}

@media (max-width: 992px) {
    .modern-nav {
        display: none;
    }

    .modern-mobile-toggle {
        display: block;
    }

    .modern-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        padding: 1rem;
        gap: 0;
        z-index: 1000;
    }

    .modern-nav.active > a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--bg-light);
        font-size: 1rem;
    }

    .modern-nav.active .mobile-only-links {
        display: flex;
        flex-direction: column;
        border-top: 2px solid var(--primary-color);
        margin-top: 4px;
        padding-top: 4px;
    }

    .mobile-only-links a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--bg-light);
        font-size: 1rem;
        color: var(--text-dark);
        font-weight: 500;
    }

    .mobile-only-links a i {
        width: 24px;
        text-align: center;
        margin-right: 8px;
    }

    .modern-header-content {
        padding: 0 12px;
    }

    .modern-btn-primary {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .modern-nav-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modern-header-content {
        padding: 0 8px;
    }

    .modern-header {
        padding: 0.5rem 0;
    }

    .modern-logo img {
        height: 38px;
    }

    .modern-nav-actions {
        gap: 0.35rem;
    }

    .modern-nav-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .modern-btn-primary {
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* === HERO === */
.modern-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 6rem;
    text-align: center;
}

.modern-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.modern-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* === SEARCH BAR === */
.modern-search-bar {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.modern-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modern-form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.modern-form-group select,
.modern-form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.modern-form-group select:focus,
.modern-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 118, 66, 0.1);
}

.modern-btn-search {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.modern-btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* === CARDS === */
.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
}

.modern-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.modern-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.modern-card-content {
    padding: 1.25rem;
}

.modern-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modern-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.modern-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === DETAIL PAGE === */
.modern-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.modern-detail-main {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.modern-detail-image-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.modern-detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modern-detail-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.modern-detail-thumbnail:hover,
.modern-detail-thumbnail.active {
    border-color: var(--primary-color);
}

.modern-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-detail-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.modern-contact-btn {
    width: 100%;
    padding: 1rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modern-contact-btn:hover {
    background: #45A049;
    transform: translateY(-2px);
}

/* === FORMS === */
.modern-form {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 2rem auto;
}

.modern-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-input,
.modern-select,
.modern-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 118, 66, 0.1);
}

.modern-textarea {
    min-height: 150px;
    resize: vertical;
}

/* === FOOTER === */
.modern-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.modern-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.modern-footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.modern-footer p {
    color: rgba(255,255,255,0.7);
}

.modern-footer-links {
    list-style: none;
}

.modern-footer-links li {
    margin-bottom: 0.5rem;
}

.modern-footer-links a {
    color: rgba(255,255,255,0.7);
}

.modern-footer-links a:hover {
    color: white;
}

.modern-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    word-wrap: break-word;
}

/* === PAGINATION === */
.modern-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.modern-pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    transition: var(--transition);
}

.modern-pagination a:hover,
.modern-pagination a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.modern-pagination .pagination-dots {
    padding: 0.5rem 0.75rem;
    color: var(--text-gray);
}

/* === MOBILE MENU === */
.modern-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .modern-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .modern-nav.active {
        display: flex;
    }

    .modern-mobile-toggle {
        display: block;
    }

    .modern-search-form {
        grid-template-columns: 1fr;
    }

    .modern-cards-grid {
        grid-template-columns: 1fr;
    }

    .modern-detail-container {
        grid-template-columns: 1fr;
    }

    .modern-footer-content {
        grid-template-columns: 1fr;
    }

    .modern-container {
        padding: 0 12px;
    }

    .modern-form-row {
        grid-template-columns: 1fr;
    }

    .modern-form {
        padding: 1.25rem;
    }

    .modern-hero h1 {
        font-size: 1.75rem;
    }

    .modern-hero p {
        font-size: 1rem;
    }

    .pet_service_detail_row,
    .pet_service_detail_row.service03 {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .modern-container {
        padding: 0 8px;
    }

    .modern-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .modern-search-bar {
        padding: 1rem;
    }

    .modern-form {
        padding: 1rem;
        margin: 1rem auto;
    }

    .modern-form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .modern-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .modern-pagination {
        flex-wrap: wrap;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.15rem; }
}

.modern-section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.modern-info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.modern-info-label {
    font-weight: 500;
    color: var(--text-gray);
}

.modern-info-value {
    color: var(--text-dark);
    font-weight: 500;
}

/* === SELLER INFO === */
.modern-seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.modern-seller-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

/* === TRUST SYSTEM & BADGES === */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badge.premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.trust-badge.trusted {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

.trust-badge.verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.stars-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.stars-rating i {
    font-size: 1rem;
}

.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

.rating-text {
    margin-left: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* User Badge in Listings */
.listing-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.listing-user-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.875rem;
}

/* Trust Score Circle */
.trust-score-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.trust-score-circle svg {
    transform: rotate(-90deg);
}

.trust-score-circle-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
}

.trust-score-circle-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.trust-score-circle-progress.premium {
    stroke: #fbbf24;
}

.trust-score-circle-progress.trusted {
    stroke: #60a5fa;
}

.trust-score-circle-progress.verified {
    stroke: #10b981;
}

.trust-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
}

/* === LEGACY BANNER STYLES - MODERNIZED === */
.sab-banner-wraper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.sab-banner-wraper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.sab-banner-text {
    text-align: center;
    color: white;
}

.sab-banner-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sab-banner-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.custom-shape-divider-bottom-1687358784 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1687358784 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom-1687358784 .shape-fill {
    fill: var(--bg-light);
}

/* Legacy Service Detail Layout */
.pet_exercise_wrap {
    padding: 2rem 0;
}

.pet_exercise_wrap .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pet_service_detail_row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.pet_service_detail_row.service03 {
    grid-template-columns: 2fr 1fr;
}

.pet_exercise_text {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.pet_exercise_text h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .pet_service_detail_row,
    .pet_service_detail_row.service03 {
        grid-template-columns: 1fr;
    }

    .sab-banner-text h2 {
        font-size: 1.75rem;
    }
}

/* === SIDEBAR STYLES === */
.pet_sidebar_widget {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sidebar_column {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar_column:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar_title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sidebar_widget_search {
    padding: 0;
}

.sidebar_widget_search li {
    list-style: none;
    padding: 0.5rem 0;
}

.sidebar_widget_search li a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar_widget_search li a:hover {
    color: var(--primary-dark);
}

.icon-with-text {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.icon-with-text i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* === BUTTON STYLES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 0.95rem;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #45A049;
    color: white;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background: #FF9800;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

/* === TABLE STYLES === */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.table tr:hover td {
    background: #fafafa;
}

/* Form controls */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 118, 66, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Hide legacy company section */
.pet_company_wrap {
    display: none;
}

/* === POLICY / LEGAL PAGES === */
.policy-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ol,
.policy-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-gray);
}

.policy-content ol li,
.policy-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.policy-content a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.policy-content a:hover {
    color: var(--primary-dark);
}

.policy-content .policy-contact {
    margin-top: 2rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.policy-content .policy-contact p {
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 20px 16px;
        border-radius: var(--radius-sm);
    }

    .policy-content h2 {
        font-size: 1.25rem;
    }

    .policy-content h4 {
        font-size: 1.05rem;
    }
}
