        body, html {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            scroll-behavior: smooth;
            overflow-y: scroll;  /* Allow scrolling */
            scrollbar-width: none;  /* Firefox */
            -ms-overflow-style: none;  /* Internet Explorer/Edge */
            height: 100%;
            overflow-x: hidden; /* Prevent horizontal scroll only */
            background-color: #0e1111; /* Match your section bg */
        }
        

        body::-webkit-scrollbar {
            display: none;  
        }
        
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 0;  /* Reduce padding */
    height: 90px;  /* Decrease height */
    background: rgba(0, 0, 0, 0.5); /* Adds a dark transparent bar */
    backdrop-filter: blur(5px); /* Soft blur effect for elegance */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
}


.logo {
    height: 200px;
    margin-left: 20px;
    display: flex;
    align-items: center;
}
          
          /* Remove black boxes on nav items */
          nav ul {
            list-style: none;
            display: flex;
            gap: 2rem;
            margin: 0;
            padding: 0;
            background: none; /* Remove any background */
          }
          
          nav ul li {
            background: none; /* Remove any black box */
          }
          
          nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
          }
          
          nav ul li a:hover {
            color: #f9cee7; /* Optional: highlight color on hover */
          }
        
        
        /* NAV CONTAINER CENTERED */
        .nav-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 50px;
        }


        /* LOGO BESIDE NAV LINKS */
        .logo {
            height: 200px; /* Full height of header */
            margin-left: 20px; /* Add some breathing room from left */
            display: flex;
            align-items: center;

        }

        header .logo img {
            height: 80px;
            transition: height 0.3s ease;
        }
        
        header.scrolled .logo img {
            height: 60px; /* Shrink a bit */
        }
        


        /* NAV LINKS CENTERED BESIDE LOGO */
        nav ul {
            list-style: none;
            display: flex;
            gap: 60px;
            margin: 0;
            padding: 0;
        }

        nav li {
            margin: 0;
        }

        nav a {
            text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
        }

        nav a:hover,
        nav a.active-link {
    color: #e68bbe; 
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.6); /* Soft glow */
}

        /* HAMBURGER FOR MOBILE */
        .hamburger {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: white;
            position: absolute;
            right: 30px;
            top: 20px;
        }

        

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .hamburger {
                display: block;
                top: -10px;
                right: -130px;;
            }
        
            nav ul {
                flex-direction: column;
                background: rgba(0, 0, 0, 0.75);
                position: absolute;
                top: 70px;
                right: -130px;
                display: none;
                padding: 20px;
                border-radius: 8px;
                backdrop-filter: blur(5px); /* Soft blur effect for elegance */
            }

            nav ul.show {
                display: flex;
            }
        
            .nav-container {
                justify-content: flex-start;
            }
        
            .logo {
                display: 0;
            }
        }
/*section*/

/* SECTIONS WITH BACKGROUND IMAGES */
.section {
    display: none;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.section.active {
    display: block;
}

/* OVERLAY FOR TEXT VISIBILITY */
.overlay {
    background-color: rgba(0,0,0,0.5);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px;
}

.overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.overlay p {
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* General Section Overlay */
#about .overlay {
    background-color: rgba(0, 0, 0, 0.5); 
    color: rgb(255, 255, 255);   
    text-align: center;
}

#about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Certificates Container */
.certificates-container {
    background-color: #0e1111;
    padding: 40px 20px;
    text-align: center;
}

.certificates-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Certificate Cards Layout */
.certificates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.certificate-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 280px;
    text-align: center;
    padding: 20px;
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.certificate-card p {
    color: #444;
    font-weight: 500;
}

/* Hover Effect */
.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .overlay {
        padding: 0px;
    }

    .overlay h2 {
        font-size: 2rem;
    }

    .overlay p {
        font-size: 1rem;
    }

    #about h2 {
        font-size: 1.8rem;
    }

    #about p {
        font-size: 1rem;
    }

    .certificates-container h3 {
        font-size: 1.5rem;
    }

    .certificate-card {
        width: 90%;
        max-width: 280px;
    }
}




/* Project Section */

  .project-section {
    padding: 0px 7%;
    text-align: center;
}

.partition {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 130px 0 20px; /* Add top margin to push down from navbar */
    color: white;
    background: #0e1111;
    padding: 20px 40px; /* Reduced padding to fix spacing */
    border-radius: 8px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease; 
}


.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding-top: 0px;
}

.project-img {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.project-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.project-img:hover .project-overlay {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .project-section {
        padding: 30px 5%;
    }

    .partition {
        font-size: 1.5rem;
        text-align: center;
    }

    .projects-gallery {
        display: grid; /* Enables grid layout */
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px; /* Adds space between projects */
        justify-content: center;
        align-items: center;
    }

    .project-img {
        width: 100%; /* Ensures images fit */
        height: 180px; /* Adjusted for uniformity */
        object-fit: cover; /* Prevents image distortion */
        border-radius: 8px; /* Smooth corners */
    }
}


/* Video Section */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Auto-adjusts per screen size */
    gap: 50px; /* More space between videos */
    padding: 20px;
    max-width: 1200px;
    margin-top: 600px; /* Centers & adds space from the top */
}

/* Video Cards */
.video-card {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Adds spacing inside each card */
}

.video-card:hover {
    transform: scale(1.03);
}

/* Video Player */
.video-item {
    width: 100%;
    aspect-ratio: 16 / 9; /* Ensures all videos have the same size */
    display: block;
    border-radius: 10px;
    object-fit: cover; /* Ensures consistency */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
        margin-top: 2050px;
       margin-left: -20px;
    }
}



/*contact*/

#contact .overlay {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0px 50px;
    color: #fff;
    text-align: center;
    margin-top: 110px;
  }

  #contact h2 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    padding: 10px 20px;
  }
  
  #contact p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
  }
  
  .social-links {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
  }
  
  .social-links p {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .social-links a {
    color: #ffffff;
    text-decoration: none;
  }
  
  .social-links a:hover {
    text-decoration: underline;
  }
  
  .social-links i {
    color:#e68bbe;
    font-size: 1.2rem;
  }

  /* Mobile Responsive */
@media (max-width: 768px) {
    #contact .overlay {
        background-color: rgba(0, 0, 0, 0.8);
        padding: 0px 50px;
        color: #fff;
        text-align: center;
      }

    #contact h2 {
        font-size: 1.8rem;
    }

    #contact p {
        font-size: 0.9rem;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .social-links {
        text-align: center;
    }

    .social-links p {
        font-size: 0.9rem;
    }

    .social-links i {
        font-size: 1.2rem;
    }
}
  

    
    

    
    
    
  
  