:root {
    --primary-bg: #0b0d17;
    --accent-yellow: rgba(var(--info-rgb), 1);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(22, 25, 43, 0.8);
    --b-navy: rgb(22, 25, 43);
    --info-rgb: 13, 202, 240;
    --b-yellow: rgba(var(--info-rgb), 1);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

section,
.container,
.row {
    max-width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 996;
    background: rgba(13, 202, 240);
    /* ByteLab sarısı */
    width: 45px;
    height: 45px;
    border-radius: 12px;
    transition: all 0.4s;
    border: none;
    color: #0b0d17;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgb(113 200 236);
}

.back-to-top i {
    font-size: 24px;
    line-height: 0;
}

.back-to-top:hover {
    background: #fff;
    color: #0b0d17;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-status {
    color: rgba(13, 202, 240);
    font-size: 1.2rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.logo-text span {
    color: var(--accent-yellow);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.progress-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: rgba(13, 202, 240);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

#mainNav {
    padding: 15px 0;
    transition: all 0.4s;
    background-color: var(--primary-bg) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999 !important;
}

#mainNav.navbar-shrink {
    padding: 8px 0;
    background: var(--primary-bg) !important;
}

.modern-link {
    font-weight: 500;
    position: relative;
    margin: 0 10px;
}

.modern-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: rgba(13, 202, 240);
    transition: 0.3s;
}

.modern-link:hover::after {
    width: 100%;
}

.btn-contact-neon,
.btn-get-started {
    background-color: var(--accent-yellow) !important;
    color: var(--primary-bg) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
    transition: 0.3s;
    font-weight: bold;
    border: none;
}

.btn-contact-neon:hover {
    background: rgba(13, 202, 240);
    color: #000 !important;
    box-shadow: 0 0 25px rgb(113 200 236 / 55%);
}

.dropdown-menu {
    z-index: 10000 !important;
}

.glass-dropdown {
    background: var(--primary-bg) !important;
    border: 1px solid var(--accent-yellow) !important;
    backdrop-filter: blur(20px);
    border-radius: 15px !important;
    padding: 10px !important;
    min-width: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    padding: 10px 15px !important;
    border-radius: 10px !important;
    color: #e0e0e0 !important;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(255, 193, 7, 0.1) !important;
    color: var(--accent-yellow) !important;
    transform: translateX(5px);
    transition: all 0.3s;
}

.glass-dropdown .icon-circle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 16px !important;
}

