/* Major Projects Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.project-card {
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    border-color: orangered;
}
.project-card h3 {
    margin-bottom: 0.7rem;
    color: orangered;
}
.project-card p {
    color: #444;
    font-size: 1rem;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    
}
#more {
    display: none;
    color: black;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 12%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 25px;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}
.logo:hover{
    color: orangered;
    text-shadow: 0 0 25px orangered,
                 0, 0, 25px orangered;
    transform: scale(1.1);
                
    
}
span{
    color: orangered;
}
.navbar a{
    font-size: 18px;
    color: white;
    font-weight: 500;
    margin: 0 20px;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}
.navbar a:hover,
.navbar a.active{
    color:  orangered;
    border-bottom: 3px solid  orangered;
}

.subnav {
    float: left;
    overflow: hidden;
}

.subnav .subnavbtn {
    font-size: 18px;
    color: white;
    font-weight: 500;
    margin: 0 20px;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .subnav:hover .subnavbtn {
    color:  orangered;
    border-bottom: 3px solid  orangered;

}

.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: red;
    width: 100%;
    z-index: 1;
}
.subnav-content a{
    float: left;
    color: white;
    text-decoration: none;
}
.subnav-content a:hover{
    background-color: #eee;
    color: black;
}
.subnav:hover .subnav-content{
    display: block;
}
.contact{
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.3s ease;
}
.nav-link a.active{
    color:  orangered;
    border-bottom: 3px solid  orangered;
}


.contact:hover{
    background-color: orangered;
    box-shadow: 0 0 25px orangered;
    color: white;
}
.home{
    width: 100%;
    min-height: 100vh;
    background: rgb(241, 241, 241);
    display: flex;
    align-items: center;
    gap: 7em;
    padding: 30px 12% 0;
}
.home-content{
    max-width: 800px;
}

.home-content h3{
    font-size: 42px;
}
.home-content h1{
    font-size: 62px;
    line-height: 1.2;
}
.home-content p{
    font-size: 18px;
    margin: 25px 0 30px;
}
.btn-box{
    width: 345px;
    display: flex;
    gap: 2em;
}
.btn-1{
    padding: 15px 28px;
    background-color: black;
    color: white;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;


}
.btn-1:hover{
    background-color: white;
    color: black;
    border: 2px solid black;
}
.btn-2{
    padding: 15px 28px;
    background-color: orangered;
    color: white;
    border: 2px solid black;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}
.btn-2:hover{
    background-color: white;
    color: orangered;
}
.img-box img {
    border-radius: 50%;
    width: 250px;
}



::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-thumb{
    background-color: orangered;
}

::-webkit-scrollbar-track{
    background-color: black;
    width: 50px;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12% 8%;
    gap: 10em;
    background: black;
}
.about-img img{
    position: relative;
    width: 550px;
    box-shadow: 0 0 25px orangered,
                0 0 50px orangered;
    border-radius: 50%;
}
.about-content h2{
    text-align: left;
    color: white;
    font-size: 42px;
}
.about-content h3{
    font-size: 62px;
    color: white;
}
.about-content p{
    color: white;
    font-size: 20px;
    margin: 2em 0 3em;
}
.know {
    display: flex;
    justify-content: center;
    font-size: 16px;
    background-color: azure;
    padding: 20px 0;
    letter-spacing: 1px;
}
.know-one {
    display: flex;
    align-items: center;
    gap: 1em;
}
.know-one h5{
    font-size: 20px;
    margin: 0;
}

.contact-form h2{
    text-align: center;
    margin-top: 3em;
    margin-bottom: 1em;
    font-size: 36px;
}
.contact-form form{
    max-width: 50em;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3em;
}
.contact-form form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-form form .input-box input,
.contact-form form textarea{
    width: 100%;
    padding: 1.5em;
    font-size: 18px;
    color: black;
    background: rgb(241, 241, 241);
    border-radius: 0.8rem;
    margin: 1rem 0;
    resize: none;


}
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: black;

}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: white;
}
.footer .social a{
    font-size: 24px;
    color: white;
    border: 2px solid orangered;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0.8px;
    box-shadow: 0 0 10px orangered,
                0 0 10px orangered;
    transition: 0.3s ease;

}
.footer .social a:hover{
    
background-color: orangered;
    color: white;
    box-shadow: 0 0 25px orangered;
    
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-menu span {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
}

/* Mobile menu styles */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 50px;
  right: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Show mobile menu when active */
