/*
* Engineering Firm - Main CSS File
* This file contains styles for the public-facing website
*/

/* Add this to your styles.css */
.bg-hero-image {
    background-color: #fff2f2; /* Light mode color */
}
.carousel-caption .h1{
    color:black;
}
.carousel-caption .h2{
    color:black;
}
html[data-theme='dark'] .bg-hero-image {
    background-color: #1D0002; /* Dark mode color */
}

/* Page Header Dynamic Theme Support */
.page-header {
    background-color: var(--primary-light) !important;
    color: white !important;
    transition: background-color var(--transition-speed) var(--transition-timing);
}

html[data-theme='dark'] .page-header {
    background-color: #1a1a1a !important;
    color: #e8e8e8 !important;
}

/* Dark mode breadcrumb styles */
html[data-theme='dark'] .page-header .breadcrumb-item a {
    color: #ffffff !important;
}


html[data-theme='dark'] .breadcrumb-item+.breadcrumb-item::before{
    color:white !important;
}
/* Light mode breadcrumb styles */


.page-header .breadcrumb-item a:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

/* Mission Vision Values Section Dynamic Theme Support */
.mission-vision-section {
    background-color: var(--light) !important;
    transition: background-color var(--transition-speed) var(--transition-timing);
}

html[data-theme='dark'] .mission-vision-section {
    background-color: #1a1a1a !important;
}

html[data-theme='dark'] .mission-vision-section .card {
    background-color: var(--card-bg) !important;
    color: var(--body-color) !important;
    border: 1px solid #333 !important;
}

html[data-theme='dark'] .mission-vision-section .card h3 {
    color: var(--body-color) !important;
}

html[data-theme='dark'] .mission-vision-section .card p,
html[data-theme='dark'] .mission-vision-section .card li {
    color: #b0b0b0 !important;
}

