/* ========================================
   RETURNS POLICY STYLES
   ======================================== */

/* Hero Section */
.policy-hero {
    position: relative;
    height: 40vh;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(40,32,86,0.6) 0%, rgba(239,48,147,0.7) 100%),
                url('https://images.unsplash.com/photo-1542385151-efd9000785a0?w=1200') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.policy-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.policy-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Section */
.policy-content {
    padding: 80px 0;
    background: #fafafa;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar Navigation */
.policy-sidebar {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 12px;
}

.sidebar-nav a i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #fdf2f8;
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-nav a.active {
    border-left: 4px solid var(--accent-color);
}

.sidebar-cta {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    text-align: center;
    color: white;
}

.sidebar-cta h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.sidebar-cta .btn-contact {
    display: inline-block;
    background: white;
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sidebar-cta .btn-contact:hover {
    transform: translateY(-2px);
}

/* Policy Text Blocks */
.policy-text {
    background: white;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.policy-block {
    margin-bottom: 50px;
    scroll-margin-top: 120px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.policy-icon-wrapper {
    width: 45px;
    height: 45px;
    background: #fdf2f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.policy-block h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.policy-block h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-weight: 600;
}

.policy-block p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.policy-block ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.policy-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #666;
    line-height: 1.6;
}

.policy-block ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-size: 0.9em;
}

.policy-highlight {
    background: #fdf2f8;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.policy-highlight p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
}

/* Process Steps Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.process-card {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -1;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
}

.process-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.process-card:hover::before {
    opacity: 1;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: #fdf2f8;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: var(--accent-color);
    color: white;
}

.process-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Warning/Alert blocks */
.policy-alert {
    background: #fff8eb;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.policy-alert.danger {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.policy-alert p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

.policy-alert.danger p {
    color: #991b1b;
}

/* Responsive Design */
@media (max-width: 992px) {
    .policy-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    .policy-text {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .policy-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .policy-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .policy-text {
        padding: 25px 20px;
    }

    .policy-block-header h2 {
        font-size: 1.5rem;
    }
}
