/* =============== DYNAMIC PAGE STYLES - INTEGRATED WITH THEME ============== */

/* Base Styles */
.privacy-policy,
.main-terms,
.shipping,
.about-us,
.important-links {
    direction: rtl;
    text-align: right;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Header Styles with Theme Integration */
.privacy-policy-header,
.terms-header,
.header-shipping,
.about-header,
.links-header {
    background: var(--gradient-primary) !important;
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 5rem;
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow-color-strong);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.privacy-policy-header::before,
.terms-header::before,
.header-shipping::before,
.about-header::before,
.links-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(64deg, transparent 50%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.privacy-policy-header h1,
.terms-header h1,
.header-shipping h1,
.about-header h1,
.links-header h1 {
    font-weight: 700;
    font-size: calc(100vw - 98.3vw);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.links-header .lead {
    font-size: calc(100vw - 98.5vw);
    opacity: 0.95;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Content Areas */
.privacy-policy-content,
.about-content,
.links-content,
.main-shipping,
.main-terms main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

/* Card Styles with Theme */
.card {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-card-border);
    border-radius: 12px;
    box-shadow: var(--footer-shadow);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-color-strong);
    border-color: var(--accent-primary);
}

.card-title {
    color: var(--accent-primary) !important;
    font-weight: 600;
    font-size: calc(100vw - 98.7vw);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;

}

.card-text {
    color: var(--text-secondary) !important;
    font-size: calc(100vw - 98.8vw);
}

.card-body p {
    font-size: calc(100vw - 98.8vw);
}

/* Service Items */
.service-item,
.channel-card {
    background: var(--footer-card-bg);
    border: 1px solid var(--footer-card-border);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
    height: 100%;
}

.service-item:hover,
.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-primary);
}

.service-item h5,
.channel-card h5 {
    color: var(--accent-primary) !important;
    font-weight: 600;
    font-size: calc(100vw - 99.1vw);
}

.service-item p,
.channel-card p {
    color: var(--text-secondary) !important;
    margin-bottom: 0;
    font-size: calc(100vw - 99.1vw);
}

.channel-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.channel-card i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: calc(100vw - 98.8vw);
}

