/* ===== ABOUT US SECTION STYLES ===== */
.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 30%, #fffbf0 65%, #f0f6ff 100%);
    background-size: 300% 300%;
    animation: gradientMove 12s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating decorative shapes */
.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.about-section::before {
    width: 420px;
    height: 420px;
    top: -100px;
    left: -120px;
    background: radial-gradient(circle, rgba(29, 52, 97, 0.07) 0%, transparent 70%);
    animation: floatShape 8s ease-in-out infinite;
}

.about-section::after {
    width: 320px;
    height: 320px;
    bottom: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(200, 150, 42, 0.08) 0%, transparent 70%);
    animation: floatShape 10s ease-in-out 2s infinite reverse;
}

@keyframes floatShape {
    0%   { transform: translateY(0px) scale(1); }
    50%  { transform: translateY(-20px) scale(1.04); }
    100% { transform: translateY(0px) scale(1); }
}

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

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Mission Statement */
.about-mission {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 50px 44px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(29, 52, 97, 0.1), 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(29, 52, 97, 0.08);
    animation: float 6s ease-in-out infinite;
}

/* Gold shimmer top border */
.about-mission::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1D3461, #C8962A, #1D3461);
    background-size: 200% 100%;
    animation: shimmerBorder 4s linear infinite;
}

/* Subtle inner glow */
.about-mission::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,150,42,0.05) 0%, transparent 60%);
    pointer-events: none;
}

