/* Base Styles */
body {
    margin: 0;
    padding: 0;
    background: #111827;
    color: #e5e7eb;
    font-family: sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

.content-wrapper {
    padding-top: 80px;
}

.sticky-header {
    transition: all 0.3s ease;
    position: sticky;
    top: 80px;
    z-index: 40;
    background: inherit;
}

    /* Scroll Progress Bar */
        .scroll-progress {
            position: fixed;
            top: 80px;
            left: 0;
            width: 0%;
            height: 4px;
            background: #3b82f6;
            z-index: 150;
            transition: width 0.1s ease, top 0.3s ease;
        }

        /* Content Wrapper */
        .content-wrapper {
            padding-top: 80px;
            transition: opacity 0.3s ease;
        }

        .menu-open .content-wrapper {
            opacity: 0.5;
            filter: blur(2px);
        }

        /* Navbar Styles */
        #navbar {
            position: fixed;
            top: 0;
            width: 100%;
            height: 80px;
            background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
            backdrop-filter: blur(15px);
            z-index: 100;
            transition: height 0.3s ease, box-shadow 0.3s ease;
        }

        #navbar.scrolled {
            height: 60px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        #navbar.scrolled + .scroll-progress {
            top: 60px;
        }

        .nav-container {
            max-width: 1280px; /* max-w-7xl */
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-logo {
            font-size: 1.5rem; /* text-2xl */
            font-weight: 700; /* font-bold */
            background: linear-gradient(to right, #3b82f6, #9333ea);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem; /* space-x-6 */
        }

        .nav-link {
            position: relative;
            padding-bottom: 0.5rem;
            color: #d1d5db; /* text-gray-300 */
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(to right, #3b82f6, #9333ea);
            transition: width 0.3s ease, transform 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link:hover {
            color: #3b82f6;
        }

        .theme-toggle {
            padding: 0.5rem;
            border-radius: 9999px;
            background: transparent;
            color: #d1d5db;
            transition: background-color 0.3s ease;
        }

        .theme-toggle:hover {
            background: rgba(55, 65, 81, 0.5); /* hover:bg-gray-700/50 */
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 0.375rem; /* gap-1.5 */
            cursor: pointer;
            padding: 0.5rem;
        }

        .hamburger span {
            width: 1.5rem; /* w-6 */
            height: 0.125rem; /* h-0.5 */
            background: linear-gradient(to right, #3b82f6, #9333ea);
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .hamburger.open span:nth-child(1) {
            transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
            background: #ffffff;
        }

        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg) translate(0.4375rem, -0.4375rem);
            background: #ffffff;
        }

        #mobileMenu {
            position: fixed;
            top: 80px;
            right: -100%;
            width: 100%;
            height: calc(100vh - 80px);
            background: linear-gradient(to bottom, rgba(17, 24, 39, 0.98), rgba(31, 41, 55, 0.98));
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            padding: 2rem 1.5rem;
            transition: right 0.3s ease;
            z-index: 90;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        }

        #mobileMenu.open {
            right: 0;
        }

        .mobile-link {
            padding: 1rem 1.5rem;
            color: #d1d5db; /* text-gray-300 */
            font-size: 1.125rem;
            text-align: left;
            position: relative;
            opacity: 0;
            transform: translateX(20px);
            transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
        }

        #mobileMenu.open .mobile-link {
            opacity: 1;
            transform: translateX(0);
        }

        #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
        #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
        #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
        #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
        #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }
        #mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.6s; }
        #mobileMenu.open .mobile-link:nth-child(7) { transition-delay: 0.7s; }
        #mobileMenu.open .mobile-link:nth-child(8) { transition-delay: 0.8s; }

        .mobile-link::after {
            content: '';
            position: absolute;
            bottom: 0.5rem;
            left: 1.5rem;
            width: 0;
            height: 2px;
            background: linear-gradient(to right, #3b82f6, #9333ea);
            transition: width 0.3s ease;
        }

        .mobile-link:hover::after {
            width: calc(100% - 3rem);
        }

        .mobile-link:hover {
            background: rgba(55, 65, 81, 0.5); /* hover:bg-gray-700/50 */
            color: #3b82f6;
        }

        /* Responsive Breakpoints */
        @media (min-width: 1024px) {
            .nav-links {
                gap: 2rem; /* space-x-8 */
            }
        }

        @media (max-width: 1024px) {
            .nav-links {
                gap: 1rem; /* space-x-4 */
            }

            .nav-link {
                font-size: 0.875rem; /* text-sm */
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            #navbar.scrolled {
                height: 60px;
            }

            #navbar.scrolled + .scroll-progress {
                top: 60px;
            }

            #mobileMenu {
                top: 60px; /* Default for scrolled state */
                height: calc(100vh - 60px);
            }

            #navbar:not(.scrolled) #mobileMenu {
                top: 80px;
                height: calc(100vh - 80px);
            }
        }

        @media (max-width: 640px) {
            .nav-logo {
                font-size: 1.25rem; /* text-xl */
            }

            .hamburger span {
                width: 1.25rem;
                height: 0.1rem;
            }

            .mobile-link {
                padding: 0.75rem 1rem;
                font-size: 1rem;
            }
        }

        /* Screen Reader Only */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }



