/* Base Font */
* {
    font-family: 'Signika', sans-serif;
}

/* Base Dark Theme */
.bg-dark {
    background-color: #0a0a0f !important;
}
.text-light-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Cyber Grid Background */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(transparent 0%, rgba(32, 128, 255, 0.2) 2%, transparent 3%),
        linear-gradient(90deg, transparent 0%, rgba(32, 128, 255, 0.2) 2%, transparent 3%);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}

/* Cyber Card Styles */
.cyber-card {
    background: linear-gradient(145deg, #1a1a1f, #0a0a0f);
    border: 1px solid rgba(32, 128, 255, 0.1);
    box-shadow: 0 0 20px rgba(32, 128, 255, 0.1);
    transition: all 0.3s ease;
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(32, 128, 255, 0.2);
    border-color: rgba(32, 128, 255, 0.3);
}

/* Card Image Wrapper */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(32, 128, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-card:hover .cyber-overlay {
    opacity: 1;
}

/* Cyber Button Styles */
.btn-cyber {
    background: linear-gradient(45deg, #525ae1, #8b92ff);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(32, 128, 255, 0.4);
    color: white;
}

.btn-cyber-outline {
    background: transparent;
    border: 1px solid #2080ff;
    color: #2080ff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-cyber-outline:hover {
    background: rgba(32, 128, 255, 0.1);
    color: #2080ff;
    transform: translateX(5px);
}

/* Cyber Title */
.cyber-title {
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.cyber-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #525ae1, rgba(82, 90, 225, 0.3));
}

/* Cyber Icon */
.cyber-icon {
    text-shadow: 0 0 10px rgba(32, 128, 255, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.lead {
    font-weight: 300;
}

.card-title {
    font-weight: 500;
}

.card-text {
    font-weight: 300;
}

/* Pagination Styles */
.pagination .page-link {
    background-color: #1a1a1f;
    border-color: #2080ff;
    color: #2080ff;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(45deg, #2080ff, #00c6ff);
    border-color: #2080ff;
    color: white;
}

.pagination .page-link:hover {
    background-color: rgba(32, 128, 255, 0.1);
    color: #2080ff;
}

.cta-section {
    background-image: 
        linear-gradient(135deg, rgba(63, 63, 63, 0.85), rgba(22, 24, 27, 0.85)),
        url('../images/background-cta.jpg');
}

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

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 300;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #2080ff;
    text-shadow: 0 0 10px rgba(32, 128, 255, 0.5);
}

/* List Group Customization */
.list-group-item {
    background: transparent;
    border-color: rgba(32, 128, 255, 0.1);
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(32, 128, 255, 0.1);
    transform: translateX(5px);
}

/* Page Header */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 15px 0;
}

/* Section Spacing */
.section-py {
    padding: 80px 0;
}

/* Category Filter */
.category-filter {
    margin-bottom: 30px;
}

.category-filter .btn {
    margin: 5px;
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 30px;
}

/* Awards Page Styles */
.awards-section {
    padding: 4rem 0;
}

.award-year-group {
    position: relative;
}

.award-year-group::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--neon-primary), var(--neon-secondary));
    border-radius: 2px;
}

.award-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: var(--dark-bg);
}

.award-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cyber-card:hover .award-image img {
    transform: scale(1.05);
}

.award-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.award-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.award-meta i {
    color: var(--neon-primary);
}

.cyber-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--neon-primary);
}

.cyber-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 10px 0;
    }
    
    .section-py {
        padding: 60px 0;
    }
    
    .card-grid {
        gap: 20px;
    }
    
    .award-year-group::before {
        left: -10px;
    }
    
    .award-image img {
        height: 180px;
    }
}

/* Portfolio Styles */
.portfolio-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.portfolio-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-meta i {
    color: var(--neon-primary);
}

.portfolio-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge.bg-cyber {
    background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary));
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.cyber-quote {
    border-left: 4px solid var(--neon-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.related-project-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.portfolio-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.portfolio-content p {
    margin-bottom: 1.5rem;
}

.portfolio-content h2,
.portfolio-content h3,
.portfolio-content h4 {
    color: var(--neon-primary);
    margin: 2rem 0 1rem;
}

.portfolio-content ul,
.portfolio-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.portfolio-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .related-project-image {
        width: 60px;
        height: 45px;
    }
}

/* Blog Styles */
.blog-content {
    color: #e0e0e0;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h2, 
.blog-content h3, 
.blog-content h4 {
    color: var(--cyber-primary);
    margin: 2rem 0 1rem;
}

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

.blog-content blockquote {
    border-left: 4px solid var(--cyber-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #b0b0b0;
}

.blog-content ul, 
.blog-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content a {
    color: var(--cyber-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--cyber-primary);
    transition: all 0.3s ease;
}

.blog-content a:hover {
    color: var(--cyber-accent);
    border-color: var(--cyber-accent);
}

.cyber-search-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--cyber-primary);
}

.cyber-search-box .form-control {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--cyber-secondary);
    color: #fff;
}

.cyber-search-box .form-control:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--cyber-primary);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(var(--cyber-primary-rgb), 0.25);
}

.share-buttons .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(var(--cyber-primary-rgb), 0.5);
}

/* Base Font */
* {
    font-family: 'Signika', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -1px;
}

