
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  /* transition: background-color 0.3s ease, color 0.3s ease; */
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
a {
  text-decoration: none;
  color: inherit;
}


.navbar {
  position: sticky;
  top: 0;
  display: flex;
  width: 100vw;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding: 20px 5%;
  z-index: 1000;
}


.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.nav-links li {
  font-size: 15px;
  color: var(--secondary-color);
}
.nav-links li a:hover {
  color: #007bff;
  transition: 0.3s;
}


.theme-toggle {
  padding: 5px 10px;
  border: none;
  background-color: #007bff;
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
}
.theme-toggle:hover {
  background-color: #0056b3;
}

/* Dark Theme
body.dark-theme {
  background-color: #121212;
  color: #ffffff;
}
body.dark-theme .navbar {
  background-color: #1e1e1e;
  border-bottom: 2px solid #444;
}
body.dark-theme .theme-toggle {
  background-color: #bbbbbb;
  color: #000;
} */
#home{
    display: flex;
    height: 100vh;
    /* width: 100vh; */
    margin-left: 20%;
    margin-right: 20%;
    
    justify-content: space-between;
    gap: 6vw;
}
.contentsection{
    margin-top: 25vh;
    padding-bottom: 50px;
    font-size:30px;
}
.homeimage{
    /* border: 2px solid black ; */
    border-radius: 50%;
    height: 565px;
    margin-top: 170px;
    width: 450px;
}
.typed-text {
  color: #007bff;
  font-weight: bold;
  border-right: 2px solid #007bff;
  padding-right: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { border-color: transparent; }
  50% { border-color: var(--primary-color); }
  100% { border-color: transparent; }
}

#about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  gap: 50px;
  background-color: var(--primary-color);
  
}

.about-photo img {
  width: 300px;
  height: 300px;
  object-fit:fill;
  border-radius: 50%;
  border: 4px solid whtie;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .nav-links{
      overflow: hidden;
  }

  .imagesection{
    display: none;

  }
  .contentsection{
    margin-top: 8vh;
  }
  .contentsection p {
    margin-bottom: 1px;
    margin-top: 1px;
    
  }
  .contentsection h1,h2{
      font-size: 20px;
  }
  .contentsection h5{
    font-size: 18px;
    
  }
  .home{
    height: 50vh;
    
  }
  #about {
    flex-direction: row;
    padding: 40px 5%;
  }

  .about-photo img {
    width: 220px;
    height: 220px;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .about-text p {
    font-size: 16px;
  }
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color:var(--secondary-color);
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    display: none;
    border-top: 1px solid var(--primary-color);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    flex: 1;
  }
  
}


#skills h1{
display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin: 6vh;
}
.allskils {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;                               
  justify-content: center;                
  align-items: center;
  padding: 20px;
  max-width: 900px;                        
  margin: auto;                            
}


@media (max-width: 600px) {
  .allskils {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90vw;
    margin: 0 3vw;
  }
}

.logos{
  height: 200px;
  width: 200px;
  /* border: 2px solid black;  */
  border-radius: 15%;
  display:flex;
  align-items: center;
  justify-content: center;

}
.logos:hover{
  /* box-shadow: 5px 5px black;*/
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 
  /* border: 2px solid red; */
  transform: translateY(-25px);
  cursor: pointer;
}
.logoos:hover{
  /* box-shadow: 5px 5px black;*/
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 
  /* border: 2px solid red; */
  transform: translateY(-25px);
  cursor: pointer;
}
.insidelogo{
  height: 100px;
  width: 100px;
  /* border: 2px solid black; */
  border-radius: 0%;
  font-size: 110px;
  margin-top: -30px;
  margin-left: 20px;

}
#project h1{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin: 6vh;
}
.project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.logoos {
  height: auto;
  width: 100%;
  border-radius: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.inner {
  width: 100%;
  height: auto;
  margin: 0;
}

.inner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.inner h5 {
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  color: var(--secondary-color);
}
#certificate h1{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin: 6vh;
}
.certificate{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  padding: 20px;
  margin: auto;
  
}
.cer{
  height: 200px;
  width: 200px;
  /* border: 2px solid black; */
  transition: transform 0.5s ease;
}
@media (max-width: 600px) {
  .certificate{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    max-width: 90vw;
    gap: 15px;
    margin: 8vh;
    padding: 5px;
  }
  .cer{
    height: 100%;
    width: 100%;
  }
}
.cer:hover{
  transform: translateY(-20px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 
}
.cer img:hover{
  transform: scale(1.2);
}
.cer img{
  /* object-fit: cover; */
  width: 100%;
  height: 180px;
  object-fit: fill;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
/* #contactus h1{
  font-size: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6vh;
}
.contactus{
  
  justify-content: center; */
  /* height: 50vh;
  width: 60vw;
  border: 2px solid black ;
  margin: 50%;

} */
/* FontAwesome CDN (add in <head>) */
.social i{
  transition: tranform 0.5s ease;
}
.social:hover a i{
  transform: scale(1.2);
}


.contact-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  background: var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}


.contact-info {
  flex: 1;
  min-width: 300px;
  background: #2563eb;
  color: var(--primary-color);
  padding: 30px;
  text-align: left;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 14px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.social-icons {
  margin-top: 20px;
  font-size: 22px;
}

.social-icons i {
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icons i:hover {
  transform: scale(1.2);
}

/* Right Form Panel */
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background: var(--primary-color);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 14px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  resize: none;
}

.contact-form button {
  background: #2563eb;
  color: var(--primary-color);
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    width: 100%;
  }

  .contact-section h2 {
    font-size: 1.6rem;
  }
}
#last{
  display: flex;
  justify-content: center;
  align-items: center;
  color: gray;
  font-size: 10px;
}
#iconmoon{
  width: 30px;
  cursor: pointer;
}
:root{
  --primary-color : #edf2fc;
  --secondary-color :#212121;
}

.dark-theme{
  --primary-color : #000106;
  --secondary-color :#fff;
}
/* .autoshow{
    animation: appear 3s linear;
    animation-timeline: view();
}
@keyframes appear{
  from{
    opacity: 0;
    transform: scale(1.5);
    transform: translateY(100px);
  }
  to{
    opacity: 1;
    transform: scale(0);
    transform: translateY(0px);
  }
} */
.autoshow {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}
html{
  scroll-behavior: smooth;
  animation: fade 1s ease-in 1s;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}