:root {
  --section-padding: 60px;
  --seconday-color: #1c1c20;
  --button-padd: 10px 20px;
  --transition: 0.3s;
  --para: #4b5563;
  --first-wht: #ffffff;
  --second-wht: #fafbfd;
  --blck: #020618;
  --border-clr: #d6dff0;
  /* ---------------------- */
  --main-color: #1a1d29;
  --second-color: #262934;
  --sky-blue: #a3c1e0;
  --box-color: #262934;
  --blue-grey: #b1b2b5;
  /* ---------------------- */
  --main-color-hell: #ffffff0d;
  --new-grey: #828996;
  --new-grey-b: #626c7d;
  --sky-blue-hell: #243747;
  --new-white: #dfe5ec;
  --new-border-rad: 15px;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
::-moz-selection {
  color: var(--main-color);
  background: var(--sky-blue);
}
::selection {
  color: var(--main-color);
  background: var(--sky-blue);
}
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: var(--first-wht);
}
.container {
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
.main-title {
  color: var(--sky-blue);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 80px;
  font-size: 2.5rem;
  position: relative;
  letter-spacing: -0.05em;
}
.main-title::after {
  content: "";
  position: absolute;
  background: var(--new-white);
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  height: 2.5px;
  width: 130px;
}
/* ---------------------- */

/* Start Navbar */
.navbar {
  background-color: var(--main-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 5%;
  border-bottom: 1.3px solid #ffffff24;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo a img {
  width: 110px;
  margin-top: 13px;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  color: var(--new-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 27px 20px;
  position: relative;
  transition: 0.5s;
}
.nav-links a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background-color: var(--sky-blue);
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--sky-blue);
}
.nav-links a:hover::before {
  width: 100%;
}
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--seconday-color);
}
.hamburger i {
  color: var(--sky-blue);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--second-color);
  padding: 20px 0;
  z-index: 999;
  transform: translateY(-150%);
  transition: transform 0.3s ease;
}
.mobile-menu.active {
  transform: translateY(0);
}
.mobile-links {
  list-style: none;
  padding: 0 5%;
  background-color: var(--second-color);
}
.mobile-links li {
  margin-bottom: 10px;
  padding: 15px 15px 15px 20px;
  color: var(--sky-blue);
  border-bottom: 1.5px solid var(--sky-blue);
}
.mobile-links li:hover {
  background-color: var(--sky-blue-hell);
}
.mobile-links a {
  text-decoration: none;
  color: var(--sky-blue-br);
  font-weight: 500;
  font-size: 1.1rem;
}
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: block;
  }
}
.navbar.sticky {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
/* End Navbar */

/* Start Header */
header {
  padding-top: 70px;
  background-color: var(--main-color);
  color: #1c1c20;
  box-shadow: 4.397px 2.642px 12px 0 rgba(118, 118, 138, 0.1);
  padding-bottom: 50px;
  /* animation: fadeIn 1s ease-out; */
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 90px 23px 50px;
}
@media (max-width: 767px) {
  header .container {
    flex-direction: column;
    padding-top: 70px;
  }
}
.header-text {
  max-width: 600px;
}
.header-text .hello {
  display: block;
  font-size: 25px;
  color: var(--sky-blue);
  font-weight: bold;
  margin-left: 3px;
  margin-bottom: 9px;
}
.header-text h1 {
  color: #dfe5ec;
  font-size: 80px;
  line-height: 1;
  margin-top: 18px;
  letter-spacing: -0.05em;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}
.header-text h1 > span {
  display: inline;
  font-size: 70px;
  color: var(--sky-blue);
  margin-right: 10px;
  margin-bottom: 10px;
}
.header-text h3 {
  font-size: 30px;
  color: var(--sky-blue);
  margin: 10px 0;
}
.header-text p {
  font-size: 20px;
  margin: 0 0 10px;
  color: #dfe5ec;
}
.header-text .header-contact {
  display: flex;
  align-items: center;
}
.header-buttons {
  display: flex;
  gap: 15px;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .header-text h1,
  .header-text h1 > span {
    font-size: 50px;
    text-align: center;
  }
  .header-text h3 {
    font-size: 25px;
    text-align: center;
  }
  .header-text .header-contact {
    flex-direction: column;
  }
  .header-buttons {
    margin-right: 0;
  }
}
.header-text .btn {
  display: inline-block;
  background-color: var(--sky-blue);
  color: var(--main-color);
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}
.header-text .btn-outline {
  display: inline-block;
  color: var(--sky-blue);
  background-color: var(--main-color);
  border: 1.5px solid var(--sky-blue);
  margin-top: 10px;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 30px;
  font-weight: 500;
}
.btn-outline:hover {
  background-color: var(--main-color-hell);
}
.header-photo img {
  width: 350px;
  border-radius: 50%;
  border: 5px solid var(--sky-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
@media (min-width: 1200px) {
  .header-photo img {
    margin-right: 45px;
  }
}
.social-icons {
  display: flex;
  justify-content: left;
  gap: 15px;
  margin-top: 13.5px;
}
.social-icons a {
  color: var(--sky-blue);
  font-size: 1.5em;
  transition: 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: left;
    gap: 20px;
  }
  .header-content {
    display: flex;
    flex-direction: column;
  }
  .header-photo {
    order: -1;
  }
  .header-text .hello {
    text-align: center;
  }
  header h1 {
    font-size: 2.5em;
  }
  header p {
    text-align: center;
  }
  .header-photo img {
    width: 220px;
    height: 220px;
  }
}
/* End Header */

/* Start About */
.about {
  background-color: var(--second-color);
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  text-align: center;
}
.about-box {
  max-width: 800px;
  margin: 0 auto;
  transition-duration: 0.3s;
  margin-bottom: 30px;
}
.about-box p {
  margin: 0;
  font-size: 1.3em;
  line-height: 1.6;
  color: var(--new-white);
}
/* End About */

/* Start Education */
.education {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background: var(--main-color);
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #82899659;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -44px;
  top: 25px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky-blue);
  border: 5px solid var(--main-color);
}

.timeline-content {
  background: var(--box-color);
  padding: 30px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  transition: 0.5s;
}
.timeline-content:hover {
  transform: scaleX(1.01) scaleY(1.01);
}
.timeline-h3-1,
.timeline-h3-2 {
  margin-top: 0;
  color: var(--sky-blue);
  font-size: 23px;
  font-weight: 500;
  text-transform: uppercase;
}

.timeline-content .school {
  color: var(--blue-grey);
  font-weight: 500;
  margin: 5px 0;
  font-size: 18px;
}

.timeline-content .date {
  color: var(--new-white);
  margin: 5px 0 15px;
  font-size: 14px;
}

.timeline-content .desc {
  margin: 15px 0 0;
  color: var(--new-white);
}

.timeline-content .desc ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  /* .timeline {
    padding-left: 40px;
  } */

  /* .timeline-dot {
    left: -37px;
    top: 20px;
    width: 25px;
    height: 25px;
    border-width: 4px;
  } */

  /* .timeline-content {
    padding: 20px;
  } */
}

