* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
body{
    background-color:  hsl(226, 39%, 85%);
}

/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: #f0faff;
}
.nav {
  top: 25px;
  left: 0;
  width: 100%;
  padding: 15px 200px;
  background: #4b16ad;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav,
.nav .nav-links {
  display: flex;
  align-items: center;
}
.nav {
  justify-content: space-between;
}
a {
  color: #fff;
  text-decoration: none;
}
.nav .logo {
  font-size: 22px;
  font-weight: 500;
}
.nav .nav-links {
  column-gap: 20px;
  list-style: none;
}
.nav .nav-links a {
  transition: all 0.2s linear;
}
.nav .navOpenBtn,
.nav .navCloseBtn {
  display: none;
}

/* responsive */
@media screen and (max-width: 1160px) {
  .nav {
    padding: 15px 100px;
  }
}
@media screen and (max-width: 950px) {
  .nav {
    padding: 15px 50px;
  }
}
@media screen and (max-width: 768px) {
  .nav .navOpenBtn,
  .nav .navCloseBtn {
    display: block;
  }
  .nav {
    padding: 15px 20px;
  }
  .nav .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    max-width: 280px;
    width: 100%;
    padding-top: 100px;
    row-gap: 30px;
    flex-direction: column;
    background-color: #11101d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 100;
  }
  .nav.openNav .nav-links {
    left: 0;
  }
  .nav .navOpenBtn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  .nav .navCloseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
}

/*about section*/
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: url('bg\(light\).png') no-repeat center center/cover;
  color: white;
  text-align: center;
}
.about-content {
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Optional for better text readability */
  padding: 20px;
  border-radius: 8px;
}
.about-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}
.about-content p {
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-content h2 {
      font-size: 28px;
  }
  .about-content p {
      font-size: 14px;
  }
}



/*-- Social Icons --*/

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:focus,
*:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  display:block;
  height: 100%;
  width: 100%;
  font-family: "Poppins", sans-serif;
  background-color: black;
  padding-top: 2px;
  padding-left: 4px;
  padding-right: 4px;
}
.wrapper {
  display: inline-flex;
  list-style: none;
}

.wrapper .icon {
position: relative;
background: #000000;
border-radius: 50%;
padding: 15px;
margin: 10px;
width: 50px;
height: 50px;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
position: absolute;
top: 0;
font-size: 14px;
background: #ffffff;
color: #ffffff;
padding: 5px 8px;
border-radius: 5px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
opacity: 0;
pointer-events: none;
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
position: absolute;
content: "";
height: 8px;
width: 8px;
background: #ffffff;
bottom: -3px;
left: 50%;
transform: translate(-50%) rotate(45deg);
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
top: -45px;
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}
.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
background: #1877F2;
color: #ffffff;
}
.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
background: #1DA1F2;
color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
background: #E4405F;
color: #ffffff;
}
.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
background: #333333;
color: #ffffff;
}
.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
background: #CD201F; color: #ffffff;
}


/* -- YouTube Link Styles -- */

#source-link {
  top: 60px;
}

#source-link>i {
  color: rgb(94, 106, 210);
}

#yt-link {
  top: 10px;
}

#yt-link>i {
  color: rgb(219, 31, 106);

}

.meta-link {
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  left: 10px;
  padding: 10px 20px;
  position: fixed;
  text-decoration: none;
  transition: background-color 600ms, border-color 600ms;
  z-index: 10000;
}

.meta-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-link>i,
.meta-link>span {
  height: 20px;
  line-height: 20px;
}

.meta-link>span {
  color: white;
  font-family: "Rubik", sans-serif;
  transition: color 600ms;
}


/* pic edit*/
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  border-radius: 10px;
  background: #161b22;
}
.p-intro1{
  font-size: 40px;
}
.p-intro{
  font-size: 20px;
}
.intro {
  max-width: 50%;
}

.intro h1 {
  font-size: 24px;
  color: #9ca3af;
}

.intro h2 {
  font-size: 48px;
  color: #ffffff;
  font-weight: bold;
}

.highlight {
  color: #00b4d8;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #ffffff;
  font-size: 24px;
  margin-right: 10px;
}

.download-cv {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00b4d8;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
}