.bg-soft-primary {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.bg-soft-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.bg-soft-warning {
    background: rgba(255, 193, 7, 0.2);
    color: rgba(13, 202, 240);
}

.animate.slideIn {
    animation-duration: 0.3s;
    animation-fill-mode: both;
    animation-name: slideIn;
}

@keyframes slideIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.b-lab-modal {
    background: rgba(22, 25, 43, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgb(113 200 236) !important;
    border-radius: 25px !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 193, 7, 0.1);
}

.text-accent-yellow {
    color: rgb(255, 193, 7);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.pulse-ring {
    width: 12px;
    height: 12px;
    background: rgb(255, 193, 7);
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(255, 193, 7);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.pdf-glow-container {
    background: #121421;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.pdf-header-bar {
    background: rgba(255, 255, 255, 0.03);
    height: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 5px;
}

.btn-neon-yellow {
    background: rgb(255, 193, 7);
    color: rgb(22, 25, 43);
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
    border: none;
}

.btn-neon-yellow:hover {
    background: #e0a800;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

.modern-iframe {
    filter: contrast(1.05);
}

.b-lab-modal {
    background: var(--b-navy) !important;
    border: 1px solid rgb(113 200 236) !important;
    border-radius: 25px !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.doc-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.doc-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.doc-card:hover {
    transform: translateY(-5px);
    border-color: var(--b-yellow);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.img-item {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.doc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 25, 43, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.doc-card:hover .doc-overlay {
    opacity: 1;
}

.doc-overlay span {
    color: var(--b-yellow);
    border: 1px solid var(--b-yellow);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.btn-neon-yellow {
    background: var(--b-yellow);
    color: var(--b-navy);
    font-weight: bold;
    border-radius: 10px;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--b-yellow);
    border-color: var(--b-yellow);
}

.pulse-ring {
    width: 10px;
    height: 10px;
    background: var(--b-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--b-yellow);
    animation: p-glow 2s infinite;
}

@keyframes p-glow {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}


/* HEADER */
.doc-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px;
}

.doc-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.img-item {
    width: 100%;
    height: 140px;
    object-fit: contain;
    display: block;
}

#pdfFrameWrapper {
    max-width: 850px;
    margin: 0 auto;
}

#pdfIframe {
    height: 70vh !important;
    background: #fff;
}

.pdf-glow-container {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

#imageViewer {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: #fff;
    padding: 5px;
}

.hero-section {
    background: var(--primary-bg);
    color: #fff;
    overflow: hidden;
}

.hero-left {
    padding: 0 8% !important;
    z-index: 5;
}

.hero-tag {
    color: rgba(13, 202, 240);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #8b8ea1;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.accent-text {
    color: rgba(13, 202, 240);
    text-shadow: 0 0 20px rgb(113 200 236 / 55%);
}

.hero-description {
    font-size: 1.1rem;
    color: #a0a4b8;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
}

.btn-primary-byte {
    background: rgba(13, 202, 240);
    color: #0d0f1a;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary-byte:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
    color: #000;
}

.btn-secondary-byte {
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.hero-right {
    position: relative;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(255, 193, 7, 0.05) 0%, transparent 10%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    max-width: 85%;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.blob-gradient {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #ffffff;
    filter: blur(90px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 1;
}

/* Animasiya */
.floating {
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-left {
        padding: 80px 5% !important;
        text-align: center;
    }

    .hero-btn-group {
        justify-content: center;
        flex-direction: column;
    }
}



/* ABOUT */
.about-modern {
    background: #0f111a;
    padding: 100px 0;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}

.title-line {
    width: 60px;
    height: 4px;
    background: rgba(13, 202, 240);
    margin: 15px auto 40px;
    border-radius: 2px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(13, 202, 240);
}

.about-card.highlighted {
    border-color: rgb(113 200 236 / 55%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
    font-size: 40px;
    color: rgba(13, 202, 240);
    margin-bottom: 20px;
}

.about-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card p {
    color: #a0a4b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.lead-text {
    color: #d1d5db;
    font-size: 1.1rem;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* SERVİCES */
.modules-section {
    background: #0b0d17;
    padding: 100px 0;
}

.section-heading {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: rgba(13, 202, 240);
    margin: 15px auto 50px;
}

.module-link {
    text-decoration: none !important;
}

.module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.03));
    z-index: 0;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.module-step {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgb(113 200 236 / 55%);
    font-family: 'Courier New', Courier, monospace;
}

.module-icon {
    font-size: 2.5rem;
    color: rgba(13, 202, 240);
}

.module-card h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.module-card p {
    color: #a0a4b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    z-index: 1;
    position: relative;
}

.module-meta {
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    z-index: 1;
    position: relative;
}

.module-meta span {
    font-size: 0.85rem;
    color: rgba(13, 202, 240);
    background: rgba(255, 193, 7, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
}

.module-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(13, 202, 240);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.module-card.featured {
    border-color: rgb(113 200 236);
    background: rgba(255, 193, 7, 0.02);
}

.module-card.featured::after {
    content: "ƏN ÇOX SEÇİLƏN";
    position: absolute;
    top: 15px;
    right: -30px;
    background: rgba(13, 202, 240);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 40px;
    transform: rotate(45deg);
}

/* FEATURE */
.features-modern {
    background: #0b0d17;
    padding: 100px 0;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: rgba(13, 202, 240);
    margin: 15px auto 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.navbar-brand {
    margin-left: 6%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-12px);
    border-color: rgb(113 200 236);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 25px;
    font-size: 28px;
    color: #fff;
    transition: 0.3s;
}

.feature-card .icon-circle {
    width: 70px !important;
    height: 70px !important;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px !important;
    /* Ortalamaq üçün */
    font-size: 28px !important;
    color: #fff;
    transition: 0.3s;
}


.bg-blue {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.bg-yellow {
    background: linear-gradient(135deg, rgba(13, 202, 240), #ff9800);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.bg-green {
    background: linear-gradient(135deg, #28a745, #8bc34a);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
}

.bg-purple {
    background: linear-gradient(135deg, #6f42c1, #a18cd1);
    box-shadow: 0 10px 20px rgba(111, 66, 193, 0.2);
}

.feature-card h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: #a0a4b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

/* HISTORY */

.coding-cta-modern {
    background: #0b0d17;
    padding: 80px 0;
}

.cta-glass-card {
    background: linear-gradient(135deg, rgb(113 200 236 / 18%) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgb(113 200 236 / 55%);
    padding: 60px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-badge {
    color: rgba(13, 202, 240);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.cta-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    color: #a0a4b8;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 650px;
}

.cta-text strong {
    color: #fff;
}

.btn-cta-shiny {
    background: rgba(13, 202, 240);
    color: #0b0d17;
    padding: 20px 40px;
    border-radius: 15px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgb(113 200 236);
    border: none;
}

.btn-cta-shiny:hover {
    transform: translateY(-5px) scale(1.05);
    background: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    color: #0b0d17;
}

.cta-glass-card::after {
    content: " { code } ";
    position: absolute;
    right: -20px;
    bottom: -10px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 193, 7, 0.03);
    font-family: monospace;
    z-index: 0;
}

@media (max-width: 991px) {
    .cta-glass-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-cta-shiny {
        width: 100%;
    }
}

/* CONTACT */

.contact-modern {
    background: #0b0d17;
    padding: 100px 0;
}

.info-card,
.form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    height: 100%;
}

/* Xəritə */
.styled-map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    filter: invert(90%) hue-rotate(180deg) brightness(0.7);
    /* Xəritəni tünd stilə salır */
}

.form-group-custom {
    position: relative;
}

.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    transition: 0.3s;
    outline: none;
}

.custom-input:focus {
    border-color: rgba(13, 202, 240);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.1);
}

.custom-input::placeholder {
    color: #6c757d;
}

.btn-send-modern {
    background: rgba(13, 202, 240);
    color: #0b0d17;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-send-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgb(113 200 236);
    background: #fff;
}

.g-recaptcha-wrapper {
    transform: scale(0.9);
    transform-origin: 0 0;
}

@media (max-width: 768px) {

    .info-card,
    .form-card {
        padding: 25px;
    }
}

/* FOOTER */
.footer-modern {
    background: #080a12;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: rgba(13, 202, 240);
}

.footer-text {
    color: #a0a4b8;
    line-height: 1.6;
}

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a4b8;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s ease;
}

.footer-link-item i {
    color: rgba(13, 202, 240);
    font-size: 1.1rem;
}

.footer-link-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-social-grid {
    display: flex;
    gap: 15px;
}

.social-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-box:hover {
    background: rgba(13, 202, 240);
    color: #0b0d17;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.05);
}

.copyright-text {
    color: #6c757d;
}

.btn-footer-cta {
    background: transparent;
    border: 1px solid rgba(13, 202, 240);
    color: rgba(13, 202, 240);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-footer-cta:hover {
    background: rgba(13, 202, 240);
    color: #0b0d17;
}

/* ==========================================================================
 MODULLAR  SECTION
   ========================================================================== */

#data-structure {
    background-color: var(--primary-bg);
    color: var(--text-white);
}

#data-structure .card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
}

#data-structure .card h1,
#data-structure .card .card-body {
    color: var(--text-white) !important;
}

#data-structure .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bg-blue {
    background: linear-gradient(135deg, #16192b 0%, #0b0d17 100%) !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
}

#data-structure .border.rounded-4.bg-white {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-white) !important;
}

#data-structure .border.rounded-4.bg-white h4 {
    color: var(--accent-yellow) !important;
}

.text-warning {
    color: var(--accent-yellow) !important;
}

.bg-primary-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: var(--accent-yellow) !important;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.dashed-wrapper {
    border: 2px dashed rgb(113 200 236);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 193, 7, 0.02);
}

.info-text {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.text-danger {
    color: #ff4d4d !important;
    transition: 0.3s;
}

.text-danger:hover {
    color: var(--accent-yellow) !important;
    text-decoration: underline !important;
}

#data-structure .bi-diagram-3-fill {
    filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.2));
}

#data-structure .badge.bg-primary {
    background-color: var(--accent-yellow) !important;
    color: #000 !important;
    font-weight: 600;
}

