body {
    background: #000;
    color: #fff;
    font-family: 'Federo', sans-serif;
}

/* Progress bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background-color: #47EEDC;
    width: 0%;
    z-index: 10000;
    transition: width 0.2s ease-out;
}

/* Navbar */
.navbar-custom {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: 'Pirata One', cursive;
    font-size: 2rem;
    color: #47EEDC !important;
}

.nav-link {
    font-family: 'Notable', sans-serif;
    font-size: 1.2rem;
    color: #fff !important;
    margin-right: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #47EEDC !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: 'Pirata One', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #47EEDC;
}

.hero p {
    font-family: 'Notable', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero .content-wrapper {
    background: rgba(0, 0, 0, 0.1); 
    padding: 20px 40px; 
    border-radius: 20px;
    display: inline-block; 
    text-align: center;
    backdrop-filter: blur(2px);
}

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

.hero h1, .hero p {
    animation: slideUp 1s ease-out;
}

.hero .btn {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
    border: 2px solid #47EEDC;
    background: transparent;
    color: #fff;
    transition: background 0.3s, color 0.3s;
}

.hero .btn:hover {
    background: #47EEDC;
    color: #000;
}

/* About Section*/

.about-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.about-card:hover {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
    padding: 30px;
    color: white;
}

.about-text h3 {
    font-size: 2rem;
    font-family: 'Notable', sans-serif;
    color: #47EEDC;
    margin-bottom: 10px;
}


.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 220px;
    height: auto;
    border-radius: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.about-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .about-image img {
        width: 180px;
    }
}

.about {
    padding: 4rem 0;
}

.about h2 {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #47EEDC;
    position: relative;
}

.about h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transform: translateX(-50%);
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Dividers */
.section-zigzag {
    position: relative;
  }
  
  .section-zigzag::after {
    content: "";
    display: block;
    width: 100%;
    height: 25px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M0,50 L100,0 L200,50 L300,0 L400,50 L500,0 L600,50 L700,0 L800,50 L900,0 L1000,50 L1100,0 L1200,50 L1200,100 L0,100 Z" fill="%2347EEDC"/></svg>') no-repeat bottom;
    background-size: 100% 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
  }

.custom-shape-divider-bottom {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #47EEDC;
}

.custom-shape-divider-top {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: scaleY(-1);
}

.custom-shape-divider-top .shape-fill {
    fill: #47EEDC;
}

/* Marquee Section */
.skills-marquee {
    font-family: 'Notable', sans-serif;
    font-size: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 15px 0;
    position: relative;
}

/* Container to hold the moving text */
.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
}

/* Moving text */
.marquee {
    display: flex;
    gap: 50px; /* Ensures spacing between loops */
    animation: marqueeScroll 60s linear infinite;
    min-width: 200%;
}

/* Text inside the marquee */
.marquee span {
    font-size: 1.5rem;
    font-family: 'Notable', sans-serif;
    color: white;
    display: inline-block;
    padding-right: 50px;
}

/* 🔄 Smooth Scrolling Effects */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Moving text */
.marqueeRev {
    display: flex;
    gap: 50px; /* Ensures spacing between loops */
    animation: marqueeScrollRev 50s linear infinite;
    min-width: 200%;
}
@keyframes marqueeScrollRev{
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}


/* Publications Section */
.publications {
    padding: 4rem 0;
}

.publications h2 {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #47EEDC;
    position: relative;
}

.publications h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transform: translateX(-50%);
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects h2 {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #47EEDC;
    position: relative;
}

.projects h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transform: translateX(-50%);
}

.card {
    background: #222;
    border: none;
}

.card-title {
    font-family: 'Notable', sans-serif;
    color: #47EEDC;
}

.card-text {
    color: #fff
}

.card-img-top {
    filter: grayscale(1);
    transition: transform 0.3s, filter 0.3s;
}

.custom-height {
    height: 68%; /* Adjust the height as needed */
}

.card-img-top:hover {
    transform: scale(1.05);
    filter: grayscale(0);
    cursor: pointer;
}
.projects a.btn {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
    border: 2px solid #47EEDC;
    background: transparent;
    color: #fff;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem;
}

.projects a.btn:hover {
    background: #47EEDC;
    color: #000;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact h2 {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #47EEDC;
    position: relative;
}

.contact h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, transparent, #fff, transparent);
    transform: translateX(-50%);
}

.contact a.btn {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
    border: 2px solid #47EEDC;
    background: transparent;
    color: #fff;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem;
}

.contact a.btn:hover {
    background: #47EEDC;
    color: #000;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    background: #000;
    color: #777;
}