/* 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 {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(22, 35, 120, 0.75)), url('https://nigeb.ac.ir/documents/7161581/7164767/3-resizecop+%281%29+%281%29.jpg/53c910da-ec78-c421-9239-02eee1e767ce?t=1725394614683');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#w-iscc-root .w-hero__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(59, 130, 246, 0.3);
    border: 1px solid rgb(86, 214, 249);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

#w-iscc-root .w-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    #w-iscc-root .w-hero__title {
        font-size: 3.75rem;
    }
}

#w-iscc-root .w-hero__desc {
    font-size: 1.125rem;
    color: #dbeafe;
    /* blue-100 */
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

#w-iscc-root .w-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

#w-iscc-root .w-btn--white {
    background-color: white;
    color: #1e3a8a;
    /* blue-900 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#w-iscc-root .w-btn--white:hover {
    background-color: #eff6ff;
}

#w-iscc-root .w-btn--glass {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(4px);
}

#w-iscc-root .w-btn--glass:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- 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;
    }
}