/* Filename: iscc-styles.css
   Scope: #w-iscc-root ONLY
   Purpose: Safe styling for ISCC Landing Page without Tailwind dependency
*/

#w-iscc-root {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    /* slate-800 */
    background-color: #f8fafc;
    /* slate-50 */
    box-sizing: border-box;
}

#w-iscc-root *,
#w-iscc-root *:before,
#w-iscc-root *:after {
    box-sizing: inherit;
}

/* --- Hero Section --- */
#w-iscc-root .w-hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffffff; /* تغییر رنگ متن به سفید */
    padding: 12rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* لایه پس‌زمینه اصلاح شده با شفافیت استاندارد برای وضوح کامل محتوا */
#w-iscc-root .w-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    /* استفاده از گرادیانت سرمه ای با شفافیت 80 درصد برای ایجاد کنتراست عالی با متون سفید */
    background-image: 
        linear-gradient(rgba(13, 31, 60, 0.8), rgba(13, 31, 60, 0.8)), 
        url('https://nigeb.ac.ir/documents/7161581/9917163/ISCC-Hero.jpg/a5c14d6b-f631-1fd2-ca6f-766094113198?t=1782909072310&download=true');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* افکت blur حذف شد تا خطوط نقشه وضوح کامل داشته باشند */
}

#w-iscc-root .w-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* سایه تیره برای عمق دادن به عنوان */
}

#w-iscc-root .w-hero__desc {
    font-size: 1.25rem;
    color: #dbeafe; /* آبی بسیار روشن مشابه تصویر ارسالی */
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Actions & Buttons */
#w-iscc-root .w-hero__actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

#w-iscc-root .w-btn {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* استایل دکمه شیشه ای با حاشیه سفید */
#w-iscc-root .w-btn--glass {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

#w-iscc-root .w-btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* استایل دکمه توپر سفید با متن سرمه ای */
#w-iscc-root .w-btn--solid {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #0c1c38;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#w-iscc-root .w-btn--solid:hover {
    background: #f1f5f9;
    border-color: #f1f5f9;
}

@media (max-width: 768px) {
    #w-iscc-root .w-hero__title {
        font-size: 2.5rem;
    }
    #w-iscc-root .w-hero__desc {
        font-size: 1.1rem;
    }
    #w-iscc-root .w-hero {
        padding: 8rem 1.5rem;
    }
}

/* --- Cards Grid --- */
#w-iscc-root .w-section {
    padding: 5rem 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

#w-iscc-root .w-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    #w-iscc-root .w-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

#w-iscc-root .w-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    #w-iscc-root .w-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

#w-iscc-root .w-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

#w-iscc-root .w-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

#w-iscc-root .w-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

#w-iscc-root .w-list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
}

#w-iscc-root .w-list-check li::before {
    content: "•";
    color: #22c55e;
    /* green-500 */
    font-weight: bold;
    font-size: 1.25rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

#w-iscc-root .w-badge-gray {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: inline-block;
}

#w-iscc-root .w-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

#w-iscc-root .w-icon--blue {
    background: #dbeafe;
    color: #1d4ed8;
}

#w-iscc-root .w-icon--green {
    background: #dcfce7;
    color: #15803d;
}

#w-iscc-root .w-icon--amber {
    background: #fef3c7;
    color: #b45309;
}

#w-iscc-root .w-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

#w-iscc-root .w-card__text {
    font-size: 0.875rem;
    color: #475569;
    flex-grow: 1;
    margin-bottom: 1rem;
}

#w-iscc-root .w-card__footer {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#w-iscc-root .w-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

#w-iscc-root .w-tag--blue {
    background: #eff6ff;
    color: #1d4ed8;
}

#w-iscc-root .w-tag--green {
    background: #f0fdf4;
    color: #15803d;
}

#w-iscc-root .w-tag--amber {
    background: #fffbeb;
    color: #b45309;
}

#w-iscc-root .w-link-arrow {
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

#w-iscc-root .w-link-arrow:hover {
    color: #1e40af;
}

#w-iscc-root .w-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    background-color: white;
    color: #334155;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

#w-iscc-root .w-btn-outline:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#w-iscc-root .w-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #2563eb;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#w-iscc-root .w-btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4), 0 4px 6px -2px rgba(37, 99, 235, 0.2);
}


/* --- Director Section --- */
#w-iscc-root .w-director-box {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    #w-iscc-root .w-director-box {
        flex-direction: row;
    }
}

#w-iscc-root .w-director-img {
    background: #e2e8f0;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    /* Added for equal corner curvature */
    margin: 1rem;
    /* Added margin to show separate curvature inside the card */
}

@media (min-width: 768px) {
    #w-iscc-root .w-director-img {
        width: calc(33.333% - 1.5rem);
        margin: 1.5rem 0 1.5rem 1.5rem;
        /* Adjust margin for desktop layout */
    }
}

#w-iscc-root .w-director-content {
    padding: 2.5rem;
    flex: 1;
}

/* --- Contact & Footer --- */
#w-iscc-root .w-contact-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#w-iscc-root .w-flex-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#w-iscc-root .w-contact-item {
    display: flex;
    gap: 1rem;
}

#w-iscc-root .w-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Team Section --- */
#w-iscc-root .w-team-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
    /* slate-100 */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#w-iscc-root .w-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#w-iscc-root .w-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    /* Context for z-index */
}

#w-iscc-root .w-avatar img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    z-index: 10;
}

#w-iscc-root .w-avatar img:hover {
    transform: scale(3);
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    /* Optional: slightly soften roundness when big? actually user asked for round corners generally, but 50% is circle. Let's keep it circle effectively or stick to current border-radius style */
}

