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

body {
    color: #2c3e50;
    min-height: 100vh;
    background-color: #000 !important;
}

strong {
    color: black;
    font-size: 1.1rem;
}

#header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0px;
    border: 2px solid #aaa !important;
    background-color: #fff;
    z-index: 999;
    position: fixed;
    top: 0;
}

#header li a {
    color: #000;
}

#header strong {
    font-family: "times new roman";
    font-weight: 900;
    color: #000;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: 0.3s ease;
    text-decoration: none;
}

#navbar li a:hover,
#navbar li a.active {
    color: #0191f7 !important;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: '';
    width: 30%;
    height: 2px;
    background: #0191f7 !important;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#close {
    display: none;
    color: #000;
    text-decoration: none;
}

.navbar-logo {
    position: relative;
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile Menu Styles */
#mobile {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #000;
}

#close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

#aero-title {
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    height: min-content;
    border-radius: 20px;
    transition-duration: 0.5s;

}

#aero-title:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.project-showcase {
    padding: 40px 20px;
    width: 90%;
    margin: 30px auto;
    border: 2px solid #fff !important;
    border-radius: 50px;
    background-color: transparent;
}

.project-showcase .project-header h3,
.section-title {
    color: #fff !important;

}

.project-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.projects-title-container {
    display: flex;
    /* background-color: red; */
    gap: 30px;
    margin-top: 50px;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.projects-title-container h1 {
    color: #fff;
    margin-top: 40px;
    font-size: 3.5rem;

}

.projects-title-container .projects-para-cont {
    width: 50%;

}

.projects-title-container p {
    color: #fff;
    text-align: center;

}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0390f7;
    animation: shimmer 3s ease-in-out infinite;
}

.project-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.project-tags {
    display: none;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.tag:nth-child(1) {
    animation-delay: 0.2s;
}

.tag:nth-child(2) {
    animation-delay: 0.3s;
}

.tag:nth-child(3) {
    animation-delay: 0.4s;
}

.tag:nth-child(4) {
    animation-delay: 0.5s;
}

.tag:nth-child(5) {
    animation-delay: 0.6s;
}

.tag:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(102, 126, 234, 0.5);
}

/* Hero Media Section */
.hero-media {
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background-color: #fff !important;
}

.video-container:hover {
    transform: translateY(-10px);
}

.demo-video {
    width: 100%;
    height: 500px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.demo-video video {
    width: 90%;
    border-radius: 20px;
    border: 2px solid #fff;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button::after {
    content: '▶';
    color: #667eea;
    font-size: 24px;
    margin-left: 3px;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    animation-delay: 1.2s;
}

.gallery-item:nth-child(2) {
    animation-delay: 1.4s;
}

.gallery-item:nth-child(3) {
    animation-delay: 1.6s;
}

.gallery-item:nth-child(4) {
    animation-delay: 1.8s;
}

.gallery-item:nth-child(5) {
    animation-delay: 2s;
}

.gallery-item:nth-child(6) {
    animation-delay: 2.2s;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-image {
    height: 100%;
    background: #fff;
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-image img {
    width: 90%;
    border-radius: 20px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-text {
    color: white;
    font-weight: 500;
}

/* Features Section */
.features-section {
    margin-bottom: 80px;
    display: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 2.4s;
}

.feature-card:nth-child(2) {
    animation-delay: 2.6s;
}

.feature-card:nth-child(3) {
    animation-delay: 2.8s;
}

.feature-card:nth-child(4) {
    animation-delay: 3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Modal for full-screen images */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 0.7;
}

/* Project Links */
.project-links {
    display: none;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 3.2s forwards;
}

.project-link {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.link-secondary {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #495057;
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    /* margin: 40px 0 20px 0; */
    background-color: transparent;
    color: white;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 40px 0px;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    /* min-width: 200px; */
}

.col h4 {
    font-size: 14px;
    padding-bottom: 20px;
    color: #fff;
    margin: 0;
}

.col a {
    font-size: 13px;
    text-decoration: none;
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.col a:hover {
    color: #0191f7;
}

.follow .icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.follow .icons i {
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s ease;
}

.follow .icons i:hover {
    color: #0191f7;
}

.copyright {
    width: 100%;
    text-align: center;
    background-color: #000;
    color: #ccc;
    padding: 20px 0;
}

.copyright p {
    font-size: 12px;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #header {
        justify-content: space-between;
        padding: 0px 10px;
    }

    /* Fixed mobile navbar styles */
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #fff;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.3);
        padding: 80px 0 0 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 15px;
        width: 100%;
        padding: 0;
    }

    #navbar li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    #navbar li a:hover {
        background-color: #f0f8ff;
    }

    #navbar li a.active::after,
    #navbar li a:hover::after {
        content: '';
        width: 20px;
        height: 2px;
        background: #0191f7;
        position: absolute;
        bottom: 10px;
        left: 20px;
    }

    #mobile {
        display: flex;
        align-items: center;
        color: #000;
    }

    #mobile i {
        color: #000;
        font-size: 24px;
        padding-left: 30px;
    }

    #close {
        display: flex;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #000;
        font-size: 24px;
        z-index: 1001;
    }

    #close i {
        display: flex;
        color: #000;
    }

    .navbar-logo {
        position: sticky;
        align-items: center;
        margin-left: 20px;
        justify-content: space-evenly;
        display: flex;
    }

    .navbar-logo strong {
        font-size: 1.1rem !important;
    }

    .project-title {
        font-size: 1.5rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .demo-video {
        height: 300px;
        border-radius: 20px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

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

    .project-links {
        flex-direction: column;
        align-items: center;
    }

    footer .col a,
    footer .col h4,
    .copyright p {
        font-size: 10px;
    }

    footer {
        width: 100%;
        flex-direction: row;
        align-items: center;
        text-align: center;
    }

    .col {
        align-items: center;
        margin-bottom: 30px;
    }
}