/* ========================================
   محو الأمية المعلوماتية في العمليات الفنية
   Custom Styles - Arabic RTL Website
   ======================================== */

/* CSS Variables - Elegant Teal & Gold Theme */
:root {
    /* Primary Colors - Deep Teal */
    --primary-dark: #0a4d4a;
    --primary: #0d6966;
    --primary-light: #128f8b;

    /* Accent Colors - Warm Gold */
    --accent-dark: #c4940a;
    --accent: #e6ad0f;
    --accent-light: #f4c430;

    /* Neutral Colors */
    --dark: #1a1a2e;
    --dark-secondary: #16213e;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;
    --light: #f8f9fa;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    --gradient-hero: linear-gradient(135deg, #0a4d4a 0%, #16213e 50%, #1a1a2e 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(13, 105, 102, 0.3);

    /* Typography */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== Preloader ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.loader p {
    margin-top: 20px;
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.book {
    position: relative;
    width: 80px;
    height: 60px;
    margin: 0 auto;
}

.book .page {
    position: absolute;
    width: 30px;
    height: 40px;
    background: var(--accent);
    border-radius: 0 5px 5px 0;
    transform-origin: left center;
    animation: flip 1.5s ease-in-out infinite;
}

.book .page:nth-child(1) {
    animation-delay: 0s;
    right: 10px;
}

.book .page:nth-child(2) {
    animation-delay: 0.15s;
    right: 15px;
}

.book .page:nth-child(3) {
    animation-delay: 0.3s;
    right: 20px;
}

@keyframes flip {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(-180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ========== Navigation ========== */
.navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--accent);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(230, 173, 15, 0.2);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 15px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-toggler {
    border: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.geometric-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(230, 173, 15, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: rgba(230, 173, 15, 0.15);
    animation: floatIcon 8s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

.floating-icons i:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 3s;
}

.floating-icons i:nth-child(4) {
    bottom: 30%;
    right: 10%;
    animation-delay: 4.5s;
}

.floating-icons i:nth-child(5) {
    bottom: 15%;
    left: 25%;
    animation-delay: 6s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.25;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 173, 15, 0.15);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 173, 15, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--dark);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 173, 15, 0.4);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    z-index: 2;
}

.illustration-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.book-stack {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.book-stack .book {
    width: 40px;
    height: 120px;
    border-radius: 5px;
    animation: none;
}

.book-stack .book-1 {
    background: var(--accent);
    transform: rotate(-5deg);
}

.book-stack .book-2 {
    background: var(--primary);
    height: 130px;
}

.book-stack .book-3 {
    background: #e74c3c;
    transform: rotate(5deg);
}

.data-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.flow-item {
    width: 50px;
    height: 50px;
    background: rgba(230, 173, 15, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: var(--white);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ========== Section Styles ========== */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 5px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-decoration span {
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.title-decoration i {
    color: var(--accent);
    font-size: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========== About Section ========== */
#about p {
    font-size: 20px
}

.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    position: relative;
}

.about-content {
    height: 100%;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}


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

.about-card.main-card {
    background: var(--gradient-primary);
    color: var(--white);
}

.about-card.main-card h3 {
    color: var(--white);
}

.about-card.main-card .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-card p {
    line-height: 1.9;
}

.keywords-box {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.keywords-box h4 {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.keywords-box h4 i {
    color: var(--accent);
}

.keywords-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.keywords-tags .tag {
    background: rgba(230, 173, 15, 0.15);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    border: 1px solid rgba(230, 173, 15, 0.3);
    transition: var(--transition-normal);
}

.keywords-tags .tag:hover {
    background: var(--accent);
    color: var(--dark);
}

/* ========== Processes Section ========== */
.processes-section {
    background: var(--white);
    position: relative;
}

/* Process Split Container */
.process-split-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 0;
    margin-top: 40px;
    position: relative;
}

.process-split-container.content-active {
    gap: 40px;
}

/* Process Cards Wrapper */
.process-cards-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: fit-content;
}

/* When content is shown, cards move to the side */
.process-split-container.content-active .process-cards-wrapper {
    flex: 0 0 280px;
}

.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
    max-width: 350px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When content is shown, make cards smaller */
.process-split-container.content-active .process-cards-grid {
    gap: 15px 20px;
    max-width: 280px;
}

.process-split-container.content-active .process-card-icon {
    width: 80px;
    height: 80px;
}

.process-split-container.content-active .process-card-icon i {
    font-size: 1.5rem;
}

.process-split-container.content-active .process-card-label {
    font-size: 0.85rem;
}

/* Center the 5th (last) card */
.process-cards-grid .process-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
}

/* Process Content Wrapper */
.process-content-wrapper {
    display: none;
    flex: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
}

.process-split-container.content-active .process-content-wrapper {
    display: block;
    flex: 1.5;
    width: auto;
    opacity: 1;
    animation: slideInContent 0.5s ease forwards;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Back Button */
.back-to-cards-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 20px;
    font-family: var(--font-primary);
}

.process-split-container.content-active .back-to-cards-btn {
    display: inline-flex;
}

.back-to-cards-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.back-to-cards-btn i {
    transition: transform 0.3s ease;
}

.back-to-cards-btn:hover i {
    transform: translateX(5px);
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 15px;
}

.process-card-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-card-icon i {
    font-size: 2rem;
    color: #9e9e9e;
    transition: var(--transition-normal);
}

.process-card-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: var(--transition-normal);
}

/* Hover State */
.process-card:hover .process-card-icon {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 105, 102, 0.15);
}

.process-card:hover .process-card-icon i {
    color: var(--primary);
}

/* Active State */
.process-card.active .process-card-icon {
    border-color: var(--primary);
    border-width: 3px;
    background: rgba(13, 105, 102, 0.05);
    box-shadow: 0 8px 25px rgba(13, 105, 102, 0.2);
}

.process-card.active .process-card-icon i {
    color: var(--primary);
}

.process-card.active .process-card-label {
    color: var(--primary);
    font-weight: 700;
}

/* Different icon colors based on index */
.process-card:nth-child(1) .process-card-icon i {
    color: #e74c3c;
}

.process-card:nth-child(2) .process-card-icon i {
    color: #3498db;
}

.process-card:nth-child(3) .process-card-icon i {
    color: #f39c12;
}

.process-card:nth-child(4) .process-card-icon i {
    color: #2ecc71;
}

.process-card:nth-child(5) .process-card-icon i {
    color: #9b59b6;
}

.process-card:nth-child(1):hover .process-card-icon,
.process-card:nth-child(1).active .process-card-icon {
    border-color: #e74c3c;
}

.process-card:nth-child(2):hover .process-card-icon,
.process-card:nth-child(2).active .process-card-icon {
    border-color: #3498db;
}

.process-card:nth-child(3):hover .process-card-icon,
.process-card:nth-child(3).active .process-card-icon {
    border-color: #f39c12;
}

.process-card:nth-child(4):hover .process-card-icon,
.process-card:nth-child(4).active .process-card-icon {
    border-color: #2ecc71;
}

.process-card:nth-child(5):hover .process-card-icon,
.process-card:nth-child(5).active .process-card-icon {
    border-color: #9b59b6;
}

.process-card:nth-child(1).active .process-card-label {
    color: #e74c3c;
}

.process-card:nth-child(2).active .process-card-label {
    color: #3498db;
}

.process-card:nth-child(3).active .process-card-label {
    color: #f39c12;
}

.process-card:nth-child(4).active .process-card-label {
    color: #2ecc71;
}

.process-card:nth-child(5).active .process-card-label {
    color: #9b59b6;
}

/* Responsive Split Layout */
@media (max-width: 991px) {
    .process-split-container {
        flex-direction: column;
        gap: 30px;
    }

    .process-split-container.content-active .process-cards-wrapper {
        flex: none;
    }

    .process-split-container.content-active .process-content-wrapper {
        flex: none;
    }
}

/* Responsive Grid */
@media (max-width: 576px) {
    .process-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 25px;
        max-width: 260px;
    }

    .process-card-icon {
        width: 100px;
        height: 100px;
    }

    .process-card-icon i {
        font-size: 1.8rem;
    }

    .process-card-label {
        font-size: 0.85rem;
    }

    .process-split-container.content-active .process-card-icon {
        width: 60px;
        height: 60px;
    }

    .process-split-container.content-active .process-card-icon i {
        font-size: 1.2rem;
    }
}