/* About Section Styles */
#about {
    position: relative;
    padding: 6rem 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.about-bg {
    position: absolute;
    inset: 0;
    background: url('https://via.placeholder.com/1920x1080?text=Abstract+Tech+Pattern') no-repeat center/cover;
    opacity: 0.15;
    transform: translateY(0);
    transition: transform 0.1s ease;
    filter: blur(2px);
}

.about-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.about-card {
    position: relative;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 48rem;
    margin: 0 auto 4rem;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(45deg, #3b82f6, #9333ea);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.about-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-card p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #d1d5db;
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #9333ea);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    border: 4px solid #1f2937;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: rgba(17, 24, 39, 0.9);
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

/* Clients Section Styles */
#clients {
    position: relative;
    padding: 6rem 1rem;
    background: #111827;
    overflow: hidden;
}

.clients-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.7;
}

.clients-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.clients-carousel {
    overflow: hidden;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
}

.client-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    background: rgba(17, 24, 39, 0.9);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.client-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: rgba(31, 41, 55, 1);
}

.client-logo {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-carousel:hover .carousel-track {
    animation-play-state: paused;
}

@media (max-width: 640px) {
    .client-item {
        width: 150px;
        height: 90px;
    }
    .client-logo {
        max-width: 120px;
        max-height: 80px;
    }
    .carousel-track {
        gap: 1rem;
    }
}

/* Products Section Styles */
#products {
    position: relative;
    padding: 6rem 1rem;
    background: #111827;
    overflow: hidden;
}

.products-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.7;
}

.products-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.product-card {
    background: rgba(17, 24, 39, 0.9);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 1rem;
    color: #d1d5db;
}

.products-cta {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    border-radius: 9999px;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.view-all-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section Styles */
#projects {
    position: relative;
    padding: 6rem 1rem;
    background: #111827;
    overflow: hidden;
}

.projects-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.5;
}

.projects-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 20;
}

