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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: opacity;
    animation: logoGlow 2s ease-in-out infinite;
    text-decoration: none;
}

a.logo:hover {
    text-decoration: none;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.9) 0%, rgba(30, 60, 114, 0.9) 100%),
                url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><rect width="200" height="200" fill="url(%23grad)"/></svg>');
    background-size: cover;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.hero .container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    color: white;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Main Content */
main {
    background-color: #ffffff;
    position: relative;
}

section:not(.publisher-blog__section) {
    padding: 5rem 0;
    position: relative;
    animation: fadeIn 0.8s ease-out;
    background-color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

section:not(.publisher-blog__section):nth-child(even) {
    background-color: #f8f9fa;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e3c72;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    animation: slideInLeft 0.8s ease-out;
    background-color: transparent;
}

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

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
    transform-origin: left;
    animation: expandScale 0.8s ease-out 0.3s both;
}

@keyframes expandScale {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #2a5298;
    font-weight: 600;
    transition: all 0.3s;
}

h3:hover {
    transform: translateX(5px);
    color: #ff6b35;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: #2a5298;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

h4::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    animation: checkmark 0.5s ease-out;
}

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

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    animation: fadeIn 0.8s ease-out;
    color: #333;
}

strong {
    font-weight: 600;
    color: #1e3c72;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    padding: 0 0.2rem;
    border-radius: 3px;
}

a {
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.publisher-blog__card,
.publisher-blog__btn {
    text-decoration: none;
}

.publisher-blog__card:hover,
.publisher-blog__btn:hover,
.publisher-blog__card:focus-visible,
.publisher-blog__btn:focus-visible {
    text-decoration: none;
}

/* Section Header */
.section-header {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    animation: cardFloat 3s ease-in-out infinite;
}

.service-card h3 {
    color: #1e3c72;
    margin-top: 0;
}

.service-card p {
    color: #555;
}

.service-card-blue {
    border-top: 5px solid #2a5298;
    background-color: #ffffff;
    border-left: 3px solid #2a5298;
}

.service-card-blue:hover {
    border-top-width: 8px;
    border-left-width: 5px;
    background-color: #f0f4ff;
    box-shadow: 0 8px 30px rgba(42, 82, 152, 0.2);
}

.service-card-orange {
    border-top: 5px solid #ff6b35;
    background-color: #ffffff;
    border-left: 3px solid #ff6b35;
}

.service-card-orange:hover {
    border-top-width: 8px;
    border-left-width: 5px;
    background-color: #fff5f0;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.service-card-green {
    border-top: 5px solid #4CAF50;
    background-color: #ffffff;
    border-left: 3px solid #4CAF50;
}

.service-card-green:hover {
    border-top-width: 8px;
    border-left-width: 5px;
    background-color: #f0f9f1;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(42, 82, 152, 0.3);
    border-color: #ff6b35;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

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

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    border-left-width: 8px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

.text-content {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
}

.text-content h2 {
    color: #1e3c72;
    margin-top: 0;
}

.text-content p {
    color: #333;
    line-height: 1.8;
}

.features-box {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.features-box h4 {
    color: #1e3c72;
}

.features-box p {
    color: #555;
    line-height: 1.8;
}

.features-box h4 {
    margin-top: 2rem;
}

.features-box h4:first-child {
    margin-top: 0;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item-large {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
    border: 1px solid #e0e0e0;
}

.gallery-item-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(42, 82, 152, 0.3);
}

.gallery-item-large img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.4s;
}

.gallery-item-large:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-top: 2px solid #e0e0e0;
}

.gallery-caption h3 {
    margin-top: 0;
    color: #1e3c72;
}

.gallery-caption p {
    color: #555;
}


.gallery-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.95) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

p.gallery-item {
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.4s;
    filter: brightness(1);
    display: block;
}

p.gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s;
    filter: brightness(1) contrast(1);
    margin: 0;
}

p.gallery-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(42, 82, 152, 0.4);
    filter: brightness(1.05) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.95) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b35, #f7931e);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(42, 82, 152, 0.3);
}

.contact-item a {
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.contact-item a:hover {
    color: #ff6b35;
    transform: translateX(5px);
}

/* Section Realizacje */
section#realizacje {
    background-color: #ffffff;
    padding-bottom: 5rem;
    padding-top: 20px;
}

section#realizacje > h2 {
    background-color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section#realizacje > p:first-of-type {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    margin-bottom: 2rem;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Image Grid - Side by Side */
.content-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    animation: zoomIn 1s ease-out;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Old content-image for backwards compatibility */
.content-image {
    text-align: center;
    margin: 3rem 0;
    position: relative;
    animation: zoomIn 1s ease-out;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.content-image-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(42, 82, 152, 0.3);
    transition: all 0.4s;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    border: 3px solid rgba(42, 82, 152, 0.2);
    cursor: pointer;
}

.content-image-grid img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(42, 82, 152, 0.5);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
    border-color: rgba(42, 82, 152, 0.6);
}

.content-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(42, 82, 152, 0.3);
    transition: all 0.4s;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    border: 3px solid rgba(42, 82, 152, 0.2);
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.content-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(42, 82, 152, 0.5);
    filter: brightness(1.1) contrast(1.15) saturate(1.15);
    border-color: rgba(42, 82, 152, 0.6);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: footerPattern 20s linear infinite;
}

@keyframes footerPattern {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: #ff6b35;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

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

/* Modern Gallery Grid */
.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.gallery-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(42, 82, 152, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #ffffff;
}

.gallery-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.3), rgba(30, 60, 114, 0.3));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.gallery-item-modern:hover::before {
    opacity: 1;
}

.gallery-item-modern img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.gallery-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(42, 82, 152, 0.4);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 60, 114, 0.95), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.gallery-item-modern:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover {
    color: #ff6b35;
    transform: rotate(90deg) scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .content-image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-modern img,
    .content-image-grid img {
        height: 250px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }

    nav ul {
        gap: 1rem;
        margin-top: 1rem;
    }

    section:not(.publisher-blog__section) {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .features-grid,
    .gallery,
    .gallery-grid,
    .contact-info,
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .two-column-layout {
        gap: 2rem;
    }

    .service-card,
    .feature-card,
    .gallery-item,
    .contact-item {
        animation: none;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    section:not(.publisher-blog__section) {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    section:not(.publisher-blog__section).visible {
        opacity: 1;
        transform: translateY(0);
    }
}

