/* ===== ISO Pages - Modern & Attractive Design ===== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    /* ألوان الهوية الأساسية فقط */
    --brand-red: #f24c3d;
    --brand-blue: #4a9bc1;

    /* تدرجات مختلفة من الألوان الأساسية */
    --red-light: #f56b5c;
    --red-dark: #d63c2e;
    --blue-light: #6bb5d4;
    --blue-dark: #3a7a9a;

    /* تدرجات الأقسام السبعة - تدرجات خفيفة وإبداعية */
    --section-1: linear-gradient(135deg, #4a9bc1 0%, #5ba5c7 100%);
    --section-2: linear-gradient(135deg, #5ba5c7 0%, #6cafcd 100%);
    --section-3: linear-gradient(135deg, #6cafcd 0%, #7db9d3 100%);
    --section-4: linear-gradient(135deg, #7db9d3 0%, #8ec3d9 100%);
    --section-5: linear-gradient(135deg, #8ec3d9 0%, #9fcddf 100%);
    --section-6: linear-gradient(135deg, #9fcddf 0%, #b0d7e5 100%);
    --section-7: linear-gradient(135deg, #b0d7e5 0%, #4a9bc1 100%);

    /* الألوان الأساسية للاستخدام العام */
    --primary-color: #4a9bc1;
    --secondary-color: #f24c3d;
    --success-color: #4a9bc1;
    --warning-color: #f24c3d;
    --info-color: #4a9bc1;
    --danger-color: #f24c3d;

    /* خلفيات */
    --bg-gradient: linear-gradient(135deg, #4a9bc1 0%, #f24c3d 100%);
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-dark: #212529;
    --text-muted: #6c757d;

    /* ظلال بألوان الهوية */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 10px 10px -5px rgb(0 0 0 / 0.04);
    --shadow-colored: 0 10px 15px -3px rgba(74, 155, 193, 0.15),
        0 4px 6px -2px rgba(74, 155, 193, 0.1);

    /* انتقالات سلسة */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;

    /* حدود دائرية عصرية */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

/* ===== Global Styles ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* ===== Bootstrap Overrides ===== */
.btn {
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #4a9bc1;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(74, 155, 193, 0.3);
    font-weight: 600;
    border: none;
}

.btn-primary:hover {
    background-color: #3a8bb0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(74, 155, 193, 0.4);
}

.btn-outline-primary {
    border: 2px solid #4a9bc1;
    color: #4a9bc1;
    background: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: #4a9bc1;
    border-color: #4a9bc1;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-success {
    background: var(--section-1);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(74, 155, 193, 0.3);
    font-weight: 600;
}

.btn-success:hover {
    background: linear-gradient(135deg, #3a7a9a, #4a9bc1);
    transform: translateY(-2px);
}

/* ===== Cards - Creative Classic Design ===== */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(74, 155, 193, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9bc1, #5ba5c7, #6cafcd);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(74, 155, 193, 0.2);
    background: rgba(255, 255, 255, 1);
}

.card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

/* ===== Section Numbers - Creative Circles ===== */
.section-number-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    box-shadow: 0 8px 25px rgba(74, 155, 193, 0.3);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a9bc1, #5ba5c7);
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.section-number-circle::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
}

.section-number-circle:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.section-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.section-number::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-number:hover::before {
    opacity: 1;
}

.section-1 .section-number {
    background: var(--section-1);
}
.section-2 .section-number {
    background: var(--section-2);
}
.section-3 .section-number {
    background: var(--section-3);
}
.section-4 .section-number {
    background: var(--section-4);
}
.section-5 .section-number {
    background: var(--section-5);
}
.section-6 .section-number {
    background: var(--section-6);
}
.section-7 .section-number {
    background: var(--section-7);
}

/* ===== Content Sections ===== */
.content-section {
    position: relative;
    z-index: 1;
}

.content-section .card-header {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}

.content-section .card-body {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl) !important;
}

.content-text {
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== Info Items ===== */
.info-item {
    transition: var(--transition);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0 !important;
}

.info-item:hover {
    background: rgba(74, 155, 193, 0.05);
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* ===== Badges - Modern Style ===== */
.badge {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.badge:hover::before {
    left: 100%;
}

.badge-primary {
    background-color: #4a9bc1;
    box-shadow: 0 4px 14px 0 rgba(74, 155, 193, 0.3);
}

.badge-success {
    background-color: #5ba5c7;
    box-shadow: 0 4px 14px 0 rgba(91, 165, 199, 0.3);
}

.badge-warning {
    background-color: #6cafcd;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(108, 175, 205, 0.3);
}

.badge-info {
    background-color: #7db9d3;
    box-shadow: 0 4px 14px 0 rgba(125, 185, 211, 0.3);
}

.badge-danger {
    background-color: #8ec3d9;
    box-shadow: 0 4px 14px 0 rgba(142, 195, 217, 0.3);
}

.bg-success {
    background-color: #5ba5c7 !important;
}

.bg-info {
    background-color: #4a9bc1 !important;
}

.bg-warning {
    background-color: #6cafcd !important;
}

.bg-danger {
    background-color: #8ec3d9 !important;
}

.bg-primary {
    background-color: #4a9bc1 !important;
}

.bg-secondary {
    background-color: #9fcddf !important;
}

/* ===== Text Styles ===== */
.text-primary {
    color: var(--brand-blue) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== Gradient Backgrounds ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4a9bc1 0%, #5ba5c7 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #5ba5c7 0%, #6cafcd 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #6cafcd 0%, #7db9d3 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #7db9d3 0%, #8ec3d9 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #8ec3d9 0%, #9fcddf 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #9fcddf 0%, #b0d7e5 100%) !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #b0d7e5 0%, #4a9bc1 100%) !important;
}

/* ===== Forms - Modern Style ===== */
.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition);
    background: white;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(74, 155, 193, 0.1);
    transform: translateY(-1px);
}

/* ===== Breadcrumbs ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.breadcrumb-item a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

/* ===== Animations ===== */
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}
.animate-bounce-in {
    animation: fadeInUp 1s ease-out;
}
.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}
.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== Statistics Cards ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 155, 193, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ===== Responsive Design - تحسين للموبايل ===== */

/* Tablets */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    .display-5 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
    }
    .display-6 {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
    }

    .card-body {
        padding: 1.5rem !important;
    }
    .section-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    h2 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .display-4 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
    }
    .display-5 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }
    .display-6 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .lead {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    .card-body {
        padding: 1rem !important;
    }
    .section-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.75rem;
        font-size: 0.85rem !important;
        padding: 0.7rem 1rem !important;
    }
    .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .col-lg-4.order-1 {
        order: 2 !important;
        margin-top: 2rem;
    }
    .col-lg-8.order-2 {
        order: 1 !important;
    }

    /* تحسين النصوص للموبايل */
    h1 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }
    h2 {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    h3 {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }
    h4 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }
    h5 {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    .fs-5 {
        font-size: 0.85rem !important;
    }
    .fs-6 {
        font-size: 0.8rem !important;
    }

    /* تحسين الشارات */
    .badge {
        font-size: 0.7rem !important;
        padding: 5px 8px !important;
    }

    /* تحسين المسافات */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* تحسين العناوين في البطاقات */
    .card h2 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        font-weight: 600 !important;
    }

    /* تحسين النصوص الطويلة */
    .lh-lg {
        line-height: 1.5 !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .display-4 {
        font-size: 1.1rem !important;
    }
    .display-5 {
        font-size: 1rem !important;
    }
    .display-6 {
        font-size: 0.95rem !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }
    .section-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1rem !important;
    }
    h2 {
        font-size: 0.95rem !important;
    }
    h3 {
        font-size: 0.9rem !important;
    }
    h4 {
        font-size: 0.85rem !important;
    }
    p {
        font-size: 0.75rem !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    .badge {
        font-size: 0.65rem !important;
        padding: 4px 6px !important;
    }
}

/* ===== Utility Classes ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.glow-on-hover {
    transition: var(--transition);
}

.glow-on-hover:hover {
    box-shadow: var(--shadow-xl);
}

.bg-section {
    background: linear-gradient(
        180deg,
        var(--bg-light) 0%,
        var(--bg-white) 100%
    );
}

.shadow-primary {
    box-shadow: 0 10px 15px -3px rgba(74, 155, 193, 0.15),
        0 4px 6px -2px rgba(74, 155, 193, 0.1) !important;
}

/* ===== Print Styles ===== */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    .btn,
    .badge {
        background: #666 !important;
        color: white !important;
        box-shadow: none !important;
    }
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* ===== Additional Enhancements ===== */

/* Enhanced CTA Button */
.btn-light.pulse-animation {
    position: relative;
    overflow: hidden;
}

.btn-light.pulse-animation::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-light.pulse-animation:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Card Hover Effects */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(74, 155, 193, 0.25);
}

/* Enhanced Section Headers */
.card-header {
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s;
}

.card:hover .card-header::before {
    left: 100%;
}

/* Enhanced Trust Indicators */
.trust-indicator {
    transition: var(--transition);
}

.trust-indicator:hover {
    transform: translateY(-2px);
}

/* Enhanced Info Items */
.info-item {
    position: relative;
}

.info-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--brand-blue);
    transform: translateY(-50%);
    transition: height 0.3s ease;
}