/* Old tabs styles - kept for fallback */
.process-tabs {
    margin-top: 40px;
}

.process-tabs .nav-pills {
    background: var(--light);
    padding: 10px;
    border-radius: var(--radius-lg);
    gap: 10px;
    flex-wrap: wrap;
}

.process-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    background: transparent;
}

.process-tabs .nav-link i {
    font-size: 1.2rem;
}

.process-tabs .nav-link:hover {
    background: rgba(13, 105, 102, 0.1);
    color: var(--primary);
}

.process-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.process-content {
    padding: 20px 0;
}

/* Tab content in split view */
.process-content-wrapper .tab-content {
    margin-top: 0;
}

.process-content-wrapper .tab-pane {
    animation: fadeInContent 0.5s ease forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-text {
    position: relative;
}

.process-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(13, 105, 102, 0.1);
    position: absolute;
    top: -40px;
    right: 0;
    line-height: 1;
    z-index: 0;
}

.process-text h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.process-text h3 .en-term {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.process-text .lead {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.process-details h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-details h5 i {
    color: var(--accent);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li i {
    color: var(--primary);
    margin-top: 5px;
}

/* Process Visual Cards */
.process-visual {
    height: 100%;
    display: flex;
    align-items: center;
}

.visual-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Video player takes full width */
.process-visual .video-player-wrapper {
    width: 100%;
}

.visual-icon {
    width: 80px;
    height: 80px;
    background: rgba(230, 173, 15, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.visual-icon i {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Supply Visual */
.visual-flow {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.flow-step:hover {
    background: rgba(230, 173, 15, 0.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.step-text {
    color: var(--white);
    font-weight: 500;
}

.flow-connector {
    width: 2px;
    height: 20px;
    background: var(--accent);
    margin-right: 19px;
}

/* Classification Visual */
.classification-tree {
    width: 100%;
    text-align: center;
}

.tree-node {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-weight: 700;
    margin-bottom: 20px;
}

.main-node {
    font-size: 1.2rem;
}

.tree-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.branch {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.branch .tree-node {
    padding: 5px 15px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.branch span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Cataloging Visual */
.catalog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    box-shadow: var(--shadow-md);
}

.card-header-viz {
    background: var(--primary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.call-number,
.entry-type {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-body-viz {
    padding: 20px;
}

.card-body-viz p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.card-footer-viz {
    background: var(--light);
    padding: 15px;
}

.card-footer-viz .subject {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Access Visual */
.access-diagram {
    width: 100%;
    position: relative;
}

.center-hub {
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.center-hub i {
    font-size: 2rem;
    color: var(--dark);
}

.center-hub span {
    font-size: 0.8rem;
    color: var(--dark);
    font-weight: 600;
}

.access-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.access-point {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    min-width: 80px;
}

.access-point i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.access-point span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Abstract Visual */
.abstract-demo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.original-doc,
.abstract-result {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 250px;
}

.doc-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-lines {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-lines span {
    height: 10px;
    background: var(--light);
    border-radius: 5px;
}

.doc-lines span:nth-child(odd) {
    width: 100%;
}

.doc-lines span:nth-child(even) {
    width: 80%;
}

.doc-lines.short span {
    height: 12px;
    background: var(--accent);
}

.arrow-transform {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent);
}

.arrow-transform i {
    font-size: 1.5rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

.arrow-transform span {
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* Subject Cataloging Visual - Tag Cloud */
.subject-visual {
    min-height: 350px;
}

.subject-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.subject-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.subject-tag:hover {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.05);
}

.subject-tag.medium {
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(230, 173, 15, 0.2);
    border-color: var(--accent);
}

.subject-tag.large {
    font-size: 1.1rem;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 600;
}

/* Indexing Visual - Index List */
.indexing-visual {
    min-height: 350px;
}

.index-list {
    width: 100%;
    max-width: 280px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.index-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--light);
    transition: var(--transition-normal);
}

.index-item:last-child {
    border-bottom: none;
}

.index-item:hover {
    background: rgba(13, 105, 102, 0.05);
}

.index-term {
    color: var(--primary);
    font-weight: 600;
}

.index-pages {
    color: var(--text-muted);
    font-size: 0.9rem;
    direction: ltr;
}

/* Video Player for Process Visual */
.video-player-wrapper {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-weight: 500;
}

.video-caption i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Video placeholder when no video is set */
.video-player-container iframe[src*="VIDEO_ID"] {
    display: none;
}

.video-player-wrapper:has(iframe[src*="VIDEO_ID"])::before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
    background: var(--gradient-dark);
}

.video-player-wrapper:has(iframe[src*="VIDEO_ID"])::after {
    content: 'أضف رابط الفيديو هنا';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Responsive video */
@media (max-width: 991px) {
    .video-player-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .video-caption {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .video-caption i {
        font-size: 1rem;
    }
}

/* ========== Test Understanding / Quiz Section ========== */
.test-understanding-section {
    margin-top: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(13, 105, 102, 0.1);
}

.test-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(13, 105, 102, 0.2);
}

.test-title i {
    font-size: 1.6rem;
    color: var(--accent);
}

/* Quiz Container */
.quiz-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Quiz Question Card */
.quiz-question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.quiz-question-card:hover {
    box-shadow: var(--shadow-md);
}

.quiz-question-card.answered {
    pointer-events: none;
}

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

.question-header .question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    font-family: var(--font-primary);
}

.quiz-option:hover:not(.correct):not(.wrong):not(.disabled) {
    border-color: var(--primary);
    background: rgba(13, 105, 102, 0.05);
    transform: translateY(-2px);
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--light);
    color: var(--text-dark);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex: 1;
}

/* Correct Answer Animation */
.quiz-option.correct {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    animation: correctPulse 0.6s ease;
}

.quiz-option.correct .option-letter {
    background: #27ae60;
    color: var(--white);
}

@keyframes correctPulse {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(39, 174, 96, 0.5);
    }

    75% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

/* Wrong Answer Animation */
.quiz-option.wrong {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    animation: wrongShake 0.6s ease;
}

.quiz-option.wrong .option-letter {
    background: #e74c3c;
    color: var(--white);
}

@keyframes wrongShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Disabled options after answering */
.quiz-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-option.disabled:hover {
    transform: none;
    border-color: #e0e0e0;
    background: var(--white);
}

/* Show correct answer when wrong is selected */
.quiz-option.show-correct {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.quiz-option.show-correct .option-letter {
    background: #27ae60;
    color: var(--white);
}

/* Result Feedback */
.result-feedback {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: none;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.4s ease;
}

.result-feedback.show {
    display: flex;
}

.result-feedback.correct {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.result-feedback.wrong {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.result-feedback i {
    font-size: 1.5rem;
}

.result-feedback.correct i {
    color: #27ae60;
}

.result-feedback.wrong i {
    color: #e74c3c;
}

.result-feedback span {
    font-weight: 600;
    font-size: 1rem;
}

.result-feedback.correct span {
    color: #27ae60;
}

.result-feedback.wrong span {
    color: #e74c3c;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quiz responsive */
@media (max-width: 768px) {
    .test-understanding-section {
        padding: 20px;
        margin-top: 30px;
    }

    .test-title {
        font-size: 1.2rem;
    }

    .quiz-question-card {
        padding: 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .question-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .test-understanding-section {
        padding: 15px;
    }

    .quiz-question-card {
        padding: 15px;
    }

    .question-header .question-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .quiz-option {
        padding: 12px 15px;
    }

    .option-letter {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .option-text {
        font-size: 0.9rem;
    }
}

/* ========== Videos Section ========== */
.videos-section {
    background: var(--light);
}

.video-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

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

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(230, 173, 15, 0.5);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.video-info {
    padding: 20px;
}

.video-category {
    display: inline-block;
    background: rgba(13, 105, 102, 0.1);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-info h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== Resources Section ========== */
.resources-section {
    background: var(--white);
}

.resource-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.resource-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.resource-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.scrollable-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for Resource List */
.scrollable-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.resource-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    position: relative;
    padding-right: 15px;
}

.resource-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-normal);
}

.resource-link:hover {
    color: var(--accent);
    gap: 15px;
}

.resource-list li a {
    display: inline-flex;
    align-items: center;
    transition: var(--transition-normal);
}

.resource-list li a i {
    margin-left: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.resource-list li a:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

.game-link {
    border-bottom: none !important;
}

.game-link .btn-outline-info {
    border-color: var(--primary);
    color: var(--primary);
    border-width: 2px;
}

.resource-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.5;
}

.resource-list li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}



/* ========== FAQ Section ========== */
.faq-section {
    background: var(--light);
}

.accordion-item {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md) !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 25px;
    color: var(--dark);
    gap: 15px;
}

.accordion-button i {
    width: 30px;
    height: 30px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 0.8rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6966'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    color: var(--text-dark);
    line-height: 1.9;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--white);
    position: relative;
}

.contact-info {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    color: var(--white);
}

.contact-info h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.info-items {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 173, 15, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.info-text h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
}

.form-control {
    border: 2px solid var(--light);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 105, 102, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: none;
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========== Footer ========== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.footer-links h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.footer-newsletter h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form button {
    background: var(--gradient-accent);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

/* ========== Video Modal ========== */
.modal-content {
    background: var(--dark);
    border: none;
    border-radius: var(--radius-lg);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.modal-title {
    color: var(--white);
}

.btn-close {
    filter: invert(1);
}

.video-placeholder {
    background: var(--gradient-dark);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.5);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* ========== Responsive Styles ========== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        margin-top: 15px;
        padding: 20px;
        border-radius: var(--radius-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-illustration {
        margin-top: 50px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-tabs .nav-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .process-tabs .nav-link {
        white-space: nowrap;
        padding: 12px 20px;
    }

    .process-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 30px;
        max-width: 320px;
    }

    .process-card-icon {
        width: 120px;
        height: 120px;
    }

    .process-card-icon i {
        font-size: 2rem;
    }

    .process-split-container.content-active .process-card-icon {
        width: 70px;
        height: 70px;
    }

    .process-split-container.content-active .process-card-icon i {
        font-size: 1.3rem;
    }

    .process-number {
        font-size: 4rem;
    }

    .visual-card {
        min-height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .process-text h3 {
        font-size: 1.5rem;
    }

    .process-number {
        font-size: 3rem;
        top: -30px;
    }

    .video-filter {
        gap: 5px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-top {
        padding: 50px 0 30px;
    }
}

@media (max-width: 575px) {
    .navbar-brand span {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .about-card {
        padding: 20px;
    }

    .keywords-tags .tag {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .process-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .process-tabs .nav-link i {
        font-size: 1rem;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 15px 20px;
    }

    .contact-info {
        padding: 25px;
    }

    .info-item {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }
}

/* ========== Animation Classes ========== */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Item Animation for Filter */
.video-item {
    transition: all 0.4s ease;
}

.video-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

.video-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
}

/* ========== Rating Stars ========== */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition-normal);
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
    color: var(--accent);
}

.star-rating label:active {
    transform: scale(0.9);
}

.rating-modal .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
}

.rating-modal .modal-header {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 20px;
}

.rating-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.rating-modal .modal-body {
    padding: 30px;
}

.rating-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.rating-success-message i {
    font-size: 4rem;
    color: #2ecc71;
}

.rating-form h5 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
}

.rating-form .form-control {
    border-radius: var(--radius-md);
    padding: 12px 15px;
    border: 2px solid #eee;
    transition: var(--transition-normal);
}

.rating-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}