/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Arial', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: #f8f9fa;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    gap: 10px;
}

.nav-logo i {
    font-size: 2rem;
}

.version-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 8px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-meta {
    margin-bottom: 3rem;
}

.hero-meta > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

.hero-meta i {
    width: 20px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.btn-download {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-download:hover {
    background: linear-gradient(135deg, #218838, #1fa777);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
    text-decoration: none;
    color: white;
}

.btn-download:active {
    transform: translateY(-1px);
}

.btn-download::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.5s ease;
}

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

.download-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.download-main {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.download-sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-download i {
    font-size: 1.3rem;
    animation: downloadPulse 2s infinite ease-in-out;
}

@keyframes downloadPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Video Button Styles */
.btn-video {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-video:hover {
    background: linear-gradient(135deg, #e60000, #b30000);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    text-decoration: none;
    color: white;
}

.btn-video:active {
    transform: translateY(-1px);
}

.btn-video::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.5s ease;
}

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

.video-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.video-main {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.video-sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-video i {
    font-size: 1.3rem;
    animation: videoPulse 2s infinite ease-in-out;
}

@keyframes videoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Download Notification */
.download-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10000;
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    min-width: 250px;
}

/* Video Notification */
.video-notification {
    position: fixed;
    top: 160px;
    right: 30px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10000;
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    min-width: 250px;
}

.download-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.video-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-notification i {
    font-size: 1.2rem;
    color: #fff;
}

/* Mobile notification */
@media screen and (max-width: 768px) {
    .download-notification {
        right: 15px;
        left: 15px;
        right: 15px;
        transform: translateY(-120%);
        min-width: auto;
    }
    
    .download-notification.show {
        transform: translateY(0);
    }
    
    .video-notification {
        right: 15px;
        left: 15px;
        top: 120px;
        transform: translateY(-120%);
        min-width: auto;
    }
    
    .video-notification.show {
        transform: translateY(0);
    }
}

/* Hero Image/Icons */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.icon-item {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: float 3s ease-in-out infinite;
}

.icon-item:nth-child(2) {
    animation-delay: 0.5s;
}

.icon-item:nth-child(3) {
    animation-delay: 1s;
}

.icon-item:nth-child(4) {
    animation-delay: 1.5s;
}

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

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.content-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.content-card p {
    color: #6c757d;
    line-height: 1.8;
}

/* Technologies Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tech-header i {
    font-size: 2.5rem;
    color: #667eea;
}

.tech-header h3 {
    color: #2c3e50;
    margin: 0;
}

.tech-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.8;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Smart Factory Section */
.smart-factory-intro {
    margin-bottom: 60px;
}

.definition-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.definition-card h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.definition-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.highlight {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    border-right: 4px solid #fff;
}

.subsection-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Characteristics Grid */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.char-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.char-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.char-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.char-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.char-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Architecture Section */
.architecture-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.layer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.layer:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.layer-5 { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); color: white; }
.layer-4 { background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%); color: white; }
.layer-3 { background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%); color: white; }
.layer-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.layer-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }

