*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


body{
    background: #1f242d;
    align-items: center;
    height: 100vh;
    padding: 60px 9% 0px;
    color: #fff;

}

main {
    padding-top: 60px;
    padding-bottom: 160px;
    text-align: left;
}


footer {       
    bottom: 0;             
    left: 0;              
    width: 100%;          
    background: #1f242d;   
    color: #fff;
    padding: 15px 9%;      
    z-index: 1000;
    text-align: center;
        
}

footer p {
    margin: 4px 0;         
    text-align: center;
}

a{
    color: #fff;
    text-decoration: none;
}

.navbar{
    position: fixed;
    left: 0;
    top: 0; 
    width: 100%;
    padding: 25px 9%;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    background: #1f242d;
}

.navbar .logo{
    font-size: 20px;
    font-weight: 700;  
}

.navbar ul{
    display: flex;

}

.navbar ul li{
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a{
    font-size: 20px;
    font-weight: 500;
    transition: .5s;
}

.navbar ul li:hover a,
.navbar ul li.active a{
    color: #7cf03d;
}

/* Hamburger menu */
.hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 3px;
}

/* top heading css for all pages*/
.colorful-heading {
  text-align: center;
  margin-bottom: 50px;
}

.colorful-heading h1 {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(270deg, #ff6b6b, #f7d794, #1dd1a1, #54a0ff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s ease infinite;
  position: relative;
  
}

.colorful-heading h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #ff6b6b, #1dd1a1);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(29, 209, 161, 0.7);
}

.colorful-heading h3 {
  font-size: 1.5rem;
  color: #a19393;
  margin-top: 15px;
  font-style: italic;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.2s;
}

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

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







footer .btn-sci {
    justify-content: center;  
    display: flex;
    margin-top: 10px;
}

 .btn-sci{
    display: flex;
    align-items: center;
}

.btn{
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    box-shadow: 0 0 10px #7cf03d; 
    font-size: 16px;
    color: #1f242d;
    font-weight: 600;
    all 0.5s ease;
}

.btn:hover{
    background: transparent;
    color: #7cf03d;
    box-shadow: none;
}

.btn-sci .sci {
    margin-left: 20px;
}

.btn-sci .sci a{
    display: inline-flex;
    padding: 8px;
    border: 2px solid #7cf03d;
    border-radius: 50%;
    font-size: 20px;
    color: #7cf03d;
    margin: 0 8px;
    transition: .5s;
}

.btn-sci .sci a:hover{
    background: #7cf03d;
    color: #1f242d;
    box-shadow: 0 0 10px #7cf03d;

}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .navbar ul {
        display: none; /* hide menu initially */
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10%;
        background: #1f242d;
        width: 200px;
        border-radius: 10px;
        padding: 20px;
        z-index: 999;
    }

    .navbar ul li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex; /* show hamburger icon */
    }

    .navbar ul.show {
        display: flex;
    }

     .content-wrapper {
        flex-direction: column;  /* stack items */
        align-items: center;     /* center them */
    }

    .sidebar {
        width: 100%;             /* take full width */
        margin-bottom: 20px;
    }

    .main-sections {
        width: 100%;             /* content full width */
    }
}