.info-item:hover::before {
    height: 60%;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .pulse-animation {
        animation: none; /* Disable animation on mobile for better performance */
    }

    .card:hover {
        transform: translateY(-4px); /* Reduced hover effect on mobile */
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pulse-animation {
        animation: none !important;
    }

    .card:hover {
        transform: none !important;
    }

    * {
        transition: none !important;
    }
}

/* Enhanced Focus States */
.btn:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(74, 155, 193, 0.2);
}

/* Enhanced Loading States */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* ===== Creative Animations ===== */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== Enhanced Button Effects ===== */
.btn-primary {
    background: linear-gradient(135deg, #4a9bc1, #5ba5c7);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 155, 193, 0.3);
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a8bb0, #4a9bc1);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 155, 193, 0.4);
}

/* ===== Enhanced Trust Indicators ===== */
.trust-indicator {
    transition: all 0.3s ease;
    cursor: pointer;
}

.trust-indicator:hover {
    transform: translateY(-3px);
}

.trust-indicator:hover .rounded-circle {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

/* ===== Enhanced Content Sections ===== */
.content-section .card-header {
    position: relative;
    overflow: hidden;
}

.content-section .card-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.3)
    );
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.content-section:hover .card-header::after {
    transform: scaleX(1);
}

/* ===== Enhanced Info Items ===== */
.info-item {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.info-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #4a9bc1, #5ba5c7);
    transform: translateY(-50%);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.info-item:hover::before {
    height: 70%;
}

.info-item:hover {
    background: linear-gradient(
        135deg,
        rgba(74, 155, 193, 0.05),
        rgba(255, 255, 255, 0.8)
    );
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transform: translateX(5px);
}

/* ===== Enhanced Badges ===== */
.badge {
    position: relative;
    overflow: hidden;
}

.badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.8s;
}

