
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* main container */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Tablets (≥ 780px) */
@media (min-width: 780px) {
  .container {
    width: 720px;
  }
}

/* Medium devices (≥ 992px) */
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}

/* Large devices (≥ 1200px) */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #eee;
}

a {
  color: #3C8EDF;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Hide  checkbox */
#menu-toggle {
  display: none;
}

/*   icon   */
.menu-icon {
  display: none;
  font-size: 28px;
  color: #00bbff;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

/* Responsive */
@media (max-width: 768px){

  .nav-links {
    position: fixed;
    top: 0;
    right: -220px; 
    width: 200px;
    height: 100%;
    background-color: #000;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    gap: 20px;
    display: flex;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  /* open */
  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }

  .menu-icon {
    display: block;
  }

  .nav-links a {
    color: #eee;
    font-size: 18px;
  }
  } 

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #00bbff;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #eee;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00bfff;
}

section {
  padding: 60px 40px;
}
/* HOME SECTION */
.home {
  padding: 80px 10%;
  background: linear-gradient(to right, #00bfff, #0d0d0d);
  color: white;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-text {
  max-width: 500px;
}

/* Typing animation */
.typing {
  font-size: 25px;
  font-weight: 400;
  color: #316063;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #316063;
  animation: typing 4s steps(30, end) infinite, blink 0.6s step-end infinite;
  width: 0;
}

@keyframes typing {
  0% { width: 0; }
  40%, 60% { width: 300px; }
  100% { width: 0; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.home h1 {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(to right, #00bfff, #3C8EDF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.home h2 {
  font-size: 36px;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.home p {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 20px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  width: 60px;
  height: auto;
  transition: 0.3s ease;
  position: relative;
}

.social-item i {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: white;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-item:hover i {
  transform: translateY(-3px) scale(1.1);
  background: #00bfff;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.social-label {
  margin-top: 8px;
  font-size: 14px;
  color: #123D49;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.social-item:hover .social-label {
  opacity: 1;
  transform: translateY(0);
} 

/* IMAGE */
.image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #00bfff;
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.7s ease;
}

.image:hover {
  box-shadow: 0 0 25px 5px rgba(0, 191, 255, 0.6);
  transform: scale(1.05);
}

.image:hover img {
  transform: scale(1.2) rotate(5deg);
  opacity: 0.85;
}

/* Animation for image */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== ABOUT SECTION  ===== */
.about-section {
  padding: 60px 10%;
  background-color: #0d0d0d;
}

/* ===== ABOUT TITLE "About Me" ===== */
.about-heading {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  background: linear-gradient(to right, #8EE0FC, #3B88D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
} 
/* ===== FLEX LAYOUT FOR CONTENT ===== */
.about-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
 /*==== image ===== */
.about-box {
  width: 270px;
  height: 400px;
  border: 5px solid #00bfff;
  border-radius: 25px;
  padding: 8px;
  box-shadow: 0 6px 16px rgba(0, 191, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-box img.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-box img.about-img:hover {
  transform: scale(1.2);
  box-shadow: 0 12px 22px rgba(59, 136, 212, 0.5);
}

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

/* ==== name ===== */
.about-text b {
  font-size: 24px;
  color: #00bfff;
  display: block;
  margin-bottom: 12px;
}

.highlight {
  color: #8EDBF1;
  font-weight: bold;
}

span {
  color: #8EDBF1;
}

.about-text p {
  font-size: 18px;
  color: #ccc;
  line-height: 1.6;
}

/* ===== animation ===== */
.fade-line {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== delays ==== */
.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }
.delay-6 { animation-delay: 1.8s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-box {
    margin-bottom: 20px;
  }

  .about-text {
    max-width: 100%;
  }
  }

.skills ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 18px;
  margin-top: 15px;
}

.contact a {
  color: #00bfff;
  text-decoration: underline;
}

.skills-section {
  padding: 60px 40px;
  background-color: #0d0d0d;
  text-align: center;
}

.skills-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #00bfff;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.skill-box {
  background-color: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 20px;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.skill-box:hover {
  background-color: #00bfff;
  transform: translateY(-5px);
}

.skill-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.skill-box span {
  color: white;
  font-size: 16px;
  font-weight: bold;
}

/* ===== Certificates Section ===== */
.certificates-section {
  padding: 80px 10%;
  background-color: #0e0e0e;
  text-align: center;
}

.certificates-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
  background: linear-gradient(to right, #00bfff, #3C8EDF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Card */
.certificate-card {
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(40, 131, 174, 0.73);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.certificate-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(36, 152, 159, 0.81);
}

.certificate-card:hover img {
  transform: scale(1.03);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .certificates-title {
    font-size: 28px;
  }
}


/* ===== Projects Section ===== */
.project-section {
  padding: 60px 5%;
  background-color: #0d0d0d;
  color: white;
  text-align: center;
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 36px;
  color: #00bfff;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(108, 20, 20, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.image-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  border-radius: 15px;
}

.image-track {
  display: flex;
  gap: 20px;
  padding: 10px;
}

.image-track img {
  width: 85vw;
  max-width: 700px;
  height: auto;
  border-radius: 15px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px #821B1B;
}

.image-track img:hover {
  transform: scale(1.03);
}
.project-btn {
  background-color: #00bbff;
  border: 2px solid #00bbff;
  color: #000;      
  padding: 16px 42px;
  margin: 10px;
  font-size: 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.project-btn:hover {
  background-color: transparent;
  color: #00bbff;
  transform: scale(1.05);
  box-shadow: 0 0 15px #00bbff;
} 

/* ===== Contact Section Styling with Labels ===== */
#contact {
  padding: 60px 20px;
  text-align: center;
}

#contact h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #00bbff;
}

#contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #00bbff;
  font-weight: bold;
  font-size: 16px;
}
#contact input,
#contact textarea {
  background-color: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #00bbff;
  outline: none;
}

#contact .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

#contact button {
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #00bbff;
  color: #000;
  border: none;
}

#contact button:hover {
  background-color: #111;
  color: #00bbff;
  border: 1px solid #00bbff;
  box-shadow: 0 0 15px #00bbff;
}

#contact button:active {
  transform: scale(0.97);
}

.contact-info {
  margin-top: 30px;
  text-align: center;
}

.contact-info hr {
  border: none;
  height: 1px;
  background-color: #00bbff;
  margin-bottom: 15px;
}

.contact-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #00bbff;
  flex-wrap: wrap;
}

.contact-text p {
  margin: 0;
}

.contact-text span {
  color: #2B7C9A;
  font-weight: bold;
} 

.footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  color: #00bbff;
  font-size: 14px;
} 
.footer .AUDY{
  font-weight: bold;
  color: #00bbff;
  text-shadow: 0 0 5px #00FAFF;
}
.footer p{
  margin: 0;
}