.profile-pic {
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 0px 20px #5cfaff;
  align-self:flex-end;
}
.profile-pic img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 20px #5cfaff;
  align-self: self-end;
}
.text{
  align-self:flex-end;
  align-content: center;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      text-align: center;
      padding: 30px;
  }

  .intro {
      max-width: 100%;
  }

  .intro h1 {
      font-size: 20px;
  }

  .intro h2 {
      font-size: 36px;
  }

  .profile-pic {
      margin-top: 20px;
      max-width: 80%;
  }
}

@media (max-width: 480px) {
  .hero {
      padding: 20px;
  }

  .intro h1 {
      font-size: 18px;
  }

  .intro h2 {
      font-size: 28px;
  }

  .download-cv {
      padding: 8px 16px;
      font-size: 14px;
  }

  .profile-pic {
      max-width: 100%;
      padding: 10px;
  }
}

/* Certificates*/
h1 {
  margin-bottom: 30px;
  font-size: 32px;
}
.a-link:hover{
  color: #00aaff;
}
.certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.certificate-card {
  background-color: #161b22;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.certificate-card:hover {
  transform: translateY(-5px);
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.certificate-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #00b4d8;
}

.certificate-card p {
  font-size: 16px;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
      font-size: 28px;
  }

  .certificate-card h2 {
      font-size: 18px;
  }

  .certificate-card p {
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
      font-size: 24px;
  }

  .certificate-card {
      padding: 10px;
  }

  .certificate-card h2 {
      font-size: 16px;
  }

  .certificate-card p {
      font-size: 12px;
  }
}
.cert-btn{
  padding-left: 20px ;
  padding-right: 20px;
  background-color: #1877F2;
  border-radius: 20px;
  font-size: 17px;
  cursor:pointer;
}

/* ptoject section*/

.section {
  padding: 20px;
  text-align: center;
}
.section-title {
  font-size: 24px;
  margin-bottom: 20px;
}
.certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
}
.certificate-card {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}
.certificate-card img {
  max-width: 100%;
  height: auto;
}
.article-title {
  font-size: 18px;
  margin: 10px 0;
  color: white;
}
.description {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  color: wheat;
}
.cta-button {
  padding: 10px 20px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}


/*Skills*/
.skills-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: white;
}

.skills-section {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skills-section h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
  border-bottom: 2px solid #3e3e3e;
  padding-bottom: 10px;
}

.skills-section ul {
  list-style: none;
}

.skills-section ul li {
  margin-bottom: 10px;
  font-size: 1em;
}

@media (max-width: 600px) {
  .skills-container {
      padding: 10px;
  }

  .skills-section h3 {
      font-size: 1.2em;
  }

  .skills-section ul li {
      font-size: 0.9em;
  }
}


/*Contact*/
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  background-color: #162447;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: white;
}

.contact-info {
  padding: 20px;
}

.contact-info h2 {
  color: #00aaff;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-info a {
  color: #00aaff;
  text-decoration: none;
}

.contact-form {
  padding: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9em;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #1f4068;
  color: white;
  font-size: 1em;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background-color: #00aaff;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005f99;
}

@media (max-width: 600px) {
  .contact-container {
      padding: 10px;
  }

  .contact-info h2 {
      font-size: 1.2em;
  }

  .contact-form button {
      font-size: 0.9em;
  }
}

/*Footer*/
.footer {
  display :flex;
  padding: 20px;
  background: #000000; 
  justify-content:space-between;
  text-align: center;
  color: white;
}
.footer .section {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}
.footer .section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.footer .section p, .footer .section a {
  color: #bfbfbf;
  text-decoration: none;
  margin: 5px 0;
  display: block;
}
.footer .social-icons a {
  color: #ffffff;
  margin: 0 8px;
  font-size: 24px;
  transition: color 0.3s;
}
.footer .social-icons a:hover {
  color: #00e0ff;
}
.footer .navigation a {
  color: #ffffff;
  transition: color 0.3s;
}
.footer .navigation a:hover {
  color: #00e0ff;
}
.footer .credits {
  font-size: 12px;
  color: #bfbfbf;
  margin-top: 10px;
}
.footer .logo img {
  
  margin: 10px 0;
  align-content: flex-start;
}

@media (max-width: 768px) {
  .footer {
      flex-direction: column;
      align-items: center;
  }
  .footer .section {
      margin: 10px 0;
  }
  
}


