/*GENERAL*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
   margin: 0;
   padding: 0;
}

body{
   font-family:"Poppins", sans-serif;
   font-weight: 400 ;
   line-height: 1.6;
   color: #333;
   background-color: white;

}
header {
   background: #fff;
   position: fixed;
   width: 100%;
   top:0;
   z-index: 1000;
}

#desktop-nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1rem 5%;
   max-width: 1200px;
   margin: 0 auto;
}
.logo{
   font-size: larger;
   font-weight: 700;
   color: blue;
}
.nav-links {
   display: flex;
   list-style: none;
   gap: 2rem;
}

.nav-links a {
   text-decoration: none;
   color: #333;
   font-weight: 400;
   transition: color 0.3s ease;
}
.nav-links a:hover{
   color: rgb(57, 57, 229);
}

main{
   margin-top: 80px;
}
section{
   padding: 64px;
   max-width: 1200px;
   margin: auto;
}

h1{
font-size: 48px;
font-weight: 500;
margin-bottom: 16px;
color: #1f2937;
}

h1 span{
   color: rgb(56, 56, 232);
}
h2{
   font-size: 40px;
   font-weight: 600;
   margin-bottom: 32px;
   color: #1f2937;
   text-align: center;
}

h3{
   font-size: 1.5rem;
   font-weight: 500;
   color: #374151;
}

h4{
   font-size: 1.2rem;
   font-weight: 400;
   margin-bottom: 16px;
   color: #374151;
}

p{
   font-size: medium;
   font-weight: 400;
   line-height: 1.7;
   margin-bottom: 16px;
   color: #596e8c;
}
#Home {
   text-align: center;
   padding: 6rem 5% 4rem;
   background:linear-gradient(135deg,#667eea 0%, #8f35ea 100%); 
   color: white;
}

#Home h1{
   color: whitesmoke;
}

#Home p {
   font-size: 1.3rem;
   font-weight: 300;
   color: white;
}

#About{
   background:#fff;
   text-align: center;
}

#About img{
   width: 180px;
   height: 180px;
   border-radius: 50%;
   object-fit: cover;
   margin: 2rem auto;
   display: block;
   border: 6px solid #3154ef;
   box-shadow: 0 8px 25px rgba(37,99,235, 0.2);
}

#About p {
   max-width: 800px;
   margin: 2rem auto 0;
   text-align: left;
   font-weight: 400;
}

#Education{
background: #fff;
}


#Education article{
   background: azure;
   padding: 32px;
   border-radius: 10px;
   box-shadow: 0 4px rgb(0, 0, 0,0.1) ;
   text-align: center;
}
#Education a {
   display: inline-flex;
   background: #284bea;
   color: white;
   padding: 0.8rem 2rem;
   text-decoration: none;
   border-radius: 5px;
   font-weight: 500;
   margin-top: 16px;
   transition: background 0.3 ease-in-out;
}

#Education a :hover{
   background: #3154ef;
}

#Skills{
   background: #fff ;
}

#Skills ul {
   list-style: none;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 16px;
   margin: top 32px;
}
#Skills li{
   background: azure;
   padding: 1rem 1.5rem;
   border-radius: 8px;
   font-weight: 500;
   border-left: 4px solid #284bea;
   transition: transform 0.3 ease-in-out;
}

#Skills li :hover{
   transform: translateX(5px);
}

section[id= "My interests"] {
   background: #fff;
}

section[id= "My interests"] ul {
   list-style: none;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1rem;
   margin-top: 2rem;
}

section[id= "My interests"] li {
   background: azure;
   padding: 1.5rem;
   border-radius: 10px;
   font-weight: 500;
   text-align: center;
   box-shadow: 0 4px rgb(0, 0, 0,0.1);
   transition: transform o.3s ease;
}

section[id= "My interests"] li :hover {
   transform: translateY(-5px);
}

#Projects {
   background: #fff;
   padding: 4rem 5%;
   max-width: 1200px;
   margin: 0 auto;
}

#Projects h2 {
   font-size: 2.5rem;
   font-weight: 600;
   margin-bottom: 2rem;
   color: #1f2937;
   text-align: center;
}

.project {
   background: #f8f9fa;
   padding: 2rem;
   border-radius: 10px;
   margin-bottom: 2rem;
   box-shadow: 0 4px 15px rgba(0,0,0,0.1);
   transition: transform 0.3s ease;
}

.project:hover {
   transform: translateY(-5px);
}

.project h3 {
   font-size: 1.5rem;
   font-weight: 500;
   margin-bottom: 1rem;
   color: #374151;
}

.project p {
   font-size: 1.1rem;
   font-weight: 400;
   line-height: 1.7;
   margin-bottom: 1rem;
   color: #4b5563;
}

.planned-technologies {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   margin: 1rem 0;
}

.planned-technologies span {
   background: #2563eb;
   color: white;
   padding: 0.3rem 0.8rem;
   border-radius: 20px;
   font-size: 0.9rem;
   font-weight: 500;
}

.project-status {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: 1rem;
}

.status-badge {
   background: #10b981;
   color: white;
   padding: 0.4rem 1rem;
   border-radius: 20px;
   font-size: 0.9rem;
   font-weight: 500;
}

.timeline {
   font-weight: 500;
   color: #6b7280;
   font-size: 0.95rem;
}

#Contact {
   background: #1f2937;
   color: white;
   padding: 4rem 5%;
   max-width: 1200px;
   margin: 0 auto;
}

#Contact h2 {
   font-size: 2.5rem;
   font-weight: 600;
   margin-bottom: 2rem;
   color: white;
   text-align: center;
}

#Contact h3 {
   color: white;
   font-size: 1.5rem;
   font-weight: 500;
   margin-bottom: 1rem;
}

.contact-info {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 2rem;
   margin-bottom: 3rem;
}

.contact-item {
   text-align: center;
}

.contact-item h3 {
   font-size: 1.2rem;
   font-weight: 500;
   margin-bottom: 0.5rem;
}

.contact-item a {
   color: #60a5fa;
   text-decoration: none;
   font-weight: 400;
   transition: color 0.3s ease;
}

.contact-item a:hover {
   color: #93c5fd;
}

.contact-form {
   background: #374151;
   padding: 2rem;
   border-radius: 10px;
   max-width: 600px;
   margin: 0 auto;
}

.contact-form h3 {
   text-align: center;
   margin-bottom: 2rem;
}

.form-group {
   margin-bottom: 1.5rem;
}

.form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
   color: #e5e7eb;
}

.form-group input,
.form-group textarea {
   width: 100%;
   padding: 0.8rem;
   border: none;
   border-radius: 5px;
   font-family: 'Poppins', sans-serif;
   font-size: 1rem;
   font-weight: 400;
   background: #4b5563;
   color: white;
   transition: background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   background: #6b7280;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
   color: #9ca3af;
}

.contact-form button {
   background: #2563eb;
   color: white;
   padding: 1rem 2rem;
   border: none;
   border-radius: 5px;
   font-family: 'Poppins', sans-serif;
   font-size: 1rem;
   font-weight: 500;
   cursor: pointer;
   transition: background 0.3s ease;
   width: 100%;
}

.contact-form button:hover {
   background: #1d4ed8;
}

footer {
   background: #111827;
   color: white;
   padding: 3rem 5% 1rem;
}

.footer-content {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   max-width: 1200px;
   margin: 0 auto;
   margin-bottom: 2rem;
}

.footer-section h3 {
   color: #2563eb;
   font-weight: 600;
   margin-bottom: 1rem;
   font-size: 1.5rem;
}

.footer-section h4 {
   color: white;
   font-weight: 500;
   margin-bottom: 1rem;
   font-size: 1.2rem;
}

.footer-section p {
   color: #9ca3af;
   font-weight: 300;
   font-size: 1rem;
}

.footer-section ul {
   list-style: none;
}

.footer-section ul li {
   margin-bottom: 0.5rem;
}

.footer-section ul li a {
   color: #9ca3af;
   text-decoration: none;
   font-weight: 400;
   transition: color 0.3s ease;
}

.footer-section ul li a:hover {
   color: #2563eb;
}

.social-links {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
}

.social-links a {
   color: #9ca3af;
   text-decoration: none;
   font-weight: 400;
   padding: 0.5rem 1rem;
   border-radius: 5px;
   transition: all 0.3s ease;
}

.social-links a:hover {
   color: #2563eb;
   background: #1f2937;
}

.footer-bottom {
   text-align: center;
   padding-top: 2rem;
   border-top: 1px solid #374151;
   max-width: 1200px;
   margin: 0 auto;
}

.footer-bottom p {
   color: #6b7280;
   font-weight: 300;
   font-size: 0.9rem;
}

@media (max-width: 768px) {
   #Projects,
   #Contact {
       padding: 3rem 8%;
   }
   
   #Projects h2,
   #Contact h2 {
       font-size: 2rem;
   }
   
   .project-status {
       flex-direction: column;
       align-items: flex-start;
       gap: 1rem;
   }
   
   .contact-info {
       grid-template-columns: 1fr;
       gap: 1.5rem;
   }
   
   .contact-form {
       padding: 1.5rem;
   }
   
   footer {
       padding: 2rem 8% 1rem;
   }
   
   .footer-content {
       grid-template-columns: 1fr;
       gap: 1.5rem;
   }
   
   .social-links {
       justify-content: center;
   }
}

@media (max-width: 480px) {
   #Projects,
   #Contact {
       padding: 2rem 5%;
   }
   
   .project {
       padding: 1.5rem;
   }
   
   .planned-technologies {
       gap: 0.3rem;
   }
   
   .planned-technologies span {
       font-size: 0.8rem;
       padding: 0.2rem 0.6rem;
   }
   
   .contact-form {
       padding: 1rem;
   }
   
   .social-links {
       flex-direction: column;
       align-items: center;
   }
}