/* Experience */
.experience {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background: var(--main-color);
  /* background: var(--first-wht); */
}

.exp-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 30px;
}

.exp-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #82899659;
}

.exp-item {
  position: relative;
  margin-bottom: 40px;
}

.exp-dot {
  position: absolute;
  left: -44px;
  top: 25px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky-blue);
  border: 5px solid var(--main-color);
}

.exp-content {
  background: var(--box-color);
  padding: 30px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  transition: 0.5s;
}
.exp-content:hover {
  transform: scaleX(1.01) scaleY(1.01);
}
@media (max-width: 768px) {
  .exp-content {
    padding: 20px;
  }
}
.exp-content h3 {
  margin-top: 0;
  color: var(--sky-blue);
  font-size: 23px;
  font-weight: 500;
  text-transform: uppercase;
}
.exp-company {
  color: var(--blue-grey);
  font-weight: 500;
  margin: 5px 0;
  font-size: 18px;
}
.exp-date {
  color: var(--new-white);
  margin: 5px 0 15px;
  font-size: 14px;
}
.exp-desc ul {
  padding-left: 20px;
}
.exp-desc {
  color: var(--new-white);
}
/* End Experience */

/* Start Project */
.projects {
  padding-top: var(--section-padding);
  padding-bottom: calc(var(--section-padding) + 60px);
  background: var(--main-color);
}
.projects .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.projects .box {
  background-color: var(--box-color);
  border-radius: 30px;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.projects .box:hover {
  transform: scaleX(1.01) scaleY(1.01);
}
.projects .info-holder {
  padding: 10px 30px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.projects .info-holder p {
  flex-grow: 1;
  color: var(--new-white);
}
.projects .info-holder .view {
  margin-top: auto;
}
@media (max-width: 767px) {
  .projects .container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
.projects .box img {
  width: 50px;
  transition: 0.3s;
}
.projects .box .project-img {
  width: 100%;
}
.projects .box .img-holder:hover img {
  transform: scale(1.05, 1.05);
}

.projects .box h3 {
  margin-top: 5px;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--new-white);
  font-weight: 500;
  text-transform: uppercase;
}
.projects .box .pro-skills span {
  color: var(--sky-blue-br);
  background-color: var(--sky-blue);
  font-size: 13px;
  margin-right: 5px;
  margin-bottom: 8px;
  display: inline-block;
  padding: 5px 11px;
  border-radius: 20px;
}
.projects .box .view a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  color: var(--sky-blue);
  background-color: var(--main-color-hell);
  border: 1.5px solid var(--sky-blue);
}
.projects .box .view a i {
  margin-left: 5px;
  transition: 0.3s;
}
.projects .box .view a:hover i {
  transform: translateX(3px);
}
/* End Project */

/* Start Certification*/
.certifications {
  padding-top: var(--section-padding);
  padding-bottom: calc(var(--section-padding) + 60px);
  background: var(--main-color);
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.certification-item {
  background: var(--main-color-hell);
  text-align: center;
  transition: 0.5s;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.certification-item:hover {
  transform: scaleX(1.01) scaleY(1.01);
}
.certification-item .img-holder {
  padding: 10px;
}
.certification-item .img-holder img {
  width: 100%;
  border-radius: 15px;
}
.certification-item .info-holder {
  padding: 0px 25px 25px;
}
.certification-item .info-holder h3 {
  margin: 0 0 8px;
  font-size: 23px;
  color: var(--new-white);
  font-weight: 600;
}
.certification-item .info-holder p {
  margin: 5px 0;
  color: var(--blue-grey);
}
.certification-item .info-holder a {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 13px;
  font-weight: 500;
  color: var(--sky-blue);
  background-color: var(--main-color-hell);
  border: 1.5px solid var(--sky-blue);
}
.certification-item .info-holder a i {
  margin-left: 5px;
  transition: 0.3s;
}
.certification-item .info-holder a:hover i {
  transform: translateX(3px);
}
/* End Certification */

/* Start Skills */
.skills {
  padding-top: var(--section-padding);
  padding-bottom: calc(var(--section-padding) + 80px);
  background-color: var(--main-color);
}
.skills .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.skills .box {
  background-color: var(--main-color);
  border: 1.5px solid var(--new-grey);
  text-align: center;
  padding: 10px 16px;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  align-content: left;
  position: relative;
  overflow: hidden;
}
.skills .box:hover {
  transform: scaleX(1.03) scaleY(1.03);
  box-shadow: 0 12px 18px -6px rgba(10, 0, 0, 0.16);
}
.skills .box img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}
.skills .box p {
  color: var(--new-white);
  font-size: 17px;
  margin: 0;
}
/* End Skills */

/* Start Contact */
.contact {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background: var(--main-color-hell);
  text-align: center;
}
.contact h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--first-wht);
}
.contact h2 strong {
  font-weight: bold;
  color: var(--sky-blue);
}
.contact-box {
  border: 2px solid var(--first-wht);
  padding: 20px;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  gap: 30px;
  border-radius: 15px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-item i {
  font-size: 1.5em;
  color: var(--first-wht);
}
.contact-item p {
  margin: 0;
  font-size: 1.1em;
  color: var(--first-wht);
}
.contact-item a {
  color: var(--first-wht);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-item a:hover {
  color: var(--main-color);
  font-weight: 500;
}
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  .contact-item {
    justify-content: center;
  }
}
/* End Contact */

/* ------------ */
.contact-section {
  background-color: var(--second-color);
  padding: 40px 40px;
  backdrop-filter: blur(15px);
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.contact-title {
  color: var(--sky-blue);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 2.5rem;
  position: relative;
  letter-spacing: -0.05em;
}
.contact-subtitle {
  font-size: 1.1rem;
  color: var(--blue-grey);
  margin-bottom: 50px;
  line-height: 1.6;
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  border-radius: 15px;
  position: relative;
}
.contact-link:hover {
  transform: translateY(-10px) scale(1.05);
}
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.contact-link:hover .contact-icon {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.linkedin .contact-icon {
  background: var(--sky-blue);
}
.github .contact-icon {
  background: var(--sky-blue);
}
.email .contact-icon {
  background: var(--sky-blue);
}
/* .twitter .contact-icon {
  background: var(--sky-blue);
} */
.contact-icon i {
  color: white;
  font-size: 1.8rem;
}
.contact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--new-white);
  margin-bottom: 5px;
}
.contact-detail {
  font-size: 0.85rem;
  color: var(--new-grey);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.contact-link:hover .contact-detail {
  opacity: 1;
  transform: translateY(0);
}
.footer-text {
  font-size: 0.9rem;
  color: #94a3b8;
  font-style: italic;
}
/* Hover effects */
.contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-link:hover::before {
  opacity: 1;
  background-color: var(--sky-blue-hell);
  z-index: -1;
}
@media (max-width: 600px) {
  .contact-section {
    padding: 40px 25px;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-links {
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(100px, 1fr);
    gap: 25px;
  }
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  .contact-icon i {
    font-size: 1.5rem;
  }
}
@media (max-width: 400px) {
  .contact-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.contact-icon {
  animation: pulse 4s ease-in-out infinite;
}
.contact-link:nth-child(2) .contact-icon {
  animation-delay: 0.5s;
}
.contact-link:nth-child(3) .contact-icon {
  animation-delay: 1s;
}
.contact-link:nth-child(4) .contact-icon {
  animation-delay: 1.5s;
}

/* End Contact */

/* Start Footer */
footer {
  background: var(--main-color);
  color: var(--first-wht);
  text-align: center;
  padding: 10px 0;
}
footer p {
  padding: 10px;
  margin: 0;
  font-size: 0.9em;
}
/* End Footer */

/* Start animation */
@keyframes fadeIn {
  from {
    /* opacity: 0; */
    transform: translateY(15px);
  }
  to {
    /* opacity: 1; */
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

/* icons */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* End Animation */
