/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styling */
body {
    font-family: Verdana, Sans-Serif;
    background-color: black;
    color: white;
    text-align: center;
}

/* Header and Navigation Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: black;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: orange;
}

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

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: orange;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  display: none;
}

/* Hero Section Styling */
.hero {
    /*background: url('myimg.jpg') no-repeat center center/cover;*/
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 40px;
    padding-bottom: 20px;
}
.hero span{
  color: orange;
}

.hero h2 {
  font-size: 36px;
}

.hero p {
    font-size: 18px;
}

.portfolio-links {
    margin-top: 20px;
    display: flex;
    gap: 0px;
    justify-content: center;
}

.portfolio-links .btn {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: black;
    transition: 0.3s;
    background-color:orange;
}

/* About Section Styling */
.about-container {
    display: flex;
    flex-direction: column; /* Stack image on top */
    align-items: center;
    max-width: 600px;
    background: black;
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin: 50px auto;
}

/* Image Styling */
.about-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid orange;
    margin-bottom: 15px;
}

/* Text Styling */
.about-text {
    text-align: center;
}

.about-text p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* education */
.education {
    max-width: 800px;
    margin: 50px auto;
    background: black;
    padding: 20px;
    border-radius: 8px;
}

.education h3 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.edu-item {
    background: black;
    padding: 15px;
    border-left: 5px solid orange;
    margin-bottom: 15px;
    border-radius: 5px;
}

.edu-item h3 {
    margin: 0;
    color: white;
}

.edu-item p {
    margin: 5px 0;
    color: white;
}


/* skills */
.skills-container {
    max-width: 400px;
    margin: auto;
    background: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
        
.skills-container h3 {
    margin-bottom: 15px;
}
        
.skills-list {
    list-style: none;
    padding: 0;
}
        
.skills-list li {
    background: orange;
    color: black;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

/* hobbies */
.hobbies {
    max-width: 600px;
    margin: 50px auto;
    background: black;
    padding: 10px;
    border-radius: 5px;
}

.hobbies h3 {
    margin-bottom: 2px;
    color: white;
}

.hobby i {
    font-size: 30px;
    color: white;
    margin-bottom: 5px;
}

.hobby p {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

/* Projects Section Styling */
#projects {
    background-color: black;
    padding: 60px 20px;
}

#projects h2 {
    font-size: 25px;
    margin-bottom: 20px;
    color: white;
}

 .container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}
        
 .buttons {
    margin-bottom: 20px;
}

.btn {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background: #333;
    color: white;
    border-radius: 5px;
}

.btn:hover {
    background: #555;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.project {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: none; /* Initially hidden */
}

.project img {
    width: 100%;
}

.project-title {
    padding: 10px;
    font-weight: bold;
    color: black;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    color: black;
}

.modal iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.modal img {
    width: 55%;
    margin-top: 10px;
    border-radius: 5px;
}

.close {
   position: absolute;
   top: 10px;
   right: 15px;
   font-size: 25px;
   cursor: pointer;
}

/* Contact Section Styling */
#contact {
    background-color: black;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 25px;
    margin-bottom: 20px;
}

#contact p{
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 40px;
}

#contact h3 {
  font-size: 20px;
  padding: 20px;
}

.message {
  border: 2px solid black;
  padding: 13px;
  background-color: orange;
  color: black;
  text-decoration: none;
  border-radius: 15px;
}

.fa {
  padding: 20px;
  margin-top: 40px;
  width: 30px 30px;
  text-align: center;
  height: 50px;
  text-decoration: none;
  color: white;
}

/* Footer Styling */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    bottom: 0;
}

footer p {
    font-size: 17px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: black;
        text-align: center;
        justify-content:center;
        align-items: center;
    }
    
    .nav-links.active {
      display: flex;
    }

    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
      font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }
    
    .close-btn {
      display: block;
    }
}
