

/* General Styles */
html {
    scroll-padding-top: 20px;
    scroll-behavior: smooth;
}
body {
    background-color: #030812;
    background-image: url('assets/images/bestBg.png');  
    background-size: 1700px 1080px; 
    background-position: top center;
    margin-top: 100px;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: white;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


            

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    height: 80px;
    background: #020764; 
    color: #0cceff; 
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}

header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-family: "Century Schoolbook", "Georgia", serif;
    text-decoration: none;
    color: #0cceff; 
    
    
}
h1 a {
    text-decoration: none;
    color: inherit;
  }


header nav ul li a {
    color: #0cceff; 
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 40px 0;
}

section h2 {
    margin: 0;
    font-size: 2rem;
    color: #0cceff; 
    text-align: center;
}


/* Footer */

footer {
    background: #030812; 
    color: #0CECED; 
    text-align: center;
    padding: 10px 0;
  }
  
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; 
    flex-wrap: wrap; 
  }
  
  footer p {
    margin: 0;
  }
  
  .up-button img {
    width: 40px; 
    height: auto;
    vertical-align: middle;
    margin-right: -100px;
  }
  
/* Tablet Styles */
@media (max-width: 1024px) {
  body {
    width: 100%;
    overflow-x: hidden;
}
  .container {
      width: 95%;
      padding: 10px 0;
  }

  header .head-container {
      flex-direction: column;
      align-items: center;
      padding: 10px;
  }

  header h1 {
      font-size: 2rem;
      margin-bottom: 10px;
  }

  header nav ul {
      flex-direction: row;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
  }

  section h2 {
      font-size: 1.75rem;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  body {
    width: 100%;
    overflow-x: hidden; 
    margin: 0; 
    padding: 0;
}
  header h1 {
    font-size: 1.8rem;

}

header nav ul {
    text-align: center;
}

header nav ul li {
    display: block;
    margin: 5px 0;
}
h1 a {
    text-decoration: none;
    color: inherit;
  }


  section {
      padding: 20px 0;
  }

  section h2 {
      font-size: 1.5rem;
  }

  .container {
      width: 95%;
      padding: 10px 0;
  }

  footer {
      font-size: 0.9rem;
      padding: 8px 0;
      
  }
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -10px; 
    flex-wrap: wrap; 
  }
  .up-button img {
    width: 40px; 
    height: auto;
    vertical-align: middle;
    margin-left: -130px;
    
  }
}


/* 

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .project-cards {
        grid-template-columns: 1fr 1fr;
    }

    section h2 {
        font-size: 1.8rem;
    }

    #about p,
    #contact p {
        font-size: 1.1rem;
    }
}


 



@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
    }

    header nav ul {
        text-align: center;
    }

    header nav ul li {
        display: block;
        margin: 5px 0;
    }

    .project-cards {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 1.6rem;
    }
    .main-title{
      text-align: center;
      font-size: 26px;
      margin-top: 5px;  
      margin-bottom: 20px;
      color: #0cceff;
    }
    .maintitle{
      text-align: center;
      font-size: 30px;
      margin-bottom: 10px;
      margin-top: 5px;
      color: #0cceff;
    }
   
    #about {
      display: flex;
      flex-direction: column;
      align-items: center; 
      text-align: center; 
  }
  
  #about p {
      width: 250px; 
      text-align: center; 
      margin: 0 auto; 
      line-height: 1.5; 
  }
}  */