/* --- Contact Section New Layout --- */
#w-iscc-root .w-contact-box {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#w-iscc-root .w-contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

#w-iscc-root .w-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    #w-iscc-root .w-contact-grid {
        grid-template-columns: 1fr 1.25fr;
    }
}

#w-iscc-root .w-contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#w-iscc-root .w-icon-circle-blue {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#w-iscc-root .w-map-frame {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 0.75rem;
    border: 0;
    background-color: #e2e8f0;
}


/* Extra padding for Team and Contact sections to prevent edge crowding/clipping */
#w-iscc-root .w-section--padded {
    padding-left: 4rem;
    padding-right: 4rem;
}

@media (max-width: 768px) {
    #w-iscc-root .w-section--padded {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


 /* --- Director Section Overrides (To make it smaller) --- */
#w-iscc-root .w-director-box {
      align-items: stretch;
         /* Ensure even height */
      }

      #w-iscc-root .w-director-img {
        min-height: 220px !important;
        /* REDUCED from 300px */
       }

#w-iscc-root .w-director-content {
        padding: 1.5rem 2rem !important;
        /* REDUCED padding to compact the row */
        display: flex;
         flex-direction: column;
         justify-content: center;
    }

    @media (min-width: 768px) {
     #w-iscc-root .w-director-img {
         width: 25% !important;
            /* Slightly narrower image to give text more width */
             }

            #w-iscc-root .w-director-content {
                flex: 1;
                 }
                }

                /* --- Slider Styles --- */
    .w-slider-container {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        background: #fff;
        border-radius: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        }

        .w-slider-track {
        display: flex;
        gap: 2rem;
        transition: transform 0.5s ease-in-out;
     }

     .w-slider-item {
        flex: 0 0 300px;
        display: flex;
        align-items: center;
        gap: 1rem;
        background: #f8fafc;
        padding: 0.75rem;
        border-radius: 0.75rem;
        border: 1px solid #e2e8f0;
        }

        .w-slider-img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

    .w-slider-content h5 {
         margin: 0;
         font-size: 0.95rem;
         color: #1e293b;
         font-weight: 700;
    }

    .w-slider-content p {
        margin: 0;
        font-size: 0.8rem;
        color: #64748b;
        }

    .w-slider-controls {
         display: flex;
        justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-right: 1rem;
        }

                                                            .w-btn-icon {
                                                                background: #f1f5f9;
                                                                border: none;
                                                                width: 32px;
                                                                height: 32px;
                                                                border-radius: 50%;
                                                                cursor: pointer;
                                                                display: flex;
                                                                align-items: center;
                                                                justify-content: center;
                                                                color: #475569;
                                                                transition: all 0.2s;
                                                            }

                                                            .w-btn-icon:hover {
                                                                background: #e2e8f0;
                                                                color: #0f172a;
                                                            }

                                                            /* 3D Badge Style */
                                                            .w-hero__badge--3d {
                                                                display: inline-block;
                                                                background: rgba(59, 130, 246, 0.1);
                                                                color: #2563eb;
                                                                font-weight: 700;
                                                                padding: 0.5rem 1rem;
                                                                border-radius: 9999px;
                                                                border: 1px solid rgba(59, 130, 246, 0.2);
                                                                box-shadow: 0 4px 0 #1d4ed8, 0 5px 10px rgba(0, 0, 0, 0.1);
                                                                transform: translateY(0);
                                                                transition: all 0.15s ease-out;
                                                                text-decoration: none;
                                                                cursor: pointer;
                                                                margin-bottom: 1.5rem;
                                                                text-transform: uppercase;
                                                                font-size: 0.875rem;
                                                                letter-spacing: 0.05em;
                                                            }

                                                            .w-hero__badge--3d:hover {
                                                                transform: translateY(2px);
                                                                box-shadow: 0 2px 0 #1d4ed8, 0 2px 5px rgba(0, 0, 0, 0.1);
                                                                background: rgba(59, 130, 246, 0.2);
                                                                color: #1e40af;
                                                            }

                                                            .w-hero__badge--3d:active {
                                                                transform: translateY(4px);
                                                                box-shadow: 0 0 0 #1d4ed8, inset 0 2px 4px rgba(0, 0, 0, 0.1);
                                                            }

                                                            /* Team Section Styles */
                                                            .w-team-card {
                                                                flex-direction: column !important;
                                                                align-items: center !important;
                                                                text-align: center !important;
                                                                padding: 1.5rem !important;
                                                                gap: 1.5rem !important;
                                                            }

                                                            .w-avatar {
                                                                margin: 0 0 0.5rem 0 !important;
                                                                width: 120px !important;
                                                                height: 120px !important;
                                                                flex-shrink: 0 !important;
                                                            }

                                                            .w-team-card>div:last-child {
                                                                display: flex;
                                                                flex-direction: column;
                                                                align-items: center;
                                                                width: 100%;
                                                            }

                                                            .w-email-link {
                                                                display: inline-flex;
                                                                align-items: center;
                                                                justify-content: center;
                                                                width: 32px;
                                                                height: 32px;
                                                                background: #eff6ff;
                                                                color: #3b82f6;
                                                                border-radius: 50%;
                                                                margin-top: 1rem;
                                                                transition: all 0.2s ease;
                                                                text-decoration: none !important;
                                                            }

                                                            .w-email-link:hover {
                                                                background: #3b82f6;
                                                                color: white;
                                                                transform: translateY(-2px);
                                                            }

                                                            .w-map-frame {
                                                                width: 100%;
                                                                height: 100%;
                                                                min-height: 300px;
                                                                border: 0;
                                                            }
                                                       