@keyframes shimmerBorder {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.mission-text h3 {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.mission-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #334155;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Divisions Grid */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.division-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.division-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Division Icons */
.division-icon {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.division-icon span {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 52, 97, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.division-card:hover .division-icon span {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent-science));
}

.division-card:hover .division-icon span {
    color: white;
}

.division-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.division-tagline {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.division-description {
    margin-bottom: 30px;
}

.division-description p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 15px;
    padding: 8px 12px;
    background: rgba(29, 52, 97, 0.03);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.feature-list li:hover {
    background: rgba(29, 52, 97, 0.08);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 20px;
}

/* Division Stats */
.division-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.division-stats .stat {
    text-align: center;
}

.division-stats .stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.division-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Premium STEAM Ecosystem ── */
@keyframes eco-particle-rise {
    0%   { transform: translateY(0) scale(1);      opacity: 0;   }
    15%  { opacity: 0.85; }
    85%  { opacity: 0.35; }
    100% { transform: translateY(-72px) scale(0.3); opacity: 0;   }
}
@keyframes eco-center-glow {
    0%, 100% { box-shadow: 0 0 28px rgba(14,165,233,0.28), 0 8px 32px rgba(0,0,0,0.28); }
    50%       { box-shadow: 0 0 56px rgba(14,165,233,0.54), 0 8px 40px rgba(0,0,0,0.35); }
}
@keyframes eco-ring-pulse {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity: 0.65; }
    100% { transform: translate(-50%,-50%) scale(1.9); opacity: 0;    }
}
@keyframes eco-line-flow {
    0%   { stroke-dashoffset: 44; }
    100% { stroke-dashoffset: 0;  }
}
@keyframes eco-glow-breathe {
    0%, 100% { opacity: 0.15; transform: scale(1);   }
    50%       { opacity: 0.28; transform: scale(1.1); }
}

.ecosystem-premium {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 56px 40px 52px;
    margin-bottom: 50px;
    overflow: hidden;
    color: #1F2937;
    border: 2px solid #C8962A;
    box-shadow: 0 4px 24px rgba(200,150,42,0.12), 0 1px 4px rgba(16,42,67,0.04);
}
.ecosystem-premium::before {
    content: '';
    position: absolute;
    left: 50%; top: 58%;
    transform: translate(-50%, -50%);
    width: 520px; height: 400px;
    background: radial-gradient(ellipse, rgba(30,90,168,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.ecp {
    position: absolute;
    left: var(--ex);
    top: var(--ey);
    width: var(--es);
    height: var(--es);
    border-radius: 50%;
    background: rgba(14,165,233,0.6);
    pointer-events: none;
    animation: eco-particle-rise var(--ed) ease-in-out var(--edl) infinite;
}
.eco-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16,42,67,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,42,67,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}
/* Glow blobs hidden on light theme */
.eco-glow { display: none; }
.eco-inner   { position: relative; z-index: 2; }
.eco-header  { text-align: center; margin-bottom: 40px; }
.eco-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    color: #102A43;
    -webkit-text-fill-color: #102A43;
    background: none;
}
.eco-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.78;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Diagram container */
.eco-diagram {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 420px;
    margin: 0 auto;
}
.eco-lines-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.eco-line {
    stroke-width: 1.5;
    stroke-dasharray: 8 7;
    animation: eco-line-flow 3s linear infinite;
}
.eco-line-blue { stroke: url(#eco-line-blue); }
.eco-line-red  { stroke: url(#eco-line-red);  }

/* Node base — clean institutional card */
.eco-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1.5px solid rgba(16,42,67,0.10);
    box-shadow: 0 4px 16px rgba(16,42,67,0.08), 0 1px 4px rgba(16,42,67,0.04);
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s ease, border-color 0.28s ease;
    text-decoration: none;
    color: #1F2937;
}

/* Center: Innovation Hub — keep dark navy for contrast */
.eco-center {
    width: 168px; height: 160px;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: linear-gradient(145deg, #102A43 0%, #1E5AA8 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(16,42,67,0.30), 0 2px 8px rgba(16,42,67,0.15);
    animation: none;
    z-index: 3;
    color: #fff;
}
.eco-center:hover {
    transform: translate(-50%,-50%) scale(1.06);
    box-shadow: 0 14px 40px rgba(16,42,67,0.38);
}

/* Subtle pulse rings on center node */
.eco-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 20px;
    border: 1.5px solid rgba(30,90,168,0.35);
    animation: eco-ring-pulse 3s ease-out infinite;
    pointer-events: none;
}
.eco-ring.r2 { animation-delay: 1.5s; }

/* Orbit nodes */
.eco-orbit {
    width: 144px; height: 124px;
}
.eco-tl { top: 4%;    left: 2%;  }
.eco-tr { top: 4%;    right: 2%; }
.eco-bl { bottom: 4%; left: 2%;  }
.eco-br { bottom: 4%; right: 2%; }

/* Right-side nodes: Nepal Red top border accent */
.eco-tr,
.eco-br {
    border-color: rgba(193,18,31,0.18);
    border-top: 3px solid #C1121F;
}

.eco-orbit:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 12px 32px rgba(16,42,67,0.14), 0 2px 8px rgba(16,42,67,0.06);
    border-color: rgba(30,90,168,0.30);
}
.eco-tl:hover,
.eco-bl:hover {
    border-top: 3px solid #1E5AA8;
}
.eco-tr:hover,
.eco-br:hover {
    box-shadow: 0 12px 32px rgba(193,18,31,0.12), 0 2px 8px rgba(193,18,31,0.06);
}

/* Node inner layout */
.eco-node-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 12px;
    text-align: center;
}

/* Icon with light background circle */
.eco-icon {
    position: relative;
    width: 40px; height: 40px;
    color: #1E5AA8;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EFF6FF;
    border-radius: 10px;
}
.eco-icon::before { display: none; }
.eco-center .eco-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 12px;
}
.eco-icon svg { width: 65%; height: 65%; position: relative; z-index: 1; }

.eco-tr .eco-icon,
.eco-br .eco-icon {
    color: #C1121F;
    background: #FEF2F2;
}

.eco-node-name {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #102A43;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.eco-center .eco-node-name {
    font-size: 14px;
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: #fff;
}
.eco-node-label {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 9.5px;
    color: #9CA3AF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}
.eco-center .eco-node-label {
    color: rgba(255,255,255,0.60);
}

/* Nepal flag badge — top right of container */
.eco-flag-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-bottom-left-radius: 14px;
    border-top-right-radius: 20px;
    padding: 10px 18px 10px 14px;
    border-left: 2px solid #C8962A;
    border-bottom: 2px solid #C8962A;
    box-shadow: -2px 2px 12px rgba(200,150,42,0.15);
    z-index: 10;
}
.eco-flag-img {
    width: 36px;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.eco-flag-label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #102A43;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Gold logo-color border on all orbit cards */
.eco-orbit {
    border: 2px solid #C8962A !important;
}
/* Override — keep red top accent on right-side cards */
.eco-tr,
.eco-br {
    border-top: 3px solid #C1121F !important;
    border-left: 2px solid #C8962A !important;
    border-right: 2px solid #C8962A !important;
    border-bottom: 2px solid #C8962A !important;
}

/* Accent line below eco-header */
.eco-header::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #1E5AA8, #C1121F);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* Tablet: scale diagram to fit */
@media (max-width: 768px) and (min-width: 641px) {
    .eco-diagram {
        transform: scale(0.82);
        transform-origin: top center;
        height: 345px;
        margin-bottom: -36px;
    }
}
/* Mobile: CSS grid layout */
@media (max-width: 640px) {
    .ecosystem-premium { padding: 36px 20px 32px; }
    .eco-title         { font-size: 22px; }
    .eco-subtitle      { font-size: 14px; }
    .eco-header        { margin-bottom: 28px; }
    .eco-diagram {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        max-width: 380px;
    }
    .eco-lines-svg { display: none; }
    .eco-ring      { display: none; }
    .eco-node {
        position: static;
        width: auto;
        height: auto;
        min-height: 96px;
        border-radius: 14px;
    }
    .eco-center {
        grid-column: 1 / -1;
        transform: none;
        height: 88px;
    }
    .eco-center:hover { transform: scale(1.02); }
    .eco-orbit:hover  { transform: translateY(-3px) scale(1.04); }
}

/* About CTA */
.about-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* IoT EduLab specific gradient */
.division-card:first-child .division-icon span:first-child {
    background: linear-gradient(135deg, var(--accent-science), var(--accent-tech));
}

/* NASE Edutran specific gradient */
.division-card:last-child .division-icon span:first-child {
    background: linear-gradient(135deg, var(--accent-arts), var(--accent-math));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .divisions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-mission {
        padding: 30px 20px;
    }
    
    .mission-text h3 {
        font-size: 28px;
    }
    
    .mission-text p {
        font-size: 16px;
    }
    
    .division-card {
        padding: 30px 25px;
    }
    
    .division-card h3 {
        font-size: 24px;
    }
    
    .division-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .about-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .division-icon span {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .division-card h3 {
        font-size: 22px;
    }
    
    .feature-list li {
        font-size: 14px;
    }
    
    .division-stats .stat-number {
        font-size: 20px;
    }
    
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .about-section {
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    }
    
    .about-mission,
    .division-card {
        background: #2d2d2d;
    }
    
    .mission-text p,
    .division-card h3,
    .feature-list li {
        color: #ffffff;
    }
    
    .division-description p {
        color: #cccccc;
    }
    
    .feature-list li {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .feature-list li:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}
/* ===== CLICKABLE DIVISION CARDS ===== */
.division-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.division-card-link:hover {
    transform: translateY(-10px);
}

.division-card-link .division-card {
    height: 100%;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.division-card-link:hover .division-card {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Add a subtle indicator that card is clickable */
.division-card-link .division-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 52, 97, 0.05), rgba(255, 87, 34, 0.05));
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
    z-index: 1;
}

.division-card-link:hover .division-card::after {
    opacity: 1;
}

/* Card footer with Learn More */
.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: right;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.learn-more i {
    transition: transform var(--transition-fast);
}

.division-card-link:hover .learn-more {
    color: var(--secondary);
}

.division-card-link:hover .learn-more i {
    transform: translateX(5px);
}

/* Ensure the entire card is clickable */
.division-card-link .division-card * {
    position: relative;
    z-index: 2;
}

/* Remove any default link styles */
.division-card-link,
.division-card-link:hover,
.division-card-link:focus,
.division-card-link:active {
    text-decoration: none;
    color: inherit;
    outline: none;
}

/* Focus state for accessibility */
.division-card-link:focus-visible .division-card {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-footer {
        text-align: center;
    }
    
    .division-card-link:hover {
        transform: translateY(-5px);
    }
}

/* ===== PROFESSIONAL DIVISION CARDS ===== */

.divisions-grid-3d {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 40px auto;
}

/* 3D Card Container */
.division-card-3d {
    text-decoration: none;
    display: block;
    position: relative;
    height: 380px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.division-card-3d:nth-child(1) { animation: float 6s ease-in-out infinite; }
.division-card-3d:nth-child(2) { animation: float 6s ease-in-out 1.5s infinite; }

.division-card-3d:hover {
    transform: translateY(-14px) rotateX(5deg);
    animation-play-state: paused;
}

/* Card Inner */
.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

/* Card Front */
.card-3d-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    border-radius: 24px;
    padding: 25px 20px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 3D Back Layer (for depth) */
.card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f0f5ff, #e6ecf8);
    border-radius: 24px;
    transform: translateZ(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: -1;
}

/* Card Specific Gradients */
.division-card-3d:first-child .card-3d-front {
    background: linear-gradient(145deg, #ffffff, #f8fcff);
    border-bottom: 4px solid #00BCD4;
}

.division-card-3d:last-child .card-3d-front {
    background: linear-gradient(145deg, #ffffff, #fcf5ff);
    border-bottom: 4px solid #9C27B0;
}

/* Logo Space */
.logo-space {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.division-card-3d:hover .logo-space {
    transform: scale(1.05) translateZ(20px);
    box-shadow: 0 20px 35px rgba(29, 52, 97, 0.2);
}

.division-logo {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* Fallback if no logo */
.logo-space.no-logo::before {
    content: attr(data-initial);
    font-size: 40px;
    font-weight: bold;
    color: var(--primary);
}

.logo-space.no-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    border-radius: 30px;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 50%, rgba(29, 52, 97, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.division-card-3d:hover .logo-glow {
    opacity: 1;
}

/* Card Title */
.card-3d-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.card-3d-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* 3D Stats */
.card-3d-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 12px 0;
    background: rgba(29, 52, 97, 0.03);
    border-radius: 20px;
    transform-style: preserve-3d;
}

.stat-3d {
    text-align: center;
    transform: translateZ(5px);
}

.stat-3d-number {
    display: block;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-3d-label {
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3D Features - Reduced to 3 points */
.feature-3d {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.feature-3d li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: white;
    border-radius: 12px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.division-card-3d:hover .feature-3d li {
    transform: translateX(5px) translateZ(10px);
    box-shadow: 0 6px 12px rgba(29, 52, 97, 0.08);
}

.feature-3d li span {
    font-size: 16px;
    width: 24px;
}

/* Card Footer */
.card-3d-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px dashed #e2e8f0;
    transform-style: preserve-3d;
}

.learn-3d {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrow-3d {
    font-size: 18px;
    color: var(--primary);
    transition: transform 0.3s ease;
    display: inline-block;
}

.division-card-3d:hover .arrow-3d {
    transform: translateX(8px) translateZ(15px);
}

/* 3D Depth Effect */
.division-card-3d::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(145deg, rgba(29, 52, 97, 0.2), rgba(255, 87, 34, 0.1));
    border-radius: 24px;
    z-index: -2;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.division-card-3d:hover::before {
    opacity: 1;
}

/* IoT EduLab Specific Styles */
.division-card-3d:first-child .stat-3d-number {
    background: linear-gradient(135deg, #00BCD4, #1D3461);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.division-card-3d:first-child .learn-3d {
    color: #00BCD4;
}

.division-card-3d:first-child .arrow-3d {
    color: #00BCD4;
}

/* NASE Edutran Specific Styles */
.division-card-3d:last-child .stat-3d-number {
    background: linear-gradient(135deg, #9C27B0, #FF5722);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.division-card-3d:last-child .learn-3d {
    color: #9C27B0;
}

.division-card-3d:last-child .arrow-3d {
    color: #9C27B0;
}

/* ── New professional card styles ── */
.div-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}

.div-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(29,52,97,0.14);
}

/* Top accent bar */
.div-card-accent {
    height: 5px;
    width: 100%;
    flex-shrink: 0;
}
.iot-accent      { background: linear-gradient(90deg, #1D3461, #2E5A9C); }
.edutran-accent  { background: linear-gradient(90deg, #C8962A, #e8aa30); }

.div-card-body {
    padding: 28px 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* Head */
.div-card-head { display: flex; flex-direction: column; gap: 6px; }

.div-card-meta { display: flex; align-items: center; gap: 10px; }

.div-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 3px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.div-title {
    font-size: 24px;
    font-weight: 800;
    color: #1D3461;
    line-height: 1.2;
    margin: 0;
}

.div-sub {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Stats row */
.div-stats {
    display: flex;
    gap: 0;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.div-stat {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.div-stat:last-child { border-right: none; }

.div-stat strong {
    font-size: 22px;
    font-weight: 800;
    color: #1D3461;
    line-height: 1;
}

.div-stat span {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature list */
.div-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.div-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.div-features li:hover {
    background: #eef3fb;
    border-color: #1D3461;
    transform: translateX(4px);
}

.div-features li i {
    width: 16px;
    color: #C8962A;
    font-size: 13px;
    flex-shrink: 0;
}

/* Footer link */
.div-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
    color: #1D3461;
    letter-spacing: 0.3px;
    margin-top: auto;
}

.div-footer i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.div-card:hover .div-footer i { transform: translateX(5px); }

/* Responsive */
@media (max-width: 991px) {
    .divisions-grid { grid-template-columns: 1fr; gap: 24px; }
    .division-card  { padding: 28px 22px; }
    .about-mission  { padding: 32px 24px; }
    .mission-text h3 { font-size: 24px; }
}

@media (max-width: 768px) {
    .divisions-grid-3d { grid-template-columns: 1fr; max-width: 480px; }
    .about-mission  { padding: 24px 18px 20px; }
    .mission-text h3 { font-size: 20px; }
    .mission-text p  { font-size: 14px; }
    .division-card  { padding: 22px 16px; }
    .division-card h3 { font-size: 18px; }
    .division-icon span { width: 56px; height: 56px; font-size: 32px; }
}

@media (max-width: 480px) {
    .div-card-body  { padding: 18px 14px; }
    .div-title      { font-size: 18px; }
    .div-stat strong { font-size: 16px; }
    .about-mission  { padding: 18px 14px; border-radius: 14px; }
    .mission-text h3 { font-size: 18px; }
    .division-card  { padding: 18px 12px; border-radius: 14px; }
}