.project-tab {
    position: relative;
    padding: 0.75rem 1.75rem;
    background: rgba(31, 41, 55, 0.9);
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.project-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-tab:hover::after, .project-tab.active::after {
    opacity: 1;
}

.project-tab:hover, .project-tab.active {
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.project-card {
    position: relative;
    background: rgba(17, 24, 39, 0.95);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card.telecom { border-top: 5px solid #3b82f6; }
.project-card.gov { border-top: 5px solid #9333ea; }
.project-card.training { border-top: 5px solid #10b981; }

.project-header {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://via.placeholder.com/320x160?text=Project+Image') center/cover no-repeat;
    opacity: 0.25;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.project-card:hover .project-header::before {
    transform: scale(1.05);
    opacity: 0.35;
}

.project-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e5e7eb;
    text-align: center;
    padding: 0 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.project-card.telecom .project-category { color: #3b82f6; }
.project-card.gov .project-category { color: #9333ea; }
.project-card.training .project-category { color: #10b981; }

.project-desc {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.5;
    flex-grow: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.project-card.telecom:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.project-card.gov:hover {
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.3);
}

.project-card.training:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

.projects-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.projects-carousel::-webkit-scrollbar {
    height: 6px;
}

.projects-carousel::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

.project-carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 1rem;
}

.carousel-control.next {
    right: 1rem;
}

@media (min-width: 768px) {
    .projects-carousel { display: none; }
    .projects-container { display: grid; }
}

@media (max-width: 767px) {
    .projects-container { display: none; }
    .projects-carousel { display: flex; }
}

/* Services Section Styles */
.services-container {
    perspective: 1000px;
}

.service-card {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    scroll-snap-align: center;
    flex: 0 0 80%;
}

/* Stats Section Styles */
#stats {
    position: relative;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: url('https://via.placeholder.com/1920x1080?text=Tech+Mesh') center/cover no-repeat;
    opacity: 0.1;
    filter: blur(3px);
}

.stats-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.stat-card {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(17, 24, 39, 0.9);
    border-radius: 50%;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.9);
}

.stat-card.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.stat-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    cx: 100;
    cy: 100;
    r: 90;
}

.stat-circle .bg {
    stroke: rgba(55, 65, 81, 0.5);
}

.stat-circle .progress {
    stroke: #3b82f6;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1.5s ease-out;
}

.stat-card:nth-child(2) .progress { stroke: #9333ea; }
.stat-card:nth-child(3) .progress { stroke: #10b981; }
.stat-card:nth-child(4) .progress { stroke: #f59e0b; }

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: #d1d5db;
    text-align: center;
    max-width: 80%;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .stat-card {
        width: 160px;
        height: 160px;
    }
    .stat-circle circle {
        cx: 80;
        cy: 80;
        r: 70;
    }
    .stat-circle .progress {
        stroke-dasharray: 439.82;
        stroke-dashoffset: 439.82;
    }
    .stat-value {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.875rem;
    }
}

/* Gallery Section Styles */
#gallery {
    position: relative;
    padding: 6rem 1rem;
    background: #111827;
    overflow: hidden;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.7;
}

.gallery-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    border-radius: 9999px;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.explore-btn:hover::before {
    width: 300px;
    height: 300px;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #3b82f6;
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section Styles */
#contact {
    position: relative;
    padding: 6rem 1rem;
    background: #111827;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
    opacity: 0.8;
}

.contact-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form {
    background: rgba(17, 24, 39, 0.95);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-input {
    width: 100%;
    padding: 1.25rem 1rem 0.5rem;
    background: transparent;
    border: 2px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.75rem;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
}

.contact-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.contact-input:not(:placeholder-shown) + .input-label,
.contact-input:focus + .input-label {
    top: 0.25rem;
    left: 1rem;
    font-size: 0.75rem;
    color: #3b82f6;
    background: rgba(17, 24, 39, 0.95);
    padding: 0 0.5rem;
}

.input-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit:hover::before {
    width: 300px;
    height: 300px;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

.info-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card:hover {
    background: rgba(31, 41, 55, 1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .contact-info {
        padding: 0;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    padding: 4rem 1rem 2rem;
    background: #1f2937;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    opacity: 0.5;
    filter: blur(10px);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: hidden;
}

.footer-brand.visible,
.footer-links.visible,
.footer-contact.visible,
.footer-social.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.footer-brand { transition-delay: 0s; }
.footer-links { transition-delay: 0.2s; }
.footer-contact { transition-delay: 0.4s; }
.footer-social { transition-delay: 0.6s; }

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

.input-group {
    position: relative;
    flex-grow: 1;
}

.newsletter-input {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem;
    background: rgba(55, 65, 81, 0.8);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 0.5rem;
    color: #e5e7eb;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.newsletter-input:not(:placeholder-shown) + .input-label,
.newsletter-input:focus + .input-label {
    top: 0.25rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #3b82f6;
    background: rgba(55, 65, 81, 0.8);
    padding: 0 0.25rem;
}

.input-label {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.newsletter-submit {
    padding: 0.75rem;
    background: #3b82f6;
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.footer-link {
    color: #d1d5db;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 50%;
    color: #e5e7eb;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(107, 114, 128, 0.2);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 20;
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.2s ease;
    z-index: -1;
}

/* Gallery Page Styles */
.gallery-page {
    padding: 6rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-page-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0.7;
}

.gallery-page-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-page-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-page-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gallery-page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-page-item:hover .gallery-page-img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.8);
    color: #e5e7eb;
    font-size: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-page-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(1.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .flex {
        flex-direction: column;
    }
 
}