.mobile-menu.show {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.mobile-menu li a {
  text-decoration: none;
  color: #333;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
}

@media (max-width: 900px) {
  .header {
    padding: 20px 4%;
  }
  .hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  }

  .hamburger-menu span {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
  }

  .mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 50px;
  right: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.show {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.mobile-menu li a {
  text-decoration: none;
  color: #333;
}




  .home {
    flex-direction: column;
    gap: 2em;
    padding: 80px 4% 0;
    min-height: unset;
  }
  .about {
    flex-direction: column;
    gap: 2em;
    padding: 20% 4%;
  }
  .about-img img {
    width: 300px;
  }
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: rgba(0,0,0,0.95);
        padding: 10px 0;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .navbar a, .subnav .subnavbtn {
        margin: 8px 0;
        font-size: 18px;
        width: 100%;
        text-align: left;
        padding: 10px 16px;
        border-radius: 6px;
        transition: background 0.2s;
    }
    .navbar a:hover, .subnav .subnavbtn:hover {
        background: rgba(255,69,0,0.1);
        color: orangered;
    }
    .navbar a.active {
        border-bottom: 3px solid transparent;
    }
    .subnav {
        width: 100%;
    }
    .subnav-content {
        position: static;
        width: 100%;
        background: rgba(255,69,0,0.15);
        box-shadow: none;
        border-radius: 0 0 10px 10px;
        margin-top: 4px;
    }
    .subnav-content a {
        width: 100%;
        padding: 10px 16px;
        text-align: left;
        border-radius: 0;
        background: none;
        color: white;
    }
    .subnav-content a:hover {
        background: rgba(255,255,255,0.15);
        color: orangered;
    }
    .subnav:hover .subnav-content {
        display: block;
    }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 2%;
    position: static;
    z-index: 100;
  }
  .home {
    padding: 12px;
  }

  .hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  }

  .hamburger-menu span {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
  }

  .mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 50px;
  right: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.show {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.mobile-menu li a {
  text-decoration: none;
  color: #333;
}


    .navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: rgba(0,0,0,0.95);
        padding: 10px 0;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .navbar a, .subnav .subnavbtn {
        margin: 8px 0;
        font-size: 16px;
        width: 100%;
        text-align: left;
        padding: 10px 16px;
        border-radius: 6px;
        transition: background 0.2s;
    }
    .navbar a:hover, .subnav .subnavbtn:hover {
        background: rgba(255,69,0,0.1);
        color: orangered;
    }
        .navbar a.active {
                border-bottom: 3px solid transparent;
        }
    .subnav {
        width: 100%;
    }
    .subnav-content {
        position: static;
        width: 100%;
        background: rgba(255,69,0,0.15);
        box-shadow: none;
        border-radius: 0 0 10px 10px;
        margin-top: 4px;
    }
    .subnav-content a {
        width: 100%;
        padding: 10px 16px;
        text-align: left;
        border-radius: 0;
        background: none;
        color: white;
    }
    .subnav-content a:hover {
        background: rgba(255,255,255,0.15);
        color: orangered;
    }
    .subnav:hover .subnav-content {
        display: block;
    }
  .home-content h1 {
    font-size: 32px;
  }
  .home-content h3 {
    font-size: 24px;
  }
  .about-content h2, .about-content h3 {
    font-size: 28px;
  }
  .about-img img {
    width: 180px;
  }
  .btn-box {
    flex-direction: column;
    width: 100%;
    gap: 1em;
  }
  .projects-grid {
    gap: 1em;
    padding: 0 0.5em;
  }
}