*{
  margin: 0;
  padding:0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #363537;
}
::-webkit-scrollbar-thumb {
    background: #080f19;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #638394;
}

/* navbar */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  padding-top: 0px;
  padding-bottom: 0px;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
  background: black;
}

nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-family: Courier;
  font-weight: 500;
  font-size: 35px;
  color: #FFF
}


nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: rgb(242, 242, 242);
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: grey
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #638394;
}
.navbar .media-icons a{
  color: #4070f4;
  margin: 6px;
}

/* NAVIGATION */
.media-icons a:hover i {
  
  transform: scale(1.8); /* Change the scale value to your desired size */
}

nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #4070f4;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}


/* landing page */
.home{
  height: 100vh;
  width: 100%;
  background: url("images/background.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
  

}
.home .home-content{
  padding: 80px;
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;

}
.home .text-one{
  font-family: Courier New, monospace;
  font-size: 25px;
  color: #fff;
}
.home .text-two{
  font-family: Courier New, monospace;
  color: #ffffff;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
  text-shadow: 3px 6px 4px rgba(0, 0, 0, 5);
}
.home .text-three{
  font-family: Courier New, monospace;
  font-size: 40px;
  margin: 5px 0;
  color: rgb(7, 125, 180);
}
.home .text-four{
  font-family: Courier New, monospace;
  font-size: 23px;
  margin: 5px 0;
  color: #fff;
}
.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #638394;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #638394;
  background-color: #fff;
  color: #638394;
}

/* About Page */

section{
padding-top: 0px;
 background: #fff ;
}
section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title1 span{
  color: black;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

section .title1 span::before,
section .title1 span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: black;
  left: 0;
  bottom: 0;
}

section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  left: 0;
  bottom: 0;
}
section .title1 span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 45%;
 
}
.about .left img{
  height: 500px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about-details .right{
  width: 55%;
}
section .topic1{
  
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff
}
section .topic2{
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #080f19;
}
section  .topic{
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}
section .button{
  margin: 16px 0;
}
section .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #638394;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}
section .button button:hover{
  border-color: #638394;
  background-color: #fff;
  color: #638394;
}
 /* My Skills Page */
 .skills{
   background: #080f19;
 }
 .skills .content{
   padding: 40px 0;
 }
 .skills .skills-details{
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 .skills-details .text{
   width: 50%;
 }
 .skills-details p{
   color: #fff;
   text-align: justify;
 }
.skills .skills-details .experience{
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.skills-details .experience .num{
  color: #fff;
  font-size: 80px;
}
.skills-details .experience .exp{
  color: #fff;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}
.skills-details .boxes{
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.skills-details .box{
  width: calc(100% / 2 - 20px);
  margin: 20px 0;
}
.skills-details .boxes .topic{
  font-size: 20px;
  color: #fff;
}
.skills-details .boxes .per{
  font-size: 60px;
  color: #638394;
}

/* My Services Page */

.services.title1 {
  padding-top: 0px;
}

.services .S_Details{
  color: #638394;
}
.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all 0.4s ease;
  background: #080f19;
}
.services .boxes .box:hover{
  background: #1f292e;
  color: #080f19;
}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #638394;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: white;
  color: #4070f4;
}
.services .boxes .box:hover .topic1,
.services .boxes .box:hover p{
  color: #fff;
  transition: all 0.4s ease;
}
.services .boxes .box:hover .topic1,
.services .boxes .box:hover p{
  color: #fff;
}
/* Button Row */
.button-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.button-row a {
  text-decoration: none;
}
.btn-outline {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 400;
  background: transparent;
  color: #638394;
  border: 2px solid #638394;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-outline:hover {
  background: #638394;
  color: #fff;
}

/* Projects Page */
.projects {
  background: #080f19;
}
.projects .content {
  padding: 40px 0;
}
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.project-card {
  background: #0e1a2b;
  border-radius: 12px;
  padding: 28px 24px;
  width: calc(100% / 3 - 20px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card:hover {
  background: #1f2e3e;
  transform: translateY(-4px);
}
.project-icon {
  font-size: 28px;
  color: #638394;
}
.project-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.project-tags {
  font-size: 13px;
  color: #638394;
  font-family: 'Courier New', monospace;
}
.project-card p {
  color: #a0b0c0;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}
.project-link {
  color: #638394;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.3s;
}
.project-link:hover {
  color: #fff;
}

/* Experience & Education */
section.experience {
  background: #fff;
}
section.experience .content {
  padding: 40px 0;
}
.timeline {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}
.timeline-block {
  width: 48%;
}
.timeline-header {
  font-size: 20px;
  font-weight: 600;
  color: #080f19;
  border-left: 4px solid #638394;
  padding-left: 12px;
  margin-bottom: 28px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}
.timeline-dot {
  min-width: 14px;
  height: 14px;
  background: #638394;
  border-radius: 50%;
  margin-top: 6px;
}
.tl-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
}
.tl-role {
  font-size: 17px;
  font-weight: 600;
  color: #080f19;
}
.tl-date {
  font-size: 13px;
  color: #638394;
  white-space: nowrap;
}
.tl-company {
  font-size: 14px;
  color: #555;
  margin: 4px 0 8px;
}
.tl-points {
  padding-left: 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
}
.tl-points li {
  margin-bottom: 4px;
}

/* Certifications */
.certifications {
  background: #080f19;
}
.certifications .content {
  padding: 40px 0;
}
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.cert-card {
  background: #0e1a2b;
  border-radius: 12px;
  padding: 24px 20px;
  width: calc(100% / 3 - 16px);
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.cert-card:hover {
  background: #1f2e3e;
  transform: translateY(-4px);
}
.cert-icon {
  font-size: 30px;
  color: #638394;
  margin-bottom: 12px;
}
.cert-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.cert-issuer {
  font-size: 13px;
  color: #638394;
}

/* Contact Me Page */
.contact{
  background: #080f19;
}
.contact .content{
  margin: 0 auto;
  padding: 5px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
  color:#FFF;
}
.footer {
  background-color: black;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.f_container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.newsletter {
  display: flex;
  align-items: center;
}

.newsletter p {
  margin-bottom: 10px;
}

.newsletter-input {
  display: flex;
  flex-direction: column;
}
.newsletter-input input[type="email"] {
  padding: 12px 18px;
  border: none;
  border-radius: 4px 0 0 4px;
}
.newsletter-input button {
  background-color: #638394;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  cursor: pointer;
}

.newsletter-input button:hover {
  border-color: #638394;
  background-color: #fff;
  color: #638394;

}
@media (max-width: 767px) {
  .container {
      padding: 0 10px;
  }
}