.footer {
    background: var(--dark-color);
    color: white;
    padding: 100px 0 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.newsletter-wrapper {
    position: relative;
    padding: 0 0 80px 0;
    margin-top: 40px;
    z-index: 10;
}

.newsletter-card {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(30, 144, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.newsletter-form {
    position: relative;
    z-index: 2;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-input:focus {
    border-color: white;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.newsletter-privacy {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin: 0;
    text-align: left;
}

#newsletter-success {
    text-align: center;
    padding: 20px;
}

.newsletter-success-message {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-success-message i {
    font-size: 1.5rem;
}

@media (max-width: 991.98px) {
    .newsletter-card {
        padding: 40px 30px;
    }

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

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

@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 0 0 60px 0;
        margin-top: 30px;
    }

    .newsletter-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .newsletter-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .newsletter-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    .newsletter-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-btn {
        width: 100%;
        padding: 14px 30px;
    }

    .newsletter-privacy {
        text-align: center;
        font-size: 0.8rem;
    }
}


:root {
    --primary-color: #1E90FF;
    --secondary-color: #0066CC;
    --accent-color: #FF6B47;
    --dark-color: #2d3748;
    --light-color: #f7fafc;
    --gradient: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
    --gradient-hover: linear-gradient(135deg, #0080FF 0%, #0056B3 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    height: 56px !important;
    width: auto;
    max-width: 180px;
    transition: height 0.2s;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 44px !important;
        max-width: 140px;
    }

    .nav-link {
        margin: 0 10px;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    position: relative;
    margin: 0 20px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Dropdown nyitva: ne jelenjen meg a csík */
.nav-item.show>.nav-link::after,
.nav-link.active::after {
    width: 0 !important;
}

.hero {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

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

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

.hero-modern--narrow {
    min-height: unset !important;
    padding: 130px 0 38px 0 !important;
}

.section {
    padding: 80px 0;
}

#portfolio {
    padding-bottom: 0 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-title.first,
.section-title--first {
    margin-top: 80px;
}

@media (max-width: 768px) {

    .section-title.first,
    .section-title--first {
        margin-top: 50px;
    }
}

.service-card {
    /* Glassmorphism & 3D Tilt */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.service-card h4,
.service-card p {
    transform: translateZ(20px);
}

.service-card .service-icon {
    transform: translateZ(30px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-card--light {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
}

.service-card--light h4,
.service-card--light p {
    color: #fff !important;
}

.section[style*="color: #fff"] .section-title h2 {
    color: #fff !important;
}


.service-card .btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.10);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 1rem;
    margin-top: 10px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.service-card .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.18);
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.portfolio-content {
    padding: 30px;
    transform: translateZ(20px);
}

.portfolio-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-bottom: 0;
    display: block;
}

.portfolio-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.portfolio-content p {
    color: #666;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tag {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}



.stats-section {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-section {
    background: var(--light-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-section .btn-primary {
    background: var(--primary-color);
    border: none;
    color: #fff;
}

.contact-section .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Portfolio tab/accordion scroll stílusok */
.portfolio-tabs {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.portfolio-tab {
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    overflow: hidden;
    max-height: 120px;
    box-shadow: none;
    border-radius: 18px;
    background: transparent;
    opacity: 0.7;
    cursor: pointer;
}

.portfolio-tab.active {
    max-height: 600px;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.10);
    background: #fff;
    opacity: 1;
}

.portfolio-tab .portfolio-item {
    transition: filter 0.3s;
    filter: grayscale(1) blur(1px);
}

.portfolio-tab.active .portfolio-item {
    filter: none;
}

.portfolio-tab .portfolio-content {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s, max-height 0.4s;
    padding: 0 30px;
}

.portfolio-tab.active .portfolio-content {
    opacity: 1;
    max-height: 300px;
    padding: 30px;
}

.portfolio-tab .portfolio-image {
    transition: border-radius 0.3s, box-shadow 0.3s;
    border-radius: 15px 15px 0 0;
    box-shadow: none;
}

.portfolio-tab.active .portfolio-image {
    border-radius: 15px;
    box-shadow: 0 4px 24px rgba(30, 144, 255, 0.08);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .service-card {
        margin-bottom: 30px;
    }

    .portfolio-tabs {
        gap: 18px;
    }

    .portfolio-tab.active .portfolio-content {
        padding: 18px;
    }

    .portfolio-tab.active {
        max-height: 1200px;
    }

    .portfolio-image {
        width: 100%;
        height: 180px;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 70px;
    }
}

.portfolio-tabs-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.portfolio-tabmenu {
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    margin-top: 20px;
}

.portfolio-tabs {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding-left: 0;
}

.portfolio-tabmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portfolio-tabmenu li {
    background: #f7fafc;
    color: var(--dark-color);
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: 2px solid transparent;
    font-size: 1.08rem;
}

.portfolio-tabmenu li.active,
.portfolio-tabmenu li:hover {
    background: var(--gradient);
    color: #fff;
    border-color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .portfolio-tabs-layout {
        flex-direction: column;
        gap: 18px;
    }

    .portfolio-tabmenu {
        min-width: unset;
        max-width: unset;
        margin-top: 0;
    }

    .portfolio-tabs {
        width: 100%;
        padding-left: 0;
    }

    .portfolio-tabmenu ul {
        flex-direction: column;
        gap: 8px;
        justify-content: flex-start;
        align-items: stretch;
    }

    .portfolio-tabmenu li {
        width: 100%;
        box-sizing: border-box;
    }
}

.hero-referenciak {
    position: relative;
    background: #111;
    color: #fff;
    padding: 60px 0 40px 0;
    overflow: hidden;
    z-index: 1;
}

.hero-referenciak__container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-referenciak__oszlop {
    width: 180px;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    background: #222;
    position: relative;
}

.hero-referenciak__lista {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: scroll-vert 8s linear infinite;
}

.hero-referenciak__lista img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@keyframes scroll-vert {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.hero-referenciak__szoveg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 8px #000;
}

.hero-referenciak__szoveg h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

.hero-referenciak__szoveg p {
    font-size: 1.2rem;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .hero-referenciak__container {
        gap: 16px;
    }

    .hero-referenciak__oszlop {
        width: 120px;
        height: 220px;
    }

    .hero-referenciak__szoveg h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-referenciak__container {
        flex-direction: column;
        align-items: center;
    }

    .hero-referenciak__oszlop {
        width: 90vw;
        height: 120px;
    }

    .hero-referenciak__szoveg {
        position: static;
        transform: none;
        margin: 16px 0;
    }
}

.hero-modern {
    background: var(--gradient);
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    perspective: 1000px;
    /* Parallaxhoz */
}

.hero-modern__background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-modern__shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-modern__shape {
    position: absolute;
    border-radius: 50%;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-modern__shape--1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-modern__shape--2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(3px);
}

.hero-modern__shape--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    background: rgba(255, 255, 255, 0.1);
}

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

.hero-modern__text {
    max-width: 650px;
}

.hero-modern__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    word-break: break-word;
}

.hero-modern__title-main {
    display: block;
    color: #fff;
}

.hero-modern__title-accent {
    display: block;
    color: #fff;
}

.hero-modern__description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-modern__cta {
    margin-bottom: 0;
}

.btn-primary--hero {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.btn-primary--hero:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn-primary--hero i {
    transition: transform 0.3s ease;
}

.btn-primary--hero:hover i {
    transform: translateX(5px);
}

.hero-modern__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-modern__icon {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.hero-modern__icon i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

@media (max-width: 1024px) {
    .hero-modern__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-modern__title {
        font-size: 3rem;
    }

    .hero-modern__icon {
        width: 150px;
        height: 150px;
    }

    .hero-modern__icon i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: 80vh;
        padding: 110px 0 60px 0;
    }

    .hero-modern__content {
        gap: 30px;
        padding: 0 15px;
    }

    .hero-modern__title {
        font-size: 2.5rem;
    }

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

    .btn-primary--hero {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .hero-modern__icon {
        width: 120px;
        height: 120px;
    }

    .hero-modern__icon i {
        font-size: 2.5rem;
    }

    .hero-modern__shape--1 {
        width: 200px;
        height: 200px;
    }

    .hero-modern__shape--2 {
        width: 150px;
        height: 150px;
    }

    .hero-modern__shape--3 {
        width: 100px;
        height: 100px;
    }
}

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

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

    .btn-primary--hero {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}


.stats-section,
.stats-section h2,
.stats-section h3,
.stats-section h4,
.stats-section h5,
.stats-section p,
.stats-section li,
.stats-section ol,
.stats-section ul,
.stats-section .stat-item,
.stats-section .stat-number,
.stats-section .stat-label {
    color: #fff !important;
}

.contact-section,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section p,
.contact-section li,
.contact-section ol,
.contact-section ul {
    color: var(--dark-color) !important;
}

.portfolio-image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 0;
}

.portfolio-image-bw {
    display: block;
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1), box-shadow 0.4s;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}

.portfolio-image-wrapper::after {
    display: none;
}

#portfolio {
    padding: 80px 0;
}

.portfolio-item-horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.portfolio-item-horizontal .portfolio-image {
    width: 45%;
    min-height: 350px;
    object-fit: cover;
    margin-bottom: 0;
}

.portfolio-item-horizontal .portfolio-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-item-horizontal:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .portfolio-item-horizontal .portfolio-image {
        width: 50%;
    }

    .portfolio-item-horizontal .portfolio-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .portfolio-item-horizontal {
        flex-direction: column;
    }

    .portfolio-item-horizontal:nth-child(even) {
        flex-direction: column;
    }

    .portfolio-item-horizontal .portfolio-image {
        width: 100%;
        height: 250px;
        min-height: unset;
    }

    .portfolio-item-horizontal .portfolio-content {
        padding: 30px 20px;
    }
}

.cta-section {
    background: var(--gradient);
    color: #fff;
    padding: 60px 0;
    margin: 60px 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.cta-text {
    font-size: 1.15rem;
    margin-bottom: 0;
    color: #f7fafc;
    opacity: 0.95;
}

.cta-section .btn-primary {
    font-size: 1.2rem;
    padding: 18px 38px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 12px;
    box-shadow: 0 6px 24px rgba(30, 144, 255, 0.18);
}

@media (max-width: 991.98px) {
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-section .btn-primary {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 768px) {
    .cta-section .row {
        flex-direction: column;
        text-align: center;
    }

    .cta-section .col-lg-8,
    .cta-section .col-lg-4 {
        max-width: 100%;
    }

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

.logo-slider-section .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-slider-header {
    flex-shrink: 0;
}

.logo-slider-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    white-space: nowrap;
}

.logo-scroll-container {
    flex: 1;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .logo-slider-section .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .logo-slider-header h3 {
        font-size: 1.1rem;
        white-space: normal;
    }
}

.logo-slider-img {
    max-height: 70px;
    width: auto;
    min-width: 100px;
    flex: 1 1 16%;
    /* 6 logó egy sorban */
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.3s, transform 0.3s;
    padding: 8px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
    .logo-slider-img {
        flex: 1 1 30%;
        min-width: 80px;
    }
}

@media (max-width: 576px) {
    .logo-slider-img {
        flex: 1 1 45%;
        min-width: 60px;
    }
}

.logo-slider-img:hover {
    filter: grayscale(0%) contrast(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    transform: scale(1.07);
}

.logo-slider-section .carousel-indicators {
    position: static;
    margin-top: 24px;
    justify-content: center;
}

.logo-slider-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #222;
    opacity: 0.4;
    border: none;
    margin: 0 6px;
    transition: opacity 0.2s, background 0.2s;
}

.logo-slider-section .carousel-indicators .active {
    opacity: 1;
    background-color: #111;
}

.logo-slider-section .carousel-control-prev,
.logo-slider-section .carousel-control-next,
.logo-slider-section .carousel-control-prev-icon,
.logo-slider-section .carousel-control-next-icon {
    display: none !important;
}

.logo-scroll-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE, Edge */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.logo-scroll-container:active {
    cursor: grabbing;
}

.logo-slider-img {
    height: 60px;
    flex: 0 0 auto;
    transition: transform 0.2s;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
    filter: none;
    opacity: 0.92;
}

.logo-slider-img:hover {
    transform: scale(1.08) rotate(-2deg);
    opacity: 1;
}

.logo-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.logo-scroll-container::-webkit-scrollbar-thumb {
    background: #a259c6;
    border-radius: 4px;
}

.logo-scroll-container::-webkit-scrollbar-track {
    background: #f3f3f3;
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 144, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-top: 0px !important;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 380px;
    animation: dropdown-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }

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

.navbar .dropdown-item {
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    margin: 4px 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
    line-height: 1.4;
    width: calc(100% - 12px);
    box-sizing: border-box;
}

.navbar .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.1), transparent);
    transition: left 0.5s;
}

.navbar .dropdown-item:hover::before {
    left: 100%;
}

.navbar .dropdown-item:hover {
    background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

.navbar .dropdown-item i {
    width: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.navbar .dropdown-item:hover i {
    transform: scale(1.1);
}

.navbar .dropdown-item:active,
.navbar .dropdown-item:focus {
    background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
    color: #fff;
    transform: translateX(2px);
}

/* Desktop hover effekt */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0px;
        animation: dropdown-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar .dropdown-toggle::after {
        display: none !important;
    }

    .navbar .dropdown-toggle {
        position: relative;
        padding-right: 20px !important;
    }

    .navbar .dropdown-toggle::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--dark-color);
        transition: all 0.3s ease;
    }

    .navbar .dropdown:hover .dropdown-toggle::before {
        border-top-color: var(--primary-color);
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Mobilos optimalizálás */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 15px 0;
    }

    .navbar .nav-link {
        width: 100%;
        margin: 0 !important;
        padding: 12px 15px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .dropdown-toggle::after {
        display: inline-block !important;
        content: "" !important;
        width: 8px !important;
        height: 8px !important;
        margin-left: auto;
        vertical-align: middle;
        border: solid var(--primary-color);
        border-width: 0 2px 2px 0;
        padding: 0 !important;
        background: none !important;
        transform: rotate(45deg);
        position: relative;
        top: -1px;
        transition: transform 0.3s ease;
    }

    .navbar .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(225deg);
        top: 2px;
    }

    .navbar .dropdown-menu {
        border-radius: 0;
        margin-top: 0 !important;
        padding: 8px 0;
        min-width: unset;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
        position: relative;
        background: rgba(0, 0, 0, 0.02);
    }

    .navbar .dropdown-item {
        padding: 14px 20px;
        font-size: 0.95rem;
        margin: 0;
        width: 100%;
        border-radius: 0;
        box-sizing: border-box;
    }

    .navbar .dropdown-menu.show {
        display: block;
        animation: dropdown-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;
}

.blog-hero {
    background: linear-gradient(135deg, #eaf4ff 0%, #f7fafc 100%);
    border-radius: 32px;
    padding: 64px 0 48px 0;
    margin-bottom: 48px;
    box-shadow: 0 6px 32px rgba(30, 144, 255, 0.06);
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 32px 0 24px 0;
        border-radius: 16px;
        margin-bottom: 24px;
    }
}

/* Services Tabbed Interface */
.services-tabbed {
    background: #f8f9fa;
}

.services-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.services-tab-btn {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 120px;
    justify-content: center;
    font-size: 0.85rem;
    white-space: nowrap;
}

.services-tab-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
}

.services-tab-btn.active {
    background: var(--gradient);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.services-tab-btn i {
    font-size: 1.2rem;
}

.services-tabs-content {
    background: rgba(255, 255, 255, 0.85);
    /* Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.services-tab-panel {
    display: none;
}

.services-tab-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

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

.services-tab-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
}

.services-tab-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-icon-large {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
}

.services-icon-large i {
    font-size: 3rem;
    color: #fff;
}

.services-tab-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.services-tab-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.services-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.services-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

.services-feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

.services-tab-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.services-tab-cta .btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.services-tab-cta .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .services-tabs-nav {
        gap: 6px;
    }

    .services-tab-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .services-tabs-nav {
        gap: 5px;
    }

    .services-tab-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        min-width: 100px;
    }

    .services-tabs-content {
        padding: 30px 20px;
    }

    .services-tab-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .services-icon-large {
        width: 100px;
        height: 100px;
    }

    .services-icon-large i {
        font-size: 2.5rem;
    }

    .services-tab-text h3 {
        font-size: 1.8rem;
    }

    .services-features {
        grid-template-columns: 1fr;
    }

    .services-tab-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-tabs-nav {
        gap: 4px;
    }

    .services-tab-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
        min-width: 90px;
    }

    .services-tabs-content {
        padding: 20px 15px;
    }

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

    .services-tab-description {
        font-size: 1rem;
    }
}

.blog-list {
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.blog-card-img-wrap {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f1f5f9;
}

.blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.1);
}

.blog-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-footer {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.read-more-link i {
    transition: transform 0.2s;
}

.read-more-link:hover i {
    transform: translateX(4px);
}

.blog-post-article {
    background: #fff;
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-post-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.blog-post-body {
    padding: 60px 80px;
}

@media (max-width: 992px) {
    .blog-post-body {
        padding: 40px 30px;
    }

    .blog-post-hero-img {
        height: 350px;
    }
}

.blog-post-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    background: #f8fafc;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.25rem;
    margin: 40px 0;
}

.privacy-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.privacy-content ul li {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-content strong {
    color: var(--dark-color);
    font-weight: 600;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 30px 20px;
    }

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

    .privacy-content h3 {
        font-size: 1.2rem;
    }
}

.privacy-checkbox {
    margin: 20px 0;
}

.privacy-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    color: var(--secondary-color);
}

.newsletter-wrapper .privacy-checkbox label {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-wrapper .privacy-checkbox a {
    color: white;
}


.privacy-checkbox.error label {
    color: #dc3545;
}

.privacy-checkbox.error input[type="checkbox"] {
    border-color: #dc3545;
}

/* Blog post tables and CKEditor elements */
.blog-content table {
    width: 100%;
    margin: 2rem 0;
    color: var(--dark-color);
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.blog-content table, 
.blog-content table th, 
.blog-content table td {
    border: 1px solid #edf2f7;
}

.blog-content table th,
.blog-content table td {
    padding: 15px 20px;
    vertical-align: top;
    line-height: 1.6;
}

.blog-content table thead th,
.blog-content table th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--primary-color);
    background-color: #f8f9fa;
    font-weight: 700;
    text-align: left;
    color: var(--dark-color);
}

.blog-content table tbody tr {
    transition: background-color 0.2s ease;
}

.blog-content table tbody tr:nth-of-type(even) {
    background-color: rgba(30, 144, 255, 0.02);
}

.blog-content table tbody tr:hover {
    background-color: rgba(30, 144, 255, 0.06);
}

.blog-content figure.table {
    margin: 2.5rem 0;
    overflow-x: auto;
    border-radius: 12px;
}

.blog-content blockquote {
    padding: 1rem 1.5rem;
    border-left: 5px solid var(--primary-color);
    background-color: rgba(30, 144, 255, 0.03);
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.blog-content code {
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: inherit;
    color: #e83e8c;
    font-size: 0.9em;
}

.blog-content pre {
    background-color: #2d3748;
    color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}