.layer-number {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.layer-content h4 {
    color: inherit;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.layer-content p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.benefit-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    right: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -17px;
    background-color: #667eea;
    border: 4px solid #fff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.timeline-item:nth-child(even)::after {
    right: -16px;
    left: auto;
}

.timeline-item.active::after {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.timeline-content {
    padding: 30px;
    background: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.timeline-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-item.active .timeline-number {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.timeline-period {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-tech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content > p {
    color: #6c757d;
    margin-bottom: 15px;
}

.timeline-impact,
.timeline-industries,
.timeline-force {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid #667eea;
}

/* Integration Section */
.integration-intro {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    border-right: 5px solid #667eea;
}

.integration-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin: 0;
}

.integration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.integration-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.integration-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.integration-header i {
    font-size: 2.5rem;
    color: #667eea;
}

.integration-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.5rem;
}

.integration-description {
    margin-bottom: 25px;
}

.integration-description p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1.1rem;
}

.integration-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.point:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.point i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.point span {
    color: #495057;
    line-height: 1.6;
}

/* Integration Benefits */
.integration-benefits {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.integration-benefits h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.benefit-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    color: white;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.benefit-item:hover h4 {
    color: white;
}

.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.benefit-item:hover p {
    color: rgba(255,255,255,0.9);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Challenges and Risks Section - Enhanced */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.challenge-category {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.challenge-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.challenge-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.challenge-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 30px;
    border-radius: 25px 25px 0 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.challenge-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
    z-index: 1;
}

.challenge-header > * {
    position: relative;
    z-index: 2;
}

.challenge-header.social {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%, #26a69a 200%);
}

.challenge-header.economic {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%, #e91e63 200%);
}

.challenge-header.security {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%, #5a4fcf 200%);
}

.challenge-header i {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.challenge-header h3 {
    margin: 0;
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    font-style: italic;
    font-weight: 300;
    display: block;
    margin-top: 5px;
}

.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.challenge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.challenge-item:hover {
    transform: translateX(-8px);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.challenge-item:hover::before {
    opacity: 1;
}

.challenge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.challenge-item:hover .challenge-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.challenge-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.challenge-item:hover .challenge-content h4 {
    color: #667eea;
}

.challenge-content p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.challenge-item:hover .challenge-content p {
    color: #495057;
}

/* Benefits Section - Enhanced */
.benefits-overview {
    margin: 50px 0;
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #667eea;
}

.economic-impact {
    margin: 60px 0;
    display: flex;
    justify-content: center;
}

.impact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%, #5a4fcf 200%);
    color: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.impact-card:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.impact-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.impact-number {
    font-size: 5rem;
    font-weight: 900;
    margin: 30px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-card p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.impact-note {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefits-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.benefit-category {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    color: white;
    position: relative;
}

.benefit-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid inherit;
}

.benefit-header.productivity {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%, #26a69a 200%);
}

.benefit-header.cost {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%, #e91e63 200%);
}

.benefit-header.quality {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%, #5a4fcf 200%);
}

.benefit-header.innovation {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%, #e53935 200%);
}

.benefit-header i {
    font-size: 2.2rem;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.benefit-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-category p {
    padding: 30px;
    margin: 0;
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Emerging Technologies Section - Enhanced */
.emerging-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tech-item {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4ecdc4);
    background-size: 300% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.tech-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.tech-visual {
    text-align: center;
    margin-bottom: 30px;
    padding: 40px 30px 20px;
    position: relative;
}

.tech-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    border-radius: 25px 25px 0 0;
}

.tech-visual i {
    font-size: 4.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.tech-item:hover .tech-visual i {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.tech-content {
    padding: 20px 30px 40px;
}

.tech-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-content h3 {
    color: #667eea;
}

.tech-subtitle {
    display: block;
    text-align: center;
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 300;
}

.tech-content p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.applications {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
}

.applications::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 15px 15px 0;
}

.tech-item:hover .applications {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(255, 255, 255, 1));
    border-color: rgba(102, 126, 234, 0.2);
}

.applications strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.applications ul {
    margin: 0;
    padding-right: 25px;
    list-style: none;
}

.applications li {
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-right: 25px;
    transition: all 0.3s ease;
}

.applications li::before {
    content: '▶';
    position: absolute;
    right: 0;
    color: #667eea;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tech-item:hover .applications li::before {
    transform: translateX(5px);
    color: #764ba2;
}

.tech-summary {
    margin-top: 60px;
}

.summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.summary-card h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.impact-point {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.impact-point i {
    font-size: 1.5rem;
    color: #fff;
}

.impact-point span {
    font-size: 1rem;
}

.note {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.case-study {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.8s ease;
}

.case-study:hover::before {
    left: 100%;
}

.case-study:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.company-logo {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.company-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.case-study:hover .company-logo::after {
    transform: scale(1);
}

.company-logo i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #667eea;
}

.company-logo h3 {
    color: #2c3e50;
    margin: 0;
}

.case-content h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.case-content p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
}

.innovations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.innovation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.innovation-item i {
    color: #667eea;
    font-size: 1.2rem;
}

/* MES Systems Section */
.mes-overview {
    margin-bottom: 60px;
}

.mes-definition {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.mes-definition h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.mes-definition p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 20px 0 0 0;
}

.architecture-levels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.level {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.level::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: left 0.6s ease;
}

.level:hover::before {
    left: 0;
}

.level:hover {
    transform: translateX(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.level.erp {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.level.mes {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.level.field {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.level-icon {
    margin-bottom: 20px;
}

.level-icon i {
    font-size: 3rem;
}

.level h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.level p {
    margin: 0;
    line-height: 1.6;
}

.level-connector {
    text-align: center;
    margin: 10px 0;
}

.level-connector i {
    font-size: 2rem;
    color: #667eea;
}

.historian-systems {
    margin-bottom: 50px;
}

.sensor-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sensor-category {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.sensor-category:hover {
    transform: translateY(-8px) rotateY(3deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.sensor-category h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.sensor-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sensor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sensor-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-left-color: #667eea;
    transform: translateX(5px);
}

.sensor-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.historian-data {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.historian-systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.historian-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.historian-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Future of Manufacturing Section */
.future-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

@keyframes visionPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2); }
}

.vision-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.vision-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.vision-item:hover::before {
    width: 300px;
    height: 300px;
}

.vision-item:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: rgba(102, 126, 234, 0.3);
    animation: visionPulse 2s ease-in-out infinite;
}

.vision-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: white;
}

.vision-icon.complete-automation {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.vision-icon.smart-manufacturing {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.vision-icon.sustainable {
    background: linear-gradient(135deg, #96c93d 0%, #45b7d1 100%);
}

.vision-icon.future-workforce {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vision-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.vision-content p {
    color: #495057;
    line-height: 1.7;
}

.future-timeline {
    margin-top: 80px;
}

.future-timeline h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2rem;
}

.timeline-future {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

@keyframes timelineFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-5px) rotateX(2deg); }
}

.timeline-period {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 5px solid transparent;
}

.timeline-period::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.timeline-period:hover::after {
    transform: scaleX(1);
}

.timeline-period:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-left-color: #667eea;
    animation: timelineFloat 3s ease-in-out infinite;
}

.period-marker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.period-content h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.period-content ul {
    list-style: none;
    padding: 0;
}

.period-content li {
    color: #495057;
    margin-bottom: 10px;
    padding-right: 25px;
    position: relative;
    line-height: 1.6;
}

.period-content li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #667eea;
    font-weight: bold;
}

/* MxD Institute Section */
.mxd-overview {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.mxd-logo {
    text-align: center;
}

@keyframes logoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.logo-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.6s ease;
    position: relative;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo-placeholder:hover::before {
    opacity: 0.3;
    animation: logoSpin 3s linear infinite;
}

.logo-placeholder:hover {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.logo-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
}

.logo-placeholder span {
    font-size: 2rem;
    font-weight: 900;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

.mxd-info p {
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
}

.mxd-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(102, 126, 234, 0.05) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-item:hover::after {
    transform: translateX(100%);
}

.service-item:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-item p {
    color: #6c757d;
    line-height: 1.6;
}

.mxd-achievements {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.stat-description {
    color: #6c757d;
    line-height: 1.6;
}

.partnerships {
    text-align: center;
}

.partnerships h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.partnerships p {
    color: #495057;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Manufacturing USA Network Section */
.usa-network-overview {
    margin-bottom: 60px;
}

.network-description {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.network-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

.partnership-model {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.partnership-model h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.partnership-model p {
    color: #495057;
    line-height: 1.7;
    margin-top: 15px;
}

.impact-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.impact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.impact-item h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.impact-item p {
    color: #6c757d;
    line-height: 1.7;
}

.innovation-institutes {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.innovation-institutes h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.institutes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.institute-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.institute-category h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.institute-category ul {
    list-style: none;
    padding: 0;
}

.institute-category li {
    color: #495057;
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
    line-height: 1.6;
}

.institute-category li::before {
    content: '▶';
    position: absolute;
    right: 0;
    color: #667eea;
    font-size: 0.8rem;
}

/* Job Roles Section */
.job-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

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

.job-role {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.job-role::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.job-role:hover::before {
    transform: scaleX(1);
}

.job-role:hover {
    transform: translateY(-15px) rotateX(3deg);
    box-shadow: 0 35px 65px rgba(0,0,0,0.2);
    border-color: rgba(102, 126, 234, 0.3);
    animation: jobCardFloat 3s ease-in-out infinite;
}

.role-header {
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.role-header.digital {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.role-header.automation {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.role-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.role-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.job-role:hover .role-icon::before {
    width: 80px;
    height: 80px;
}

.job-role:hover .role-icon {
    transform: rotateY(360deg);
}

.role-header h3 {
    margin: 0;
    color: white;
    font-size: 1.8rem;
}

.role-description {
    padding: 30px 30px 20px;
}

.role-description p {
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.required-skills,
.responsibilities,
.educational-requirements {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
}

.required-skills h4,
.responsibilities h4,
.educational-requirements h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.skill {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.skill:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

.responsibilities ul {
    list-style: none;
    padding: 0;
}

.responsibilities li {
    color: #495057;
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
    line-height: 1.6;
}

.responsibilities li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #667eea;
    font-weight: bold;
}

.educational-requirements p {
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

/* Conclusion Section */
.conclusion-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 50px;
}

@keyframes conclusionGlow {
    0%, 100% { box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 20px 45px rgba(102, 126, 234, 0.2); }
}

.summary-section,
.recommendations-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.summary-section::before,
.recommendations-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.summary-section:hover::before,
.recommendations-section:hover::before {
    opacity: 1;
}

.summary-section:hover,
.recommendations-section:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    animation: conclusionGlow 2s ease-in-out infinite;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: white;
}

.summary-section h3,
.recommendations-section h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
}

.key-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.key-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-right: 4px solid #667eea;
}

.point-icon {
    width: 30px;
    height: 30px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    margin-top: 3px;
}

.key-point p {
    margin: 0;
    color: #495057;
    line-height: 1.7;
    font-size: 1.1rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recommendation {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recommendation:hover {
    border-color: #667eea;
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rec-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.rec-icon.phased {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.rec-icon.education {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rec-icon.collaboration {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rec-icon.security {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.recommendation h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.recommendation p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

@keyframes finalMessagePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.final-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.final-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.8s ease;
}

.final-message:hover::before {
    left: 100%;
}

.final-message:hover {
    animation: finalMessagePulse 2s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.message-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

.message-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.signature {
    font-size: 1.1rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        right: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item::after {
        left: 15px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 15px;
    }
    
    .integration-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-download {
        padding: 12px 20px;
        gap: 10px;
    }
    
    .download-text {
        text-align: center;
    }
    
    .download-main {
        font-size: 1rem;
    }
    
    .download-sub {
        font-size: 0.8rem;
    }
    
    .btn-video {
        padding: 12px 20px;
        gap: 10px;
    }
    
    .video-text {
        text-align: center;
    }
    
    .video-main {
        font-size: 1rem;
    }
    
    .video-sub {
        font-size: 0.8rem;
    }
    
    /* Mobile styles for new sections */
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .emerging-tech-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .future-vision {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-future {
        grid-template-columns: 1fr;
    }
    
    .mxd-overview {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .job-roles-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tech-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .layer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* Small mobile styles for new sections */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .impact-points {
        grid-template-columns: 1fr;
    }
    
    .achievement-stats {
        grid-template-columns: 1fr;
    }
    
    .institutes-grid {
        grid-template-columns: 1fr;
    }
    
    .sensor-types {
        grid-template-columns: 1fr;
    }
    
    .historian-systems-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling utility */
.scroll-smooth {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Architecture Diagram */
.architecture-diagram {
    margin: 80px 0 60px;
    text-align: center;
}

.diagram-title {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.diagram-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.diagram-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 0 auto;
    max-width: 900px;
    transition: all 0.3s ease;
}

.diagram-container:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.diagram-container svg {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* IoT Network Visualization */
.iot-network-section {
    margin: 80px 0 60px;
    text-align: center;
}

.network-diagram {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 40px auto 0;
    max-width: 950px;
    transition: all 0.3s ease;
}

.network-diagram:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.network-diagram svg {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Visual Timeline Graphic */
.visual-timeline {
    margin: 80px 0 60px;
    text-align: center;
}

.timeline-graphic {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 40px auto 0;
    max-width: 1100px;
    transition: all 0.3s ease;
}

.timeline-graphic:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.timeline-graphic svg {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* MES Data Flow Diagram */
.mes-dataflow {
    margin: 80px 0 60px;
    text-align: center;
}

.dataflow-diagram {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 40px auto 0;
    max-width: 1100px;
    transition: all 0.3s ease;
}

.dataflow-diagram:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.dataflow-diagram svg {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Ensure enhanced elements are visible by default */
.challenge-category,
.stat-item,
.tech-category,
.case-study,
.vision-item,
.job-role,
.timeline-period,
.service-item,
.sensor-category,
.level,
.summary-section,
.recommendations-section {
    opacity: 1 !important;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ===============================
   PERSISTENT READING PROGRESS 
   =============================== */

/* Top Progress Bar */
.top-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

/* Persistent Reading Progress Indicator */
.reading-progress-persistent {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    user-select: none;
}

.reading-progress-persistent.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reading-progress-persistent:hover {
    transform: translateY(-5px);
}

.progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.progress-circle:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: rgba(102, 126, 234, 0.2);
    transition: stroke-dasharray 0.3s ease;
}

.progress-ring-fill {
    stroke: #4facfe;
    transition: stroke-dashoffset 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 0 6px rgba(79, 172, 254, 0.4));
}

.progress-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.progress-icon {
    font-size: 14px;
    color: #4facfe;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.progress-text {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    line-height: 1;
}

/* Reading Complete Animation */
.progress-circle.reading-complete {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation: completionPulse 2s infinite;
}

.progress-circle.reading-complete .progress-icon {
    color: white;
    animation: checkBounce 0.6s ease;
}

.progress-circle.reading-complete .progress-text {
    color: white;
    font-weight: 700;
}

.progress-circle.reading-complete .progress-ring-fill {
    stroke: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

/* Animations */
@keyframes completionPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(79, 172, 254, 0.7);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(79, 172, 254, 0);
    }
}

@keyframes checkBounce {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Progress Tooltip */
.progress-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    min-width: 220px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1001;
    font-family: 'Cairo', sans-serif;
}

.reading-progress-persistent:hover .progress-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-header h5 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.tooltip-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tooltip-stat,
.tooltip-progress,
.tooltip-time {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.tooltip-time {
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.current-section,
.sections-completed,
.estimated-time {
    font-weight: 500;
}

/* Tooltip Enhancement */
.reading-progress-persistent::before {
    content: 'انقر للانتقال إلى الأعلى';
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    transform: translateY(10px);
}

.reading-progress-persistent:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .reading-progress-persistent {
        bottom: 20px;
        right: 20px;
    }
    
    .progress-circle {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring-circle,
    .progress-ring-fill {
        r: 21;
        cx: 25;
        cy: 25;
    }
    
    .progress-icon {
        font-size: 12px;
    }
    
    .progress-text {
        font-size: 9px;
    }
    
    .top-progress-bar {
        height: 3px;
    }
}