/* Mission Vision Values Enhanced Styles */
.mission-vision-section-enhanced {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

html[data-theme='dark'] .mission-vision-section-enhanced {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Background Particles */
.mvv-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mvv-bg-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.mvv-bg-particles .particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.mvv-bg-particles .particle:nth-child(2) { top: 80%; left: 80%; animation-delay: 1s; }
.mvv-bg-particles .particle:nth-child(3) { top: 40%; left: 40%; animation-delay: 2s; }
.mvv-bg-particles .particle:nth-child(4) { top: 60%; left: 60%; animation-delay: 3s; }
.mvv-bg-particles .particle:nth-child(5) { top: 10%; left: 90%; animation-delay: 4s; }
.mvv-bg-particles .particle:nth-child(6) { top: 90%; left: 10%; animation-delay: 5s; }
.mvv-bg-particles .particle:nth-child(7) { top: 30%; left: 70%; animation-delay: 1.5s; }
.mvv-bg-particles .particle:nth-child(8) { top: 70%; left: 30%; animation-delay: 2.5s; }
.mvv-bg-particles .particle:nth-child(9) { top: 50%; left: 20%; animation-delay: 3.5s; }
.mvv-bg-particles .particle:nth-child(10) { top: 15%; left: 50%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Background Gradient */
.mvv-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 2;
}

/* Section Header */
.mvv-header {
    margin-bottom: 60px;
}

.mvv-header .section-title-enhanced {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

html[data-theme='dark'] .mvv-header .section-title-enhanced {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mvv-header .title-decoration {
    display: inline-block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    margin: 0 20px;
    vertical-align: middle;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.mvv-header .section-subtitle-enhanced {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

html[data-theme='dark'] .mvv-header .section-subtitle-enhanced {
    color: #94a3b8;
}

/* MVV Grid */
.mvv-grid {
    position: relative;
    z-index: 10;
}

/* MVV Cards */
.mvv-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

html[data-theme='dark'] .mvv-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

.mvv-card:hover .mvv-title {
    color: #3b82f6;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

html[data-theme='dark'] .mvv-card:hover .mvv-title {
    color: #ffffff;
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-description {
    color: #1f2937;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .mvv-card:hover .mvv-description {
    color: #e5e7eb;
}

.mvv-card:hover .stat-text {
    color: #3b82f6;
    font-weight: 600;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .mvv-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

html[data-theme='dark'] .mvv-card:hover .stat-text {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .mvv-card:hover .stat-icon {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

/* MVV Highlights Styles */
.mvv-highlights {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.highlight-item i {
    color: #10b981;
    margin-right: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.highlight-item span {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .highlight-item i {
    color: #34d399;
}

html[data-theme='dark'] .highlight-item span {
    color: #cbd5e1;
}

.mvv-card:hover .highlight-item i {
    color: #059669;
    transform: scale(1.1);
}

.mvv-card:hover .highlight-item span {
    color: #374151;
    font-weight: 600;
}

html[data-theme='dark'] .mvv-card:hover .highlight-item i {
    color: #ffffff !important;
    transform: scale(1.1);
}

html[data-theme='dark'] .mvv-card:hover .highlight-item span {
    color: #ffffff !important;
    font-weight: 600;
}

/* Additional stat badges styling */
.mvv-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 15px;
}

.stat-badge {
    display: flex;
    align-items: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 3px 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 11px;
    line-height: 1;
}

.stat-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.stat-icon {
    margin-right: 0px;
    color: #3b82f6;
    font-size: 10px;
    transition: all 0.3s ease;
}

.stat-text {
    color: #1e293b;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

html[data-theme='dark'] .stat-badge {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-theme='dark'] .stat-badge:hover {
    background: rgba(148, 163, 184, 0.2);
}

html[data-theme='dark'] .stat-icon {
    color: #94a3b8;
}

html[data-theme='dark'] .stat-text {
    color: #e2e8f0;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #10b981, #8b5cf6, #f59e0b);
    border-radius: 22px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: rotate 4s linear infinite;
}

.mvv-card:hover .card-glow {
    opacity: 0.7;
}

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

/* Card Border Animation */
.card-border-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mvv-card:hover .card-border-animation {
    opacity: 1;
}

/* Icon Container */
.mvv-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.icon-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mission-frame {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.vision-frame {
    background: linear-gradient(135deg, #10b981, #047857);
}

.values-frame {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.icon-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.mvv-icon {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconPulse 2s ease-in-out infinite;
}

.mission-pulse {
    border: 2px solid rgba(59, 130, 246, 0.6);
}

.vision-pulse {
    border: 2px solid rgba(16, 185, 129, 0.6);
}

.values-pulse {
    border: 2px solid rgba(245, 158, 11, 0.6);
}

@keyframes iconPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* MVV Content */
.mvv-content {
    text-align: center;
}

.mvv-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    position: relative;
}

html[data-theme='dark'] .mvv-title {
    color: #f9fafb;
}

.title-underline {
    width: 60px;
    height: 3px;
    margin: 0 auto 25px;
    border-radius: 2px;
}

.mission-underline {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.vision-underline {
    background: linear-gradient(90deg, #10b981, #047857);
}

.values-underline {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.mvv-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 25px;
}

html[data-theme='dark'] .mvv-description {
    color: #9ca3af;
}

/* MVV Stats */
.mvv-stats {
    display: flex;
    justify-content: center;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

html[data-theme='dark'] .stat-badge {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
}

.stat-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.stat-icon {
    font-size: 1rem;
}

/* Values List */
.values-list {
    text-align: left;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

html[data-theme='dark'] .value-item {
    border-bottom-color: rgba(75, 85, 99, 0.5);
}

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

.value-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding-left: 20px;
}

.value-item:hover .value-text {
    color: #3b82f6;
    font-weight: 700;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .value-item:hover .value-text {
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: all 0.3s ease;
}

html[data-theme='dark'] .value-item:hover {
    background: rgba(96, 165, 250, 0.05);
}

.value-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.value-text {
    font-weight: 600;
    color: #374151;
    flex-grow: 1;
}

html[data-theme='dark'] .value-text {
    color: #d1d5db !important;
}

.value-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-left: 10px;
}

html[data-theme='dark'] .value-tooltip {
    background: #374151;
}

.value-item:hover .value-tooltip {
    opacity: 1;
    visibility: visible;
}

.value-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #1f2937;
}

html[data-theme='dark'] .value-tooltip::before {
    border-right-color: #374151;
}

/* Quote Section */
.mvv-quote-section {
    text-align: center;
    padding: 60px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
}

.mvv-quote-section:hover {
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html[data-theme='dark'] .mvv-quote-section:hover {
    background: rgba(96, 165, 250, 0.05);
}

.mvv-quote-section:hover .mvv-quote {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.mvv-quote-section:hover .author-name {
    color: #1f2937;
    font-weight: 600;
    transition: all 0.3s ease;
}

html[data-theme='dark'] .mvv-quote-section:hover .author-name {
    color: #e5e7eb;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 20px;
    opacity: 0.7;
}

html[data-theme='dark'] .quote-icon {
    color: #60a5fa;
}

.mvv-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

html[data-theme='dark'] .mvv-quote {
    color: #d1d5db;
}

.quote-author {
    font-size: 1rem;
    color: #6b7280;
}

html[data-theme='dark'] .quote-author {
    color: #9ca3af;
}

.author-name {
    font-weight: 600;
    color: #3b82f6;
}

html[data-theme='dark'] .author-name {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mvv-header .section-title-enhanced {
        font-size: 2.5rem;
    }

    .mvv-header .title-decoration {
        width: 30px;
        margin: 0 15px;
    }

    .mvv-card {
        padding: 30px 20px;
    }

    .icon-frame {
        width: 80px;
        height: 80px;
    }

    .mvv-icon {
        font-size: 2rem;
    }

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

    .mvv-quote {
        font-size: 1.25rem;
        padding: 0 20px;
    }

    .value-tooltip {
        position: fixed;
        left: 50% !important;
        top: auto !important;
        bottom: 20px;
        transform: translateX(-50%) !important;
        margin-left: 0;
        white-space: normal;
        max-width: 250px;
    }

    .value-tooltip::before {
        display: none;
    }
}

/* Why Choose Us section styles */
.why-choose-us-section {
    background-color: var(--bs-light);
}

/* Dark mode styles for Why Choose Us section */
html[data-theme='dark'] .why-choose-us-section {
    background-color: var(--bs-dark) !important;
}

html[data-theme='dark'] .why-choose-us-section .card {
    background-color: var(--bs-gray-800) !important;
    border-color: var(--bs-gray-700) !important;
    color: var(--bs-light) !important;
}

html[data-theme='dark'] .why-choose-us-section h2,
html[data-theme='dark'] .why-choose-us-section h4 {
    color: var(--bs-light) !important;
}

html[data-theme='dark'] .why-choose-us-section p {
    color: var(--bs-gray-300) !important;
}

html[data-theme='dark'] .why-choose-us-section .section-subtitle {
    color: var(--bs-gray-300) !important;
}

html[data-theme='dark'] .why-choose-us-section .fas {
    color: var(--bs-primary) !important;
}

/* Enhanced Achievements Section - Creative Design */
.achievements-section-enhanced {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 100px 0;
}

/* Dark mode for enhanced achievements */
html[data-theme='dark'] .achievements-section-enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Animated Background Particles */
.achievements-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle-achievement {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

.particle-achievement:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle-achievement:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle-achievement:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle-achievement:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle-achievement:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 5s;
}

/* Section Header Enhanced */
.achievements-header {
    position: relative;
    z-index: 10;
}

.section-icon-wrapper {
    position: relative;
    display: inline-block;
}

.section-main-icon {
    font-size: 4rem;
    color: #667eea;
    animation: iconPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

.section-title-enhanced {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: underlineExpand 1s ease-out;
}

.section-subtitle-enhanced {
    font-size: 1.4rem;
    color: #6c757d;
    font-weight: 300;
    line-height: 1.6;
}

/* Enhanced Achievement Cards */
.achievement-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.achievement-card:hover .card-glow-effect {
    opacity: 1;
    animation: cardGlow 2s ease-in-out infinite;
}

/* Card Headers */
.card-header-enhanced {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.card-icon-wrapper {
    position: relative;
    margin-right: 1rem;
}

.card-main-icon {
    font-size: 2.5rem;
    color: #667eea;
    position: relative;
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    animation: iconPulseEffect 2s ease-in-out infinite;
}

.card-title-enhanced {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Awards List Enhanced */
.awards-list-enhanced {
    padding: 0;
}

.award-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.award-item:hover {
    transform: translateX(10px);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    padding-left: 1rem;
}

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

.award-icon-wrapper {
    position: relative;
    margin-right: 1rem;
    flex-shrink: 0;
}

.award-icon {
    font-size: 1.5rem;
    color: #f39c12;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.award-item:hover .award-icon {
    transform: scale(1.2) rotate(15deg);
    color: #e67e22;
}

.award-shine {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: awardShine 3s ease-in-out infinite;
}

.award-content {
    flex: 1;
    position: relative;
}

.award-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.award-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.4s ease;
}

.award-item:hover .award-line {
    width: 100%;
}

/* Enhanced Timeline */
.timeline-enhanced {
    position: relative;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
}

.timeline-item-enhanced {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.marker-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: markerPulse 2s ease-in-out infinite;
}

.timeline-content-enhanced {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content-enhanced:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-date-enhanced {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-text {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* Statistics Counter Section */
.stats-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 1rem;
    color: #667eea;
    margin-bottom: 0rem;
    animation: statIconFloat 3s ease-in-out infinite;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dark Mode Styles for Enhanced Achievements */
html[data-theme='dark'] .achievement-card {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
}

html[data-theme='dark'] .card-title-enhanced,
html[data-theme='dark'] .award-text,
html[data-theme='dark'] .timeline-text {
    color: #e8e8e8;
}

html[data-theme='dark'] .section-subtitle-enhanced {
    color: #b0b0b0;
}

html[data-theme='dark'] .timeline-content-enhanced {
    background: rgba(26, 26, 46, 0.8);
    border-left-color: #667eea;
}

html[data-theme='dark'] .stats-container {
    background: rgba(26, 26, 46, 0.9);
}

html[data-theme='dark'] .stat-label {
    color: #b0b0b0;
}

/* Keyframe Animations */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

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

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

@keyframes cardGlow {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes iconPulseEffect {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes awardShine {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes markerPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .section-title-enhanced {
        font-size: 2.5rem;
    }

    .achievement-card {
        margin-bottom: 2rem;
    }

    .timeline-enhanced {
        padding-left: 1.5rem;
    }

    .timeline-line {
        left: 0.75rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .stats-container {
        padding: 2rem 1rem;
    }

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

/* CTA Section - Ultimate Innovation Styling */
.cta-ultimate-bg {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: ultimateGradient 8s ease infinite;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    transition: background 0.5s ease;
}

[data-bs-theme="dark"] .cta-ultimate-bg {
    background: linear-gradient(45deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    background-size: 400% 400%;
    animation: ultimateGradientDark 8s ease infinite;
}

/* Theme-aware background for better contrast */
[data-theme="dark"] .cta-ultimate-bg {
    background: linear-gradient(45deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    background-size: 400% 400%;
    animation: ultimateGradientDark 8s ease infinite;
}

[data-theme="light"] .cta-ultimate-bg {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: ultimateGradient 8s ease infinite;
}

/* Animated Background Particles */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 6s infinite linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(5) { left: 60%; animation-delay: 4s; animation-duration: 8s; }
.particle:nth-child(6) { left: 70%; animation-delay: 5s; animation-duration: 7s; }
.particle:nth-child(7) { left: 80%; animation-delay: 6s; animation-duration: 9s; }
.particle:nth-child(8) { left: 90%; animation-delay: 7s; animation-duration: 6s; }

/* Geometric Shapes */
.cta-geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeRotate 20s infinite linear;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 15s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    border-radius: 50%;
    animation-duration: 18s;
    animation-direction: reverse;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    animation-duration: 22s;
}

.shape-4 {
    bottom: 10%;
    right: 10%;
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, #a8caba, #5d4e75);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-duration: 16s;
    animation-direction: reverse;
}

/* Floating Elements */
.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: floatUpDown 4s ease-in-out infinite;
}

.floating-icon-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icon-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

.floating-icon-4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

/* Content Wrapper */
.cta-content-wrapper {
    z-index: 10;
    position: relative;
}

/* Ultimate Title with 3D Effect */
.cta-ultimate-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    position: relative;
}

.cta-title-word {
    display: inline-block;
    position: relative;
    color: #fff;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

/* Arabic font fix for title */
[dir="rtl"] .cta-title-word {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cta-title-word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleRainbow 4s ease infinite;
    z-index: -1;
}

/* Enhanced Typewriter Effect */
.cta-ultimate-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    min-height: 2em;
}

.cta-typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
    letter-spacing: 0.5px;
    transition: opacity 0.5s ease;
}

.cta-typewriter.typing-complete {
    border-right: none;
}

.cta-cursor {
    display: inline-block;
    color: #fff;
    font-weight: 100;
    margin-left: 2px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Arabic typewriter improvements */
[dir="rtl"] .cta-typewriter {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

[dir="rtl"] .cta-cursor {
    margin-left: 0;
    margin-right: 2px;
}

/* Revolutionary Buttons */
.cta-ultimate-buttons {
    margin-bottom: 3rem;
    gap: 1.5rem;
}

/* Arabic RTL button spacing fix */
[dir="rtl"] .cta-ultimate-buttons {
    gap: 2rem;
}

[dir="rtl"] .cta-btn-ultimate-primary {
    margin-left: 1rem;
    margin-right: 0;
}

.cta-btn-ultimate-primary,
.cta-btn-ultimate-secondary {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 1;
}

.cta-btn-ultimate-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.cta-btn-ultimate-secondary {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    color: #333;
    box-shadow: 0 10px 30px rgba(168, 237, 234, 0.4);
}

.cta-btn-ultimate-primary:hover,
.cta-btn-ultimate-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
html[data-theme="dark"] .navbar-brand img.logo-light {
    display: none;
}

html[data-theme="dark"] .navbar-brand img.logo-dark {
    display: inline-block;
}

html[data-theme="light"] .navbar-brand img.logo-light {
    display: inline-block;
}

html[data-theme="light"] .navbar-brand img.logo-dark {
    display: none;
}
.btn-icon {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.cta-btn-ultimate-primary:hover .btn-icon,
.cta-btn-ultimate-secondary:hover .btn-icon {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.cta-btn-ultimate-primary:hover .btn-text,
.cta-btn-ultimate-secondary:hover .btn-text {
    transform: translateX(-15px);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn-ultimate-primary:active .btn-ripple,
.cta-btn-ultimate-secondary:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Pulse Indicator */
.cta-pulse-indicator {
    position: relative;
    display: inline-block;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

.pulse-center {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulseCenter 2s ease-in-out infinite;
}

/* Wave Animation */
.cta-wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.wave {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    animation: waveMove 8s ease-in-out infinite;
}

.shape-fill {
    fill: rgba(255, 255, 255, 0.1);
    animation: waveFill 6s ease-in-out infinite alternate;
}

/* Keyframe Animations */
@keyframes ultimateGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes shapeRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

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

@keyframes titleGlow {
    0% {
        text-shadow:
            0 1px 0 #ccc,
            0 2px 0 #c9c9c9,
            0 3px 0 #bbb,
            0 4px 0 #b9b9b9,
            0 5px 0 #aaa,
            0 6px 1px rgba(0,0,0,.1),
            0 0 5px rgba(0,0,0,.1),
            0 1px 3px rgba(0,0,0,.3),
            0 3px 5px rgba(0,0,0,.2),
            0 5px 10px rgba(0,0,0,.25),
            0 10px 10px rgba(0,0,0,.2),
            0 20px 20px rgba(0,0,0,.15);
    }
    100% {
        text-shadow:
            0 1px 0 #ccc,
            0 2px 0 #c9c9c9,
            0 3px 0 #bbb,
            0 4px 0 #b9b9b9,
            0 5px 0 #aaa,
            0 6px 1px rgba(0,0,0,.1),
            0 0 20px rgba(255,255,255,.5),
            0 1px 3px rgba(0,0,0,.3),
            0 3px 5px rgba(0,0,0,.2),
            0 5px 10px rgba(0,0,0,.25),
            0 10px 10px rgba(0,0,0,.2),
            0 20px 20px rgba(0,0,0,.15);
    }
}

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

@keyframes typewriter {
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

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

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
}

@keyframes waveFill {
    0% {
        fill: rgba(255, 255, 255, 0.1);
    }
    100% {
        fill: rgba(255, 255, 255, 0.3);
    }
}

/* Z-index utility */
.z-index-10 {
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cta-ultimate-title {
        font-size: 3rem;
    }

    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .cta-ultimate-bg {
        min-height: 80vh;
    }

    .cta-ultimate-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .cta-ultimate-subtitle {
        font-size: 1.2rem;
    }

    .cta-ultimate-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .cta-btn-ultimate-primary {
        margin-bottom: 0;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    [dir="rtl"] .cta-btn-ultimate-primary {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .floating-icon {
        font-size: 1.5rem;
    }

    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .cta-ultimate-title {
        font-size: 2rem;
    }

    .cta-ultimate-subtitle {
        font-size: 1rem;
    }

    .cta-btn-ultimate-primary,
    .cta-btn-ultimate-secondary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .cta-ultimate-bg,
    .particle,
    .shape,
    .floating-icon,
    .cta-title-word,
    .cta-typewriter,
    .pulse-ring,
    .pulse-center,
    .wave,
    .shape-fill {
        animation: none;
    }

    .cta-btn-ultimate-primary:hover,
    .cta-btn-ultimate-secondary:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .cta-ultimate-bg {
        background: #000;
    }

    .cta-title-word {
        color: #fff;
        text-shadow: none;
    }

    .particle,
    .floating-icon {
        color: #fff;
    }
}

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

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

/* Responsive animations */
@media (prefers-reduced-motion: reduce) {
    .cta-title-animate,
    .cta-subtitle-animate,
    .cta-buttons-animate {
        animation: none;
    }

    .cta-dynamic-bg::before {
        animation: none;
    }

    .cta-btn-primary:hover,
    .cta-btn-secondary:hover {
        transform: none;
    }
}

:root {
    --primary: #4e73df;
    --primary-dark: #3a5fc7;
    --primary-light: #6987e2;
    --primary-lighter: #e8edfc;
    --secondary: #858796;
    --success: #1cc88a;
    --link: #3a5fc7;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --light: #f8f9fc;
    --dark: #5a5c69;
    --body-bg: #f8f9fc;
    --body-color: #333333;
    --card-bg: #fff;
    --card-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --hover-shadow: 0 0.35rem 2rem 0 rgba(58, 59, 69, 0.2);
    --border-color: #e3e6f0;
    --footer-bg: #343a40;
    --footer-color: #ffffff;
    --transition-speed: 0.3s;
    --transition-timing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark theme colors */
html[data-theme='dark'] {
    --primary: #6fa3e8;
    --primary-dark: #3a78c2;
    --primary-light: #6fa3e8;
    --primary-lighter: #1a2a42;
    --body-bg: #121212;  /* خلفية أغمق */
    --body-color: #e8e8e8; /* نص رمادي فاتح */
    --link: #6fa3e8;
    --card-bg: #1e1e1e;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    --border-color: #333333;
    --light: #2c2c2c;
    --dark: #f0f0f0;
    --footer-bg: #0a0a0a; /* خلفية أغمق للفوتر */
    --awards-text: #f0f4f8;
    --awards-bg: #2d3748;
}
html[data-theme='dark'] .awards-list .list-group-item {
    color: #f0f4f8 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}
html[data-theme='light'] .awards-list .list-group-item {
    color:#333333 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}
.awards-list i.fas {
    color: var(--primary);
}

html[data-theme='dark'] .awards-list i.fas {
    color: var(--primary-light) !important;
    filter: brightness(1.2);
}

html[data-theme='dark'] .awards-list .list-group-item:hover {
    background-color: #3c4555 !important;
    transform: translateX(5px);
}
/* ===== Other Services Sidebar Styles ===== */
.card .card-header.bg-primary + .card-body .list-group-item {
    background-color: var(--card-bg);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-speed) ease;
}

.card .card-header.bg-primary + .card-body .list-group-item a {
   color:var(--body-color);
    text-decoration: none;
}

.card .card-header.bg-primary + .card-body .list-group-item a i.fas {
    color: white !important;
}

.card .card-header.bg-primary + .card-body .list-group-item a i.fas.text-primary,
.card .card-header.bg-primary + .card-body .list-group-item a i.fas.me-2.text-primary {
    color: var(--link) !important;
}

.card .card-header.bg-primary + .card-body .list-group-item {
    background-color: var(--card-bg);
}
.card .card-header.bg-primary + .card-body .list-group-item:hover {
    background-color: var(--border-color);
}

/* ===== General Styles ===== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--body-color);
    line-height: 1.7;
    padding-top: 66px; /* Adjust based on navbar height */
    background-color: var(--body-bg);
    transition: all var(--transition-speed) ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--body-color);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-light);
}

.btn {
    font-weight: 500;
    padding: 0.6rem 1.75rem;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.btn-outline-primary {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--body-color);
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin-top: 10px;
}

.section-subtitle {
    color: var(--secondary);
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
}

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

.card-body {
    background-color: var(--card-bg);
    color: var(--body-color);
}

.card-footer {
    background-color: var(--card-bg) !important;
    border-top-color: var(--border-color) !important;
}

/* Biography styling */
.biography p {
    margin-bottom: 1rem;
}

.biography ul, .biography ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.biography h1, .biography h2, .biography h3, .biography h4, .biography h5, .biography h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.biography a {
    text-decoration: underline;
}

.biography blockquote {
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary);
    background-color: var(--light);
    margin: 1.5rem 0;
    font-style: italic;
}

.biography code {
    background-color: var(--light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

.biography pre {
    background-color: var(--light);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.biography img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.biography table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.biography table th,
.biography table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.biography table th {
    background-color: var(--light);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-lighter);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(30deg);
    background-color: var(--primary-light);
    color: white;
}

html[data-theme='dark'] .theme-toggle-btn {
    background-color: var(--primary-lighter);
    color: var(--primary-light);
}

html[data-theme='dark'] .theme-toggle-btn:hover {
    background-color: var(--primary);
}

/* ===== Navbar ===== */
.navbar {
    padding: 0.75rem 0;
    transition: all var(--transition-speed) ease;
    background-color: var(--body-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--body-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.15rem;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-lighter);
}

.navbar-light .navbar-toggler {
    border-color: var(--border-color);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    transition: all var(--transition-speed) ease;
}

.navbar-light .navbar-toggler:hover {
    background-color: var(--primary-lighter);
    border-color: var(--primary);
}

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

/* Dark mode navbar toggler icon */
html[data-theme='dark'] .navbar-light .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");
}

/* تحسين عرض navbar على الأجهزة المحمولة */
@media (max-width: 991.98px) {

    .navbar-collapse {
        background-color: var(--body-bg);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    html[data-theme='dark'] .navbar-collapse {
        background-color: #2d3748;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }

    .navbar-nav .theme-toggle-mobile {
        color: var(--body-color);
        transition: all 0.3s ease;
    }

    .navbar-nav .theme-toggle-mobile:hover {
        background-color: var(--primary);
        color: white;
    }

    .d-flex.align-items-center.ms-auto {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

html[data-theme='dark'] .navbar-light .navbar-nav .nav-link {
    color: #e9ecef !important;
}

html[data-theme='dark'] .navbar-light .navbar-nav .nav-link:hover,
html[data-theme='dark'] .navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

html[data-theme='dark'] .navbar-nav .theme-toggle-mobile {
    color: #e9ecef !important;
}

html[data-theme='dark'] .navbar-nav .theme-toggle-mobile:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.navbar-light .navbar-nav .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding: 0.5rem;
    background-color: var(--card-bg);
}

.navbar-light .navbar-nav .dropdown-item {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease;
    color: var(--body-color);
}

.navbar-light .navbar-nav .dropdown-item:hover,
.navbar-light .navbar-nav .dropdown-item:focus {
    background-color: var(--primary-lighter);
    color: var(--primary);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    margin-top: 0px; /* Adjust based on navbar height */
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

.carousel-item {
    height: 100vh; /* Full viewport height */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    filter: brightness(0.8);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}



.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.carousel-indicators .active {
    background-color: white;
}

/* ===== Services Section ===== */
.service-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.02) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(78, 115, 223, 0.1);
    padding: 2.5rem 2rem;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(78, 115, 223, 0.08);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(78, 115, 223, 0.2);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.05) 100%);
    border-color: rgba(78, 115, 223, 0.15);
}

.service-card:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-lighter), rgba(78, 115, 223, 0.1));
    opacity: 0.6;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover:before {
    transform: scale(3.5) rotate(45deg);
    opacity: 0.8;
}

.service-card:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(225deg, rgba(28, 200, 138, 0.1), rgba(54, 185, 204, 0.1));
    opacity: 0.4;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover:after {
    transform: scale(2.5) rotate(-45deg);
    opacity: 0.6;
}

.service-icon {
    font-size: 3rem;
    color: var(--body-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-light);
    filter: drop-shadow(0 8px 16px rgba(78, 115, 223, 0.3));
}

.service-icon:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-lighter), rgba(78, 115, 223, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-icon:after {
    transform: translate(-50%, -50%) scale(1.2);
    background: linear-gradient(135deg, var(--primary), rgba(78, 115, 223, 0.2));
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--body-color);
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.service-card:hover .service-title {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.service-description {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: var(--body-color);
}

.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--body-bg) 0%, rgba(78, 115, 223, 0.01) 100%);
    position: relative;
    overflow: hidden;
}

.services-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(78, 115, 223, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(28, 200, 138, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

/* ===== About Section Enhanced ===== */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--light) 0%, rgba(78, 115, 223, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* Enhanced Background Elements */
.about-section:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-lighter) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    opacity: 0.6;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.about-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
    z-index: 0;
    animation: float 8s ease-in-out infinite reverse;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Enhanced Image Container */
.about-section .about-image-container {
    position: relative;
    z-index: 2;
}

.about-section .about-image-container:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.about-section .about-image-container:hover:before {
    transform: rotate(3deg) scale(1.02);
    opacity: 0.2;
}

.about-section img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

.about-section img:hover {
    transform: translateY(-10px) rotate(2deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Enhanced Content Area */
.about-section .about-content {
    position: relative;
    z-index: 2;
}

.about-section .section-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
}

.about-section .enhanced-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-section .lead {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.about-section .lead:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* Enhanced Check Items */
.about-check-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;

    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(78, 115, 223, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.about-check-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 115, 223, 0.05), transparent);
    transition: left 0.6s ease;
}

.about-check-item:hover {
    transform: translateY(-5px) translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.about-check-item:hover:before {
    left: 100%;
}

.about-check-item .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.3);
    position: relative;
    overflow: hidden;
}

.about-check-item .icon-wrapper:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.about-check-item:hover .icon-wrapper:before {
    transform: rotate(45deg) translate(50%, 50%);
}

.about-check-item i {
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    position: relative;
}

.about-check-item .content {
    flex: 1;
}

.about-check-item h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.about-check-item p {
    color: var(--secondary);
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Button */
.about-section .btn-enhanced {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.about-section .btn-enhanced:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.about-section .btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(78, 115, 223, 0.4);
    color: white;
}

.about-section .btn-enhanced:hover:before {
    left: 100%;
}

/* Dark Theme Adjustments */
html[data-theme='dark'] .about-section {
    background: linear-gradient(135deg, var(--body-bg) 0%, rgba(78, 115, 223, 0.1) 100%);
}

html[data-theme='dark'] .about-check-item {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(78, 115, 223, 0.2);
}

html[data-theme='dark'] .about-check-item h5 {
    color: var(--body-color);
}

html[data-theme='dark'] .about-section .enhanced-title {
    background: linear-gradient(45deg, var(--body-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Projects Section ===== */
.projects-section {
    padding: 6rem 0;
    background-color: var(--body-bg);
    position: relative;
    overflow: hidden;
}

.projects-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--primary-lighter);
    bottom: -100px;
    left: -100px;
    opacity: 0.5;
    z-index: 0;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(78, 115, 223, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.01) 100%);
    border: 1px solid rgba(78, 115, 223, 0.06);
    position: relative;
    overflow: hidden;
}

.project-card: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: all 0.6s ease;
    z-index: 2;
}

.project-card:hover:before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(78, 115, 223, 0.15);
    border-color: rgba(78, 115, 223, 0.12);
}

.project-card img {
    height: 250px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.95) contrast(1.05);
}

.project-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.project-card .card-body {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.project-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: var(--body-color);
    font-weight: 600;
    line-height: 1.3;
}

.project-card:hover .card-title {
    color: var(--primary);
    transform: translateY(-2px);
}

.project-card .card-text {
    color: var(--secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.project-card:hover .card-text {
    color: var(--body-color);
}

.project-card .card-footer {
    border-top: 1px solid rgba(78, 115, 223, 0.08);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.02) 0%, transparent 100%);
    position: relative;
    z-index: 1;
}

/* ===== Team Section ===== */
.team-section {
    padding: 6rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.team-section:before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: var(--primary-lighter);
    top: -100px;
    left: calc(50% - 125px);
    opacity: 0.3;
    z-index: 0;
}

/* Enhanced Leadership Section Styles */
.leadership-section-enhanced {
    background: linear-gradient(135deg, var(--body-bg) 0%, rgba(78, 115, 223, 0.02) 50%, var(--body-bg) 100%);
    position: relative;
    overflow: hidden;
}

.leadership-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.leadership-bg-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--info));
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite linear;
}

.leadership-bg-particles .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.leadership-bg-particles .particle:nth-child(2) {
    left: 30%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.leadership-bg-particles .particle:nth-child(3) {
    left: 50%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.leadership-bg-particles .particle:nth-child(4) {
    left: 70%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.leadership-bg-particles .particle:nth-child(5) {
    left: 85%;
    animation-delay: -8s;
    animation-duration: 28s;
}

.leadership-bg-particles .particle:nth-child(6) {
    left: 95%;
    animation-delay: -12s;
    animation-duration: 16s;
}

.leadership-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(78, 115, 223, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(40, 167, 69, 0.05) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
    z-index: 1;
}

.leadership-header {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--info));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

.section-title-enhanced {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--info), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle-enhanced {
    font-size: 1.3rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--info));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-decoration::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.leadership-grid {
    position: relative;
    z-index: 2;
}

.leadership-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(78, 115, 223, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(78, 115, 223, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.leadership-card:hover::before {
    opacity: 1;
}

.leadership-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 80px rgba(78, 115, 223, 0.15);
    border-color: rgba(78, 115, 223, 0.2);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--info), var(--success), var(--warning));
    border-radius: 25px;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    filter: blur(8px);
}

.leadership-card:hover .card-glow {
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

.card-border-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.leadership-card:hover .card-border-animation {
    opacity: 0.1;
    animation: borderSweep 2s ease-in-out infinite;
}

.leader-image-container {
    position: relative;
    margin-bottom: 2rem;
    z-index: 3;
}

.image-frame {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary), var(--info));
    padding: 4px;
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.9), rgba(40, 167, 69, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 3;
}

.overlay-content {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.leadership-card:hover .image-overlay {
    opacity: 1;
}

.leadership-card:hover .overlay-content {
    transform: scale(1);
}

.leadership-card:hover .leader-image {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    z-index: 4;
}

.status-indicator.ceo {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.cro {
    background: linear-gradient(45deg, #4E73DF, #36B9CC);
    animation: statusPulse 2s ease-in-out infinite 0.5s;
}

.status-indicator.cto {
    background: linear-gradient(45deg, #1CC88A, #17A2B8);
    animation: statusPulse 2s ease-in-out infinite 1s;
}

.status-indicator.sustainability {
    background: linear-gradient(45deg, #28A745, #20C997);
    animation: statusPulse 2s ease-in-out infinite 1.5s;
}

.leader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--body-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.leadership-card:hover .leader-name {
    color: var(--primary);
    transform: translateY(-2px);
}

.leader-position {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-bio {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}



.social-links-enhanced {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link-enhanced {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.social-link-enhanced.linkedin {
    background: linear-gradient(45deg, #0077B5, #00A0DC);
}

.social-link-enhanced.twitter {
    background: linear-gradient(45deg, #1DA1F2, #0084B4);
}

.social-link-enhanced.github {
    background: linear-gradient(45deg, #333, #666);
}

.social-link-enhanced.academic {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
}

.social-link-enhanced::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: all 0.6s ease;
}

.social-link-enhanced:hover::before {
    left: 100%;
}

.social-link-enhanced:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--dark);
}

.social-link-enhanced:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

.leadership-quote-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.02) 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(78, 115, 223, 0.1);
}

.leadership-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(78, 115, 223, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.quote-container {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.leadership-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--body-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(78, 115, 223, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(78, 115, 223, 0.4);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        filter: blur(8px);
    }
    50% {
        opacity: 0.5;
        filter: blur(12px);
    }
}

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

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

/* Dark Mode Support */
[data-theme="dark"] .leadership-section-enhanced {
    background: linear-gradient(135deg, var(--body-bg) 0%, rgba(78, 115, 223, 0.05) 50%, var(--body-bg) 100%);
}

[data-theme="dark"] .leadership-card {
    background: var(--card-bg);
    border-color: rgba(78, 115, 223, 0.2);
}

[data-theme="dark"] .leadership-quote-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.05) 100%);
    border-color: rgba(78, 115, 223, 0.2);
}

[data-theme="dark"] .social-tooltip {
    background: var(--light);
    color: var(--dark);
}

[data-theme="dark"] .social-tooltip::before {
    border-bottom-color: var(--light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title-enhanced {
        font-size: 2.5rem;
    }

    .section-subtitle-enhanced {
        font-size: 1.1rem;
    }

    .leadership-card {
        padding: 2rem 1.5rem;
    }

    .image-frame {
        width: 150px;
        height: 150px;
    }

    .leadership-quote {
        font-size: 1.2rem;
    }

    .leadership-quote-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title-enhanced {
        font-size: 2rem;
    }

    .leadership-card {
        padding: 1.5rem 1rem;
    }

    .image-frame {
        width: 120px;
        height: 120px;
    }

    .leader-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links-enhanced {
        gap: 0.5rem;
    }

    .social-link-enhanced {
        width: 40px;
        height: 40px;
    }
}

/* Legacy team-card styles for backward compatibility */
.team-card {
    text-align: center;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.02) 100%);
    box-shadow: 0 10px 40px rgba(78, 115, 223, 0.1);
    padding: 3rem 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(78, 115, 223, 0.08);
}

.team-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(78, 115, 223, 0.05), transparent);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.team-card:hover:before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(78, 115, 223, 0.2);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.04) 100%);
    border-color: rgba(78, 115, 223, 0.15);
}

.team-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--info), var(--success));
    border-radius: 25px 25px 0 0;
}

.team-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                linear-gradient(45deg, var(--primary), var(--info)) border-box;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.98) contrast(1.02);
}

.team-card:hover img {
    transform: scale(1.08) rotate(3deg);
    filter: brightness(1.05) contrast(1.1);
    box-shadow: 0 15px 30px rgba(78, 115, 223, 0.3);
}

.team-name {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--body-color);
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.team-card:hover .team-name {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.team-position {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-card:hover .team-position {
    color: var(--body-color);
}

.team-social {
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.social-link: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: all 0.5s ease;
}

.social-link:hover:before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--info));
    transform: scale(1.15) rotate(10deg);
    color: white;
    box-shadow: 0 8px 20px rgba(78, 115, 223, 0.4);
}

/* ===== Blog Section ===== */
.blog-section {
    padding: 6rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.blog-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--primary-lighter);
    bottom: -100px;
    right: -100px;
    opacity: 0.5;
    z-index: 0;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(78, 115, 223, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(78, 115, 223, 0.01) 100%);
    border: 1px solid rgba(78, 115, 223, 0.06);
    position: relative;
    overflow: hidden;
}

.blog-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent rgba(78, 115, 223, 0.05) transparent transparent;
    transition: all 0.4s ease;
    z-index: 1;
}

.blog-card:hover:before {
    border-width: 0 80px 80px 0;
    border-color: transparent rgba(78, 115, 223, 0.1) transparent transparent;
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(78, 115, 223, 0.15);
    border-color: rgba(78, 115, 223, 0.12);
}

.blog-card img {
    height: 250px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.95) contrast(1.05);
    position: relative;
    z-index: 0;
}

.blog-card:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.blog-card .card-body {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.blog-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    color: var(--body-color);
    font-weight: 600;
    line-height: 1.3;
}

.blog-card:hover .card-title {
    color: var(--primary);
    transform: translateY(-2px);
}

.blog-card .card-text.text-muted {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.blog-card:hover .card-text.text-muted {
    opacity: 1;
}

.blog-card .card-text {
    color: var(--secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.blog-card:hover .card-text {
    color: var(--body-color);
}

.blog-card .card-footer {
    border-top: 1px solid rgba(78, 115, 223, 0.08);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.02) 0%, transparent 100%);
    position: relative;
    z-index: 2;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTIiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCA1MiAyNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4yIj48cGF0aCBkPSJNNTIgMGwtMiAyYTUyIDUyIDAgMDAtNTAgMGwtMi0ybDIuMDUgMjYgMi0yYTUyIDUyIDAgMDA0Ny45IDBsMi4wNSAyTDUyIDB6Ii8+PC9nPjwvZz48L3N2Zz4=');
    background-size: 30px;
    opacity: 0.05;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all var(--transition-speed) ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 7rem 0 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTIiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCA1MiAyNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4yIj48cGF0aCBkPSJNNTIgMGwtMiAyYTUyIDUyIDAgMDAtNTAgMGwtMi0ybDIuMDUgMjYgMi0yYTUyIDUyIDAgMDA0Ny45IDBsMi4wNSAyTDUyIDB6Ii8+PC9nPjwvZz48L3N2Zz4=');
    background-size: 30px;
    opacity: 0.05;
    z-index: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: white;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.list-group {
    --bs-list-group-bg: var(--card-bg) !important;
    --bs-list-group-action-hover-bg:var(--border-color) !important;
}
.realted-projects .list-group-item{
    color:var(--body-color) !important;
}
.breadcrumb-item a {
    color: var(--link);
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: var(--link);
}

/* ===== Contact Page ===== */
.contact-info .card {
    border-radius: 15px;
    transition: all var(--transition-speed) ease;
    border: none;
    overflow: hidden;
}

.contact-info .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-color);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTIiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCA1MiAyNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTUyIDBsLTIgMmE1MiA1MiAwIDAwLTUwIDBsLTItMmwyLjA1IDI2IDItMmE1MiA1MiAwIDAwNDcuOSAwbDIuMDUgMkw1MiAweiIvPjwvZz48L2c+PC9zdmc+');
    background-size: 30px;
    opacity: 0.05;
    z-index: 0;
}

.footer h4, .footer h5 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
}

.footer h4:after, .footer h5:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    margin-top: 10px;
}

.footer p, .footer ul li {
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.footer a:hover {
    opacity: 1;
    color: white;
    padding-left: 5px;
}

.footer .social-links {
    margin-top: 1.5rem;
}

.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
}

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ===== Animations ===== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .hero-section, .carousel-item {
        height: 100vh; /* Full viewport height on tablets */
    }

    .carousel-caption {
        max-width: 500px;
    }

    .carousel-caption h1 {
        font-size: 2.75rem;
    }

    .service-card, .project-card, .team-card, .blog-card {
        margin-bottom: 2rem;
    }

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

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .about-section, .services-section, .projects-section, .team-section, .blog-section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section, .carousel-item {
        height: 100vh; /* Full viewport height on mobile */
    }

    .carousel-caption {
        max-width: 400px;
        padding: 2rem;
    }

    .carousel-caption h1 {
        font-size: 2.25rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

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

    .section-subtitle {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2.75rem;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }

    .cta-section .lead {
        font-size: 1.25rem;
    }

    .about-section, .services-section, .projects-section, .team-section, .blog-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section, .carousel-item {
        height: 100vh; /* Full viewport height on small mobile */
    }

    .carousel-caption {
        max-width: 300px;
        padding: 1.5rem;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

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

    .stat-title {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section .lead {
        font-size: 1.1rem;
    }

    .about-section, .services-section, .projects-section, .team-section, .blog-section {
        padding: 3rem 0;
    }
}

/* Hero Section Text and Button Effects */
.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    letter-spacing: 1px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.hero-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.2s;
}

.hero-buttons {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.4s;
}

/* Button Hover Effects */
.hero-btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: none;
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
    background: linear-gradient(45deg, #0056b3, #004085);
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.hero-btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.hero-btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-btn-outline::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.5s;
}

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

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

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 1s;
}

.animate__delay-3s {
    animation-delay: 1.5s;
}

/* Carousel Item Active State */
.carousel-item.active .hero-title,
.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-buttons {
    opacity: 1;
    color:white;
    transform: translateY(0);
}

/* Responsive Adjustments for Hero Effects */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }

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

    .hero-btn-primary,
    .hero-btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        margin: 0;
    }
}

/* Enhanced AI Hero Section Styles */
.ai-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.hero-subtitle-main {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e0e6ed;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b8c5d1;
    margin: 1.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: #f093fb;
    font-weight: 600;
}

.ai-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e6ed;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #667eea;
    font-size: 1.1rem;
}

.btn-ai-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-ai-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-ai-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-ai-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.ai-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f093fb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #b8c5d1;
    font-weight: 500;
}

/* Animation Delays */
.animate__delay-0-5s {
    animation-delay: 0.5s;
}

.animate__delay-1-5s {
    animation-delay: 1.5s;
}

.animate__delay-2-5s {
    animation-delay: 2.5s;
}

/* Responsive Design for Enhanced Hero */
@media (max-width: 768px) {
    .ai-features {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .ai-stats {
        gap: 2rem;
    }

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

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

@media (max-width: 576px) {
    .ai-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .ai-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ai-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

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

/* Scattered Photos Styles */
.scattered-photos {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item {
    position: absolute;
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

.photo-frame {
    position: relative;
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.photo-frame:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.photo-image {
    width: 360px;
    height: 240px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.photo-shadow {
    position: absolute;
    bottom: -10px;
    left: 5px;
    right: 5px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(8px);
    z-index: -1;
}

/* Individual photo positioning and rotations */
.photo-1 {
    transform: rotate(-8deg) translate(-80px, -40px);
    z-index: 3;
    animation: float1 6s ease-in-out infinite;
}

.photo-2 {
    transform: rotate(12deg) translate(60px, 20px);
    z-index: 2;
    animation: float2 8s ease-in-out infinite;
}

.photo-3 {
    transform: rotate(-3deg) translate(-20px, 80px);
    z-index: 1;
    animation: float3 7s ease-in-out infinite;
}

/* Floating animations */
@keyframes float1 {
    0%, 100% { transform: rotate(-8deg) translate(-80px, -40px) translateY(0px); }
    50% { transform: rotate(-8deg) translate(-80px, -40px) translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(12deg) translate(60px, 20px) translateY(0px); }
    50% { transform: rotate(12deg) translate(60px, 20px) translateY(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: rotate(-3deg) translate(-20px, 80px) translateY(0px); }
    50% { transform: rotate(-3deg) translate(-20px, 80px) translateY(-8px); }
}

/* Responsive design for scattered photos */
@media (max-width: 768px) {
    .scattered-photos {
        height: 600px;
    }
    
    .photo-image {
        width: 280px;
        height: 200px;
    }
    
    .photo-1 {
        transform: rotate(-8deg) translate(-60px, -30px);
    }
    
    .photo-2 {
        transform: rotate(12deg) translate(40px, 15px);
    }
    
    .photo-3 {
        transform: rotate(-3deg) translate(-15px, 60px);
    }
}

@media (max-width: 576px) {
    .scattered-photos {
        height: 500px;
    }
    
    .photo-image {
        width: 240px;
        height: 160px;
    }
    
    .photo-1 {
        transform: rotate(-8deg) translate(-40px, -20px);
    }
    
    .photo-2 {
        transform: rotate(12deg) translate(30px, 10px);
    }
    
    .photo-3 {
        transform: rotate(-3deg) translate(-10px, 40px);
    }
}