#data-structure .bi-check-circle-fill.text-warning {
    color: var(--accent-yellow) !important;
}

#data-structure h4.fw-bold {
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    padding-bottom: 10px;
}

.backend-icon-box {
    position: relative;
    display: inline-block;
}

.backend-icon-box i {
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}


#portfolio-section {
    background: #0f121f;
    /* Tünd professional fon */
    color: #ffffff;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 300px;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

/* Kartın daxili elementləri */
.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00d4ff, #0055ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Arxa fondakı dekorativ dairə */
.portfolio-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    transition: 0.4s;
}

.portfolio-card:hover::before {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.5);
}

.tech-stack {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.btn-view {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-view:hover {
    gap: 15px;
    color: #ffffff;
}

/* CMS */
.project-container {
    max-width: 1200px;
    margin: auto;
}


.project-header {
    background: linear-gradient(180deg, rgba(var(--info-rgb), 0.1) 0%, transparent 100%);
    border: 1px solid rgba(var(--info-rgb), 0.15);
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.project-header h1 {
    letter-spacing: 1px;
    color: #ffffff;
}

.project-header p, .custom-card h5, .custom-card i {
    color: #fff !important;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff !important;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 15px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.custom-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.custom-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(var(--info-rgb), 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-card i {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
}

.notice-box {
    background: rgba(var(--info-rgb), 0.03);
    border: 1px dashed rgba(var(--info-rgb), 0.4);
    border-radius: 12px;
    padding: 20px;
    color: #adb5bd;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-box i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.media-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-wrapper img {
    transition: transform 0.5s ease;
    filter: grayscale(30%);
}

.media-wrapper:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.media-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(var(--info-rgb), 0.85);
    color: #000;
    padding: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: gap 0.3s;
}

.btn-back:hover {
    gap: 15px;
    color: #ffffff;
}

/* Media Bölməsi */
    .media-wrapper {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #111;
    }

    .media-wrapper img, .media-wrapper video {
        transition: transform 0.5s ease;
        width: 100%;
        display: block;
    }

    .media-wrapper:hover img {
        transform: scale(1.05);
    }

    .media-overlay {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(var(--info-rgb), 0.85);
        color: #000;
        padding: 6px;
        text-align: center;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
    }

    .tech-badge {
        background: rgba(var(--info-rgb), 0.1);
        border: 1px solid rgba(var(--info-rgb), 0.2);
        color: var(--accent-cyan);
        padding: 5px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        display: inline-block;
        margin: 4px;
    }

    .media-wrapper {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #111;
        margin-bottom: 20px;
    }

    .media-wrapper img {
        transition: transform 0.5s ease;
        width: 100%;
        display: block;
    }

    .media-overlay {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(var(--info-rgb), 0.85);
        color: #000;
        padding: 6px;
        text-align: center;
        font-weight: 700;
        font-size: 0.75rem;
    }

    .notice-box {
        background: rgba(255, 59, 48, 0.05);
        border: 1px dashed rgba(255, 59, 48, 0.3);
        border-radius: 12px;
        padding: 15px;
        color: #ef9a9a;
        font-size: 0.85rem;
    }

    .devops-badge {
        background: #2d3748;
        color: #edf2f7;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-family: 'Courier New', Courier, monospace;
    }

   .media-card {
        background: #1c1f2b; /* Kartın fonu */
        border-radius: 15px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 400px; /* Bütün kartlar üçün sabit hündürlük */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .media-viewport {
        flex: 0 0 250px; /* Media hissəsi həmişə 250px olacaq */
        position: relative;
        overflow: hidden;
        background: #000;
    }

    .media-viewport video, 
    .media-viewport img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Bu vacibdir: medianı deformasiya etmədən sahəyə sığdırır */
    }

    .media-caption {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        text-align: center;
        font-weight: bold;
        color: #fff;
    }

    .media-card:hover img {
        transform: scale(1.05);
    }

    .watermark-notice {
        border-left: 4px solid #e74c3c;
        background: rgba(231, 76, 60, 0.1);
        padding: 15px;
        font-size: 0.9rem;
    }

    .tech-pill {
        background: rgba(46, 204, 113, 0.1);
        color: #fff;
        border: 1px solid rgba(46, 204, 113, 0.3);
        padding: 8px 15px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .feature-card {
        background: var(--card-bg);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-green);
        box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
    }