:root {
    --deep-blue: #1E3A5F;
    --medium-blue: #3A5F8A;
    --light-blue: #5B8FB9;
    --soft-blue: #B3D4FF;
    --pale-blue: #E6F0FF;
    --white: #ffffff;
    --text-dark: #1A2B3C;
    --text-muted: #5A6B7C;
    --gradient-navbar: linear-gradient(135deg, rgba(30, 58, 95, 1) 0%, rgba(58, 95, 138, 1) 100%);
    --gradient-primary: linear-gradient(135deg, rgba(30, 58, 95, 0.86) 0%, rgba(58, 95, 138, 0.82) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(179, 212, 255, 0.85) 0%, rgba(230, 240, 255, 0.95) 100%);
    --shadow-xl: 0 40px 80px rgba(30, 58, 95, 0.25);
    --shadow-lg: 0 24px 48px rgba(30, 58, 95, 0.2);
    --shadow-md: 0 16px 30px rgba(30, 58, 95, 0.16);
    --transition: all 0.3s ease;
}

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

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

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

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

script {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--gradient-navbar);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
    background: var(--gradient-primary);
    padding: 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .navbar-container {
    padding: 12px 20px;
}

.navbar-brand {
    font-family: "Volkhov", serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    padding: 14px 22px;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    background: transparent;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--soft-blue));
    border-radius: 2px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(91, 143, 185, 0.5);
}

.navbar-link:hover {
    color: var(--soft-blue);
    background: rgba(91, 143, 185, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-link.active {
    color: var(--soft-blue);
    background: linear-gradient(135deg, rgba(91, 143, 185, 0.15), rgba(179, 212, 255, 0.1));
    box-shadow: var(--shadow-md);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 70%;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.navbar-toggler span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.navbar-toggler.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--soft-blue);
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--soft-blue);
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 12px 20px;
    }
    
    .navbar.scrolled .navbar-container {
        padding: 8px 20px;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .navbar-toggler {
        display: flex;
        width: 24px;
        height: 18px;
    }
    
    .navbar-toggler span {
        height: 2px;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--gradient-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-menu.active {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        padding: 20px;
    }
    
    .navbar-item {
        width: 100%;
        max-width: 280px;
        margin-bottom: 8px;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .navbar-menu.active .navbar-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .navbar-menu.active .navbar-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-menu.active .navbar-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-menu.active .navbar-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-menu.active .navbar-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-menu.active .navbar-item:nth-child(5) { transition-delay: 0.3s; }
    
    .navbar-link {
        padding: 16px 20px;
        border-radius: 8px;
        width: 100%;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: center;
    }
    
    .navbar-link::after {
        display: none;
    }
    
    .navbar-link:hover {
        background: rgba(91, 143, 185, 0.15);
        transform: translateY(-2px);
    }
    
    .overlay {
        display: none;
    }
}

.masthead {
    background: var(--gradient-primary);
    color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.masthead-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.masthead-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    animation: zoomInOut 20s ease-in-out infinite;
    filter: brightness(0.4);
}

.masthead-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 95, 0.6) 0%,
        rgba(58, 95, 138, 0.4) 50%,
        rgba(91, 143, 185, 0.2) 100%
    );
    z-index: 1;
}

.masthead-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.masthead-heading {
    font-family: "Volkhov", serif;
    font-size: 4rem;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.masthead-subheading {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--deep-blue);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 1.1s both;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--soft-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

section {
    padding: 80px 20px;
}

.section-heading {
    font-family: "Volkhov", serif;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--light-blue);
}

.section-subheading {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-section {
    background-color: var(--pale-blue);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--medium-blue);
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-text {
    padding: 30px;
    border-radius: 10px;
    max-height: 550px;
    overflow-y: auto;
}

.about-text h3 {
    font-family: "Volkhov", serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.gallery-section {
    background-color: var(--white);
    padding: 80px 20px;
}

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

.gallery-grid {
    display: grid;
    gap: 25px;
    padding: 20px 0;
}

.gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 280px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

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

.gallery-overlay i {
    font-size: 2.7rem;
    color: var(--soft-blue);
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.services-section {
    background-color: var(--pale-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.service-icon {
    font-size: 2rem;
    color: var(--medium-blue);
    margin-bottom: 0;
}

.service-title {
    font-family: "Volkhov", serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .service-card {
        padding: 18px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-icon {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 0.95rem;
    }
}

.contact-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.contact-container-new {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.map-column {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(10%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.contact-column {
    padding: 20px 0;
}

.contact-column .section-heading {
    font-family: "Volkhov", serif;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
}

.contact-column .section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--light-blue);
}

.contact-column .section-subheading {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contact-detail-item-new {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    border-radius: 12px;
    background-color: rgba(91, 143, 185, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(58, 95, 138, 0.05);
    min-height: 120px;
}

.contact-detail-item-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: rgba(91, 143, 185, 0.1);
    border-color: rgba(58, 95, 138, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-item-new:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.contact-text h4 {
    font-family: "Volkhov", serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 400;
}

.contact-text p {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.contact-actions-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-actions-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.contact-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1;
}

.action-label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: "IBM Plex Sans Condensed", sans-serif;
}

.contact-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid rgba(58, 95, 138, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: var(--light-blue);
    color: var(--white);
}

.whatsapp-btn:hover {
    background-color: var(--light-blue);
}

.contact-btn i {
    font-size: 1.3rem;
}

footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-family: "Volkhov", serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--light-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    color: var(--soft-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--soft-blue);
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--soft-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.social-link.whatsapp:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
}

.social-link i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .section-heading {
        font-size: 2rem;
    }
    
    .contact-column .section-heading {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-column {
        height: 350px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.about-text::-webkit-scrollbar {
    width: 8px;
}

.about-text::-webkit-scrollbar-track {
    background: var(--pale-blue);
    border-radius: 10px;
}

.about-text::-webkit-scrollbar-thumb {
    background: var(--light-blue);
    border-radius: 10px;
}

.about-text::-webkit-scrollbar-thumb:hover {
    background: var(--medium-blue);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-xl);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-family: "Volkhov", serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 400;
}

.modal-content h3 {
    font-family: "Volkhov", serif;
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--text-dark);
    font-weight: 400;
}

.modal-content p {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dark);
}

.close:hover {
    color: var(--medium-blue);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 95, 0.65);
    backdrop-filter: blur(10px);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(30, 58, 95, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-blue);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1101;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.lightbox-close:hover {
    background: rgba(58, 95, 138, 0.9);
    transform: scale(1.1);
    color: var(--white);
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-blue);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1102;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    color: var(--white);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--soft-blue);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    padding: 0 20px;
}

#lightbox-counter {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
    font-weight: 400;
}

#lightbox-text {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--light-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    display: block;
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-text h3 {
    font-family: "Volkhov", serif;
    font-size: 2rem;
    margin: 0;
    font-weight: 400;
    animation: pulse 2s ease-in-out infinite;
}

.loader-text p {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
    font-weight: 400;
}

.loader-icon {
    font-size: 3.5rem;
    color: var(--light-blue);
    animation: pulse 2s infinite;
}

.scroll-back-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-back-btn.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-back-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.scroll-back-btn:active {
    transform: translateY(-2px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}