/* ===== DIVISION PAGES SHARED STYLES ===== */
/* Used for both IoT EduLab and NASE Edutran pages */

:root {
    --iot-primary: #00BCD4;
    --iot-secondary: #FF9800;
    --edutran-primary: #9C27B0;
    --edutran-secondary: #FF5252;
}

/* ===== DIVISION HERO SECTION ===== */
.division-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.iot-hero {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.edutran-hero {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(255, 82, 82, 0.1) 100%);
}

.division-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.division-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.iot-hero .division-badge .badge-icon {
    color: var(--iot-primary);
}

.edutran-hero .division-badge .badge-icon {
    color: var(--edutran-primary);
}

.badge-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.division-title {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.title-line {
    display: block;
}

.division-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.division-cta {
    display: flex;
    gap: 20px;
}

/* Hero Floating Elements */
.floating-robots,
.floating-elements {
    position: relative;
    height: 400px;
}

.floating-robot,
.floating-element {
    position: absolute;
    font-size: 60px;
    animation: floatDivision 6s ease-in-out infinite;
}

.floating-robot:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-robot:nth-child(2) { top: 50%; right: 20%; animation-delay: 1s; }
.floating-robot:nth-child(3) { bottom: 20%; left: 30%; animation-delay: 2s; }
.floating-robot:nth-child(4) { top: 30%; right: 10%; animation-delay: 3s; }

@keyframes floatDivision {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

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

/* ===== WHAT IS SECTION ===== */
.what-is-section {
    padding: 100px 0;
    background: white;
}

.what-is-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.lead-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.key-point {
    text-align: center;
}

.key-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.key-point h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.key-point p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, #f8faff, #f0f3ff);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stats-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.stat-row {
    margin-bottom: 20px;
}

.stat-row .stat-label {
    display: inline-block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-row .stat-value {
    float: right;
    font-weight: 700;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(29, 52, 97, 0.1);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 1s ease;
}

/* ===== LEARNING PATHS / SERVICES GRID ===== */
.paths-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

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

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.path-level {
    background: rgba(29, 52, 97, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.path-age {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.path-icon,
.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.path-card h3,
.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.path-description,
.service-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.path-features,
.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.path-features li,
.service-features li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.path-features i,
.service-features i {
    color: var(--primary);
}

.path-duration {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.btn-path,
.btn-service {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-path:hover,
.btn-service:hover {
    transform: translateX(5px);
    color: var(--secondary);
}

/* Featured Card */
.path-card.featured,
.service-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== CURRICULUM TABS ===== */
.curriculum-tabs {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    opacity: 1;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.curriculum-item {
    background: #f8faff;
    padding: 30px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
}

.curriculum-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.item-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.curriculum-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.curriculum-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== COMPETITION / POLICY IMPACT SECTION ===== */
.competition-content,
.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #f8faff, #ffffff);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-top: 50px;
}

.competition-list,
.policy-highlights {
    margin-top: 30px;
}

.competition-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.competition-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.comp-icon {
    font-size: 30px;
}

.competition-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.competition-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.trophy-showcase {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    color: white;
}

.trophy-showcase .trophy {
    font-size: 80px;
    display: block;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.trophy-showcase p {
    font-size: 24px;
    font-weight: 700;
}

/* ===== PROJECTS SHOWCASE ===== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.showcase-item {
    background: white;
    padding: 30px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-fast);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.showcase-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.showcase-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.showcase-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.student-name {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== EQUIPMENT GRID ===== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.equipment-card {
    background: white;
    padding: 25px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-fast);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.equipment-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.equipment-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.equipment-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== TRAINING LEVELS ===== */
.training-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.training-level-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.training-level-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.training-level-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.level-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    text-align: center;
}

.level-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.level-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.level-content {
    padding: 30px;
}

.level-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.level-content ul {
    list-style: none;
    margin: 20px 0;
}

.level-content li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.level-content li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.level-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certification {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.btn-level {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-level:hover {
    transform: translateX(5px);
    color: var(--secondary);
}

/* ===== POLICY HIGHLIGHTS ===== */
.policy-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-muted);
}

.policy-examples {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.policy-examples h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.policy-examples ul {
    list-style: none;
}

.policy-examples li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== SCHOOL STORIES ===== */
.school-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.school-story {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.school-story:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.school-badge {
    display: inline-block;
    background: rgba(29, 52, 97, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.school-story h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.story-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

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

.school-story p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.story-author {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== PARTNERS SECTION ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.partner-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* ===== FAQ SECTION ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: #f8faff;
}

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-fast);
    background: #f8faff;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== ENROLLMENT CTA ===== */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '🤖📋';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.1;
    transform: rotate(-10deg);
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.cta-contact {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 16px;
}

.cta-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .division-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .division-hero-image {
        order: -1;
    }
    
    .division-cta {
        justify-content: center;
    }
    
    .what-is-content {
        grid-template-columns: 1fr;
    }
    
    .paths-grid,
    .services-grid,
    .training-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .competition-content,
    .impact-content {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .division-title {
        font-size: 40px;
    }
    
    .division-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .key-points {
        grid-template-columns: 1fr;
    }
    
    .paths-grid,
    .services-grid,
    .training-levels,
    .curriculum-grid,
    .showcase-grid,
    .equipment-grid,
    .school-stories-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn::after {
        bottom: 0;
    }
    
    .cta-box {
        padding: 50px 30px;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-highlights {
        grid-template-columns: 1fr;
    }
    
    .floating-robot,
    .floating-element {
        font-size: 40px;
    }
}