.lead {
    font-weight: 300;
    letter-spacing: 0.2px;
}

.card-title {
    font-weight: 500;
    letter-spacing: -0.3px;
}

.card-text {
    font-weight: 300;
    letter-spacing: 0.1px;
}

.btn-cyber, .btn-cyber-outline {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cyber-title {
    font-weight: 600;
    letter-spacing: -0.3px;
}

.cyber-text {
    font-weight: 300;
    letter-spacing: 0.1px;
    line-height: 1.8;
}

.cyber-link {
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Base Dark Theme */
.bg-dark {
    background-color: #0a0a0f !important;
}
.text-light-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Cyber Grid Background */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(transparent 0%, rgba(82, 90, 225, 0.3) 2%, transparent 3%),
        linear-gradient(90deg, transparent 0%, rgba(82, 90, 225, 0.3) 2%, transparent 3%);
    background-size: 50px 50px;
    opacity: 0.15;
    pointer-events: none;
}

/* Cyber Card Styles */
.cyber-card {
    background: linear-gradient(145deg, #1a1a1f, #0a0a0f);
    border: 1px solid rgba(82, 90, 225, 0.2);
    box-shadow: 0 0 25px rgba(82, 90, 225, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(82, 90, 225, 0.3);
    border-color: rgba(82, 90, 225, 0.4);
}

/* Cyber Image Wrapper */
.cyber-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 35px rgba(82, 90, 225, 0.15);
}

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(82, 90, 225, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-image-wrapper:hover .cyber-overlay {
    opacity: 1;
}

/* Cyber Button Styles */
.btn-cyber {
    background: linear-gradient(45deg, #525ae1, #8b92ff);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(82, 90, 225, 0.2);
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(82, 90, 225, 0.5);
    color: white;
    background: linear-gradient(45deg, #8b92ff, #525ae1);
}

.btn-cyber-outline {
    background: transparent;
    border: 2px solid #525ae1;
    color: #525ae1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cyber-outline:hover {
    background: rgba(82, 90, 225, 0.15);
    color: #525ae1;
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(82, 90, 225, 0.2);
}

/* Cyber Title */
.cyber-title {
    position: relative;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    text-shadow: 0 0 10px rgba(82, 90, 225, 0.3);
}

.cyber-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #525ae1, rgba(82, 90, 225, 0.3));
}

/* Cyber Icon */
.cyber-icon {
    text-shadow: 0 0 15px rgba(82, 90, 225, 0.6);
}

/* Modal Styles - FIXED SCROLL HANDLING */
.modal-dialog {
    max-height: 90vh;
    margin: 2rem auto;
}

.modal-content.bg-dark {
    background: linear-gradient(145deg, #1a1a1f, #0a0a0f) !important;
    border: 1px solid rgba(82, 90, 225, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    border-bottom-color: rgba(82, 90, 225, 0.2) !important;
    flex-shrink: 0;
    padding: 1rem 1.5rem;
}

.modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 140px); /* Subtract header and footer height */
    padding: 1.5rem;
    flex: 1;
}

.modal-footer {
    border-top-color: rgba(82, 90, 225, 0.2) !important;
    flex-shrink: 0;
    padding: 1rem 1.5rem;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(26, 26, 31, 0.5);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #525ae1, #8b92ff);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(82, 90, 225, 0.3);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8b92ff, #525ae1);
}

/* Firefox scrollbar */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #525ae1 rgba(26, 26, 31, 0.5);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-content.bg-dark {
        max-height: calc(100vh - 2rem);
    }
    
    .modal-body {
        max-height: calc(100vh - 160px);
        padding: 1rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
}

.text-cyber-primary {
    color: #525ae1 !important;
}

.industry-challenges li,
.industry-solutions li,
.industry-benefits li {
    transition: transform 0.3s ease;
}

.industry-challenges li:hover,
.industry-solutions li:hover,
.industry-benefits li:hover {
    transform: translateX(5px);
}

.industry-challenges .fa-exclamation-triangle {
    color: #ffc107 !important;
}

.industry-solutions .fa-check-circle {
    color: #28a745 !important;
}

.industry-benefits .fa-star {
    color: #ffd700 !important;
}

/* Industry Content */
.industry-content {
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(26, 26, 31, 0.7), rgba(10, 10, 15, 0.7));
    border-radius: 8px;
    border: 1px solid rgba(82, 90, 225, 0.2);
    box-shadow: 0 0 30px rgba(82, 90, 225, 0.1);
}

.industry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(82, 90, 225, 0.1), transparent);
    border-radius: 8px;
    z-index: 0;
}

/* List Items */
.list-unstyled li {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.list-unstyled li:hover {
    transform: translateX(5px);
    background: rgba(82, 90, 225, 0.1);
}

.list-unstyled li i {
    color: #525ae1;
    text-shadow: 0 0 10px rgba(82, 90, 225, 0.3);
}

/* Additional Modal Enhancements */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

/* Smooth animations for modal content */
.modal-body .industry-content {
    animation: fadeInUp 0.3s ease-out;
}

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

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-content {
        font-size: 0.95rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.3rem;
    }

    .blog-content h4 {
        font-size: 1.1rem;
    }

    .cyber-search-box {
        margin-top: 1rem;
    }
} 