.badge:hover::after {
    left: 100%;
}

/* ===== Glass Effect Enhancement ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(74, 155, 193, 0.1);
}

/* ===== Z-Index Utilities ===== */
.z-index-2 {
    z-index: 2;
}

/* ===== Enhanced Responsive Design ===== */
@media (max-width: 768px) {
    .section-number-circle {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
        margin-right: 1rem;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .trust-indicator .rounded-circle {
        width: 25px !important;
        height: 25px !important;
    }
}

@media (max-width: 576px) {
    .section-number-circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
        margin-right: 0.75rem;
    }

    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}
/* ===== Button Spacing Fix ===== */
.d-md-flex .btn + .btn {
    margin-left: 0.5rem;
}

@media (max-width: 767.98px) {
    .d-md-flex .btn + .btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ===== Enhanced Button Visibility ===== */
.btn-outline-light {
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.btn-outline-light:hover::before {
    left: 100%;
}

/* ===== Trust Indicators Enhancement ===== */
.trust-indicator .rounded-circle {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-indicator:hover .rounded-circle {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* ===== Gap Fix for Mobile ===== */
@media (max-width: 767.98px) {
    .d-grid.gap-2 {
        gap: 0.75rem !important;
    }

    .d-grid.gap-3 {
        gap: 1rem !important;
    }
}
/* ===== Enhanced Light Button ===== */
.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: #4a9bc1;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 1);
    color: #3a8bb0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

.btn-light:focus {
    background: rgba(255, 255, 255, 1);
    color: #3a8bb0;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* New Sections Styles */
.iso-new-section {
    padding: 60px 0;
}

.section-title-modern {
    font-weight: 800;
    color: #1a4a66;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.item-card-modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f4f7;
    display: flex;
    align-items: center;
}

.item-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 155, 193, 0.15);
}

.item-card-modern i {
    font-size: 1.25rem;
    margin-left: 1rem;
    color: #4a9bc1;
}

/* Steps Methodology */
.step-item-modern {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background: #f8fbff;
    padding: 1rem;
    border-radius: 10px;
    border-right: 4px solid #4a9bc1;
}

.step-number-modern {
    width: 35px;
    height: 35px;
    background: #4a9bc1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

/* Required Documents */
.doc-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.doc-card i {
    color: #48bb78;
    margin-left: 0.75rem;
}

/* Common Errors */
.error-card {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: #c53030;
}

.error-card i {
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-item-modern {
    border-bottom: 1px solid #edf2f7;
    padding: 1.25rem 0;
}

.faq-question {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    color: #718096;
    font-size: 0.95rem;
}

/* Image matching colors */
.color-light-blue {
    background-color: #f0f7ff;
}
.color-light-red {
    background-color: #fff5f5;
}
.color-white {
    background-color: #ffffff;
}

[dir="rtl"] .item-card-modern i,
[dir="rtl"] .step-number-modern,
[dir="rtl"] .doc-card i,
[dir="rtl"] .error-card i {
    margin-left: 15px;
    margin-right: 0;
}

[dir="ltr"] .item-card-modern i,
[dir="ltr"] .step-number-modern,
[dir="ltr"] .doc-card i,
[dir="ltr"] .error-card i {
    margin-right: 15px;
    margin-left: 0;
}