/* Contact Info */
.contact-info {
    background: var(--bg-secondary) !important;
    border: 2px solid var(--accent-primary) !important;
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.contact-info h3 {
    color: var(--accent-primary) !important;
    font-weight: 600;
    font-size: calc(100vw - 98.7vw);
}

.contact-info strong {
    font-size: calc(100vw - 99.2vw);
}

.contact-info a {
    font-size: calc(100vw - 99.2vw);
}

.contact-info address {
    color: var(--text-primary);
    font-style: normal;
    font-size: calc(100vw - 99.2vw);
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Typography with Theme */
.dynamic-content h1 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.dynamic-content h2 {
    color: var(--accent-primary);
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.8rem;
}

.dynamic-content h3 {
    color: var(--accent-secondary);
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.dynamic-content h4,
.dynamic-content h5,
.dynamic-content h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.dynamic-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Lists */
.dynamic-content ul,
.dynamic-content ol {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-right: 1.5rem;
}

.dynamic-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.dynamic-content strong {
    color: var(--accent-primary);
}

/* List Groups */
.list-group {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.list-group-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    font-size: calc(100vw - 99.0vw);
}

.list-group-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.list-group-item:nth-child(even) {
    background: var(--bg-primary);
}

.list-group-item:nth-child(even):hover {
    background: var(--bg-tertiary);
}

/* Links & Buttons */
.dynamic-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dynamic-content a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.btn-outline-primary {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Section Headers */
.services-section,
.communication-channels,
.goals-section {
    margin: 3rem 0;
}

.services-section h2,
.communication-channels h2,
.goals-section h2 {
    text-align: center;
    color: var(--accent-primary);
    font-size: calc(100vw - 98.5vw);
    margin-bottom: 2.5rem;
    position: relative;
}

.services-section h2::after,
.communication-channels h2::after,
.goals-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 1px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer Styles */
.terms-footer,
.footer-shipping {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 15px 15px;
}

/* Utility Classes with Theme */
.dynamic-content .text-primary {
    color: var(--accent-primary) !important;
}

.dynamic-content .text-success {
    color: var(--accent-secondary) !important;
}

.dynamic-content .bg-light {
    background: var(--bg-secondary) !important;
}

.dynamic-content .border {
    border-color: var(--border-color) !important;
}

.dynamic-content .rounded {
    border-radius: 10px !important;
}

.dynamic-content .shadow-sm {
    box-shadow: 0 2px 8px var(--shadow-color) !important;
}

/* Address Styling */
.dynamic-content address {
    color: var(--text-secondary);
    font-style: normal;
    line-height: 1.6;
}

.dynamic-content address strong {
    color: var(--accent-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.service-item,
.channel-card,
.list-group-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {

    .privacy-policy-header,
    .terms-header,
    .header-shipping,
    .about-header,
    .links-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .privacy-policy-content,
    .about-content,
    .links-content,
    .main-shipping,
    .main-terms main {
        padding: 0 1rem 2rem;
    }

    .dynamic-content h1 {
        font-size: 2rem;
    }

    .dynamic-content h2 {
        font-size: 1.5rem;
    }

    .services-section h2,
    .communication-channels h2,
    .goals-section h2 {
        font-size: 1.8rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .channel-card {
        margin-bottom: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}















































































/* style tow  */

/* =============== MOBILE RESPONSIVE STYLES ============== */
/* =============== MOBILE RESPONSIVE STYLES WITH SMALLER FONTS ============== */
@media (max-width: 768px) {

    /* Base Mobile Styles */
    .privacy-policy,
    .main-terms,
    .shipping,
    .about-us,
    .important-links {
        padding: 0.5rem 0;
        min-height: auto;
    }

    /* Header Mobile Styles */
    .privacy-policy-header,
    .terms-header,
    .header-shipping,
    .about-header,
    .links-header {
        padding: 1rem 0.8rem !important;
        margin-bottom: 1rem !important;
        border-radius: 8px;
    }

    .privacy-policy-header h1,
    .terms-header h1,
    .header-shipping h1,
    .about-header h1,
    .links-header h1 {
        font-size: 1.2rem !important;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }

    .links-header .lead {
        font-size: 0.85rem !important;
        line-height: 1.3;
        margin-bottom: 0;
    }

    /* Content Areas Mobile */
    .privacy-policy-content,
    .about-content,
    .links-content,
    .main-shipping,
    .main-terms main {
        padding: 0 0.8rem 1rem !important;
    }

    /* Card Mobile Styles */
    .card {
        margin-bottom: 0.8rem;
        border-radius: 6px;
        padding: 0.8rem;
    }

    .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem;
        padding-bottom: 0.3rem;
    }

    .card-text,
    .card-body p {
        font-size: 0.8rem !important;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    /* Service Items Mobile */
    .service-item,
    .channel-card {
        margin-bottom: 0.8rem;
        padding: 0.8rem !important;
    }

    .service-item h5,
    .channel-card h5 {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem;
    }

    .service-item p,
    .channel-card p {
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .channel-card i {
        font-size: 1.5rem !important;
        margin-bottom: 0.3rem;
    }

    /* Contact Info Mobile */
    .contact-info {
        padding: 1rem 0.8rem !important;
        margin: 1rem 0;
    }

    .contact-info h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem;
    }

    .contact-info strong,
    .contact-info a,
    .contact-info address {
        font-size: 0.8rem !important;
    }

    .contact-info .row {
        margin: 0 -0.3rem;
    }

    .contact-info .col-md-3 {
        padding: 0 0.3rem;
        margin-bottom: 0.8rem;
    }

    /* Typography Mobile */
    .dynamic-content h1 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem;
    }

    .dynamic-content h2 {
        font-size: 1.1rem !important;
        margin: 1.5rem 0 0.8rem 0;
        padding-bottom: 0.3rem;
    }

    .dynamic-content h3 {
        font-size: 1rem !important;
        margin: 1.2rem 0 0.6rem 0;
    }

    .dynamic-content h4,
    .dynamic-content h5,
    .dynamic-content h6 {
        font-size: 0.95rem !important;
        margin: 1rem 0 0.5rem 0;
    }

    .dynamic-content p {
        font-size: 0.85rem !important;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    /* Lists Mobile */
    .dynamic-content ul,
    .dynamic-content ol {
        padding-right: 0.8rem;
        margin-bottom: 1rem;
    }

    .dynamic-content li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    /* List Groups Mobile */
    .list-group {
        margin-bottom: 0.8rem;
    }

    .list-group-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem !important;
        line-height: 1.3;
    }

    /* Section Headers Mobile */
    .services-section,
    .communication-channels,
    .goals-section {
        margin: 1.5rem 0;
    }

    .services-section h2,
    .communication-channels h2,
    .goals-section h2 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
    }

    .services-section h2::after,
    .communication-channels h2::after,
    .goals-section h2::after {
        width: 50px;
        bottom: -6px;
        height: 1px;
    }

    /* Grid System Mobile */
    .row {
        margin: 0 -0.3rem;
    }

    .col-md-6,
    .col-md-4,
    .col-md-3 {
        padding: 0 0.3rem;
        margin-bottom: 0.8rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .btn-outline-primary {
        width: 100%;
        margin-top: 0.3rem;
    }

    /* Footer Mobile */
    .terms-footer,
    .footer-shipping {
        padding: 1rem 0.8rem;
        margin-top: 1.5rem;
        font-size: 0.75rem;
    }

    /* Specific Template Adjustments */

    /* Important Links Mobile */
    .important-links .row>.col-md-6 {
        margin-bottom: 0.8rem;
    }

    /* Services Section Mobile */
    .services-section .row {
        margin: 0 -0.2rem;
    }

    .services-section .col-md-4 {
        padding: 0 0.2rem;
    }

    /* Communication Channels Mobile */
    .communication-channels .row {
        margin: 0 -0.2rem;
    }

    .communication-channels .col-md-3 {
        padding: 0 0.2rem;
        margin-bottom: 0.6rem;
    }

    /* Goals Section Mobile */
    .goals-section .row {
        margin: 0;
    }

    .goals-section .col-md-6 {
        margin-bottom: 0.8rem;
    }

    /* Contact Info Address Mobile */
    .contact-info address {
        font-size: 0.75rem !important;
        line-height: 1.4;
    }

    /* Reduce animation effects for better performance */
    .card,
    .service-item,
    .channel-card {
        transition: none;
    }

    /* Hide shimmer animation on mobile for better performance */
    .privacy-policy-header::before,
    .terms-header::before,
    .header-shipping::before,
    .about-header::before,
    .links-header::before {
        animation: none;
        display: none;
    }
}

/* =============== EXTRA SMALL MOBILE STYLES ============== */
@media (max-width: 576px) {

    /* Extra Small Mobile Adjustments */
    .privacy-policy-header h1,
    .terms-header h1,
    .header-shipping h1,
    .about-header h1,
    .links-header h1 {
        font-size: 1.1rem !important;
    }

    .links-header .lead {
        font-size: 0.8rem !important;
    }

    .dynamic-content h1 {
        font-size: 1.2rem !important;
    }

    .dynamic-content h2 {
        font-size: 1rem !important;
    }

    .card-title {
        font-size: 0.95rem !important;
    }

    .service-item h5,
    .channel-card h5 {
        font-size: 0.85rem !important;
    }

    .service-item p,
    .channel-card p {
        font-size: 0.7rem !important;
    }

    /* Single column layout for very small screens */
    .communication-channels .col-md-3,
    .services-section .col-md-4 {
        width: 50%;
        float: right;
    }

    .contact-info .col-md-3 {
        width: 50%;
        float: right;
    }

    /* Adjust padding for very small screens */
    .privacy-policy-content,
    .about-content,
    .links-content,
    .main-shipping,
    .main-terms main {
        padding: 0 0.3rem 0.8rem !important;
    }

    /* Reduce margins further */
    .privacy-policy-header,
    .terms-header,
    .header-shipping,
    .about-header,
    .links-header {
        padding: 0.8rem 0.5rem !important;
        margin-bottom: 0.8rem !important;
    }
}

/* =============== SMALLEST SCREENS (iPhone SE etc.) ============== */
@media (max-width: 375px) {

    .privacy-policy-header h1,
    .terms-header h1,
    .header-shipping h1,
    .about-header h1,
    .links-header h1 {
        font-size: var(--fs-xs) !important;
    }

    .dynamic-content h1 {
        font-size: var(--fs-xs) !important;
    }

    .dynamic-content h2 {
        font-size: var(--fs-xs) !important;
    }

    .dynamic-content p {
        font-size: var(--fs-xs) !important;
    }

    .links-header .lead {
        font-size: var(--fs-xxs) !important;
    }

    .card-text,
    .card-body p {
        font-size: var(--fs-xxs) !important;
    }

    .card-title {
        font-size: var(--fs-xs) !important;
    }

    .services-section h2,
    .communication-channels h2,
    .goals-section h2 {
        font-size: var(--fs-xxs) !important;
    }

    .list-group-item {
        padding: 0.6rem 0.8rem;
        font-size: var(--fs-xxs) !important;
        line-height: 1.3;
    }

    .channel-card i {
        font-size: var(--fs-xs) !important;
        margin-bottom: 2.3rem;
    }

    .service-item h5,
    .channel-card h5 {
        font-size: var(--fs-xxs) !important;
    }

    .contact-info h3 {
        font-size: var(--fs-xs) !important;
        margin-bottom: 0.8rem !important;
    }

    .contact-info strong,
    .contact-info a,
    .contact-info address {
        font-size: var(--fs-xxs) !important;
    }

    .contact-info address {
        font-size: var(--fs-xxs) !important;
        line-height: 1.4;
    }

    /* Stack everything in single column */
    .communication-channels .col-md-3,
    .services-section .col-md-4,
    .contact-info .col-md-3 {
        width: 100%;
        float: none;
    }
}

/* =============== TABLET STYLES (Medium Devices) ============== */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Tablet-specific adjustments with smaller fonts */
    .privacy-policy-header h1,
    .terms-header h1,
    .header-shipping h1,
    .about-header h1,
    .links-header h1 {
        font-size: 1.5rem !important;
    }

    .links-header .lead {
        font-size: 1rem !important;
    }

    .card-title {
        font-size: 1.1rem !important;
    }

    .service-item h5,
    .channel-card h5 {
        font-size: 1rem !important;
    }

    .communication-channels .col-md-3 {
        margin-bottom: 0.8rem;
    }
}