html {
  scroll-behavior: smooth;
}

body {
    margin: 0; 
    font-family: 'Segoe UI', sans-serif;
    color: white;
    background:#100E0E;
  
    position: relative;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 120px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.fullstop {
    color: red;
}

.nav-container {
    font-size: 20px;
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 30px auto;
    gap: 40px;
    padding: 18px 40px;
    background: rgba(20,20,20,0.8);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5), inset 0 0 20px rgba(255, 0, 0, 0.1);
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.4s ease;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
    font-size: 16px;
    font-weight: 500;
}

nav a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

nav a:hover::before {
    opacity: 0;
}

.active::before {
    opacity: 1;
}

.resume {
    color: white !important;
    background: linear-gradient(135deg, #ff0000, #ff3333) !important;
    border: 2px solid #ff0000 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.resume:hover {
    background: linear-gradient(135deg, #ff3333, #ff5555) !important;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8) !important;
    transform: translateY(-3px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
}

#home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    top: 0px;
    padding-top: 120px; 
}

.intro {
    color: #aaa;
    font-size: 40px;
    margin: -90px -100px -10px -100px;
}

.main-name {
    font-size: 110px;
    margin-bottom: 15px;
    padding: 0px 20px;
    font-family: Abril Fatface !important;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    flex-wrap: wrap;
}

.badge {
    background: red;
    padding: 16px 40px;
    border-radius: 20px;
    width: fit-content;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tagline {
    font-size: 60px;
    color: #aaa;
    font-family: Open Sans !important;
}

.cta {
    margin: 25px auto 0;
    padding: 16px 45px;
    border-radius: 50px;
    background: red;
    border: none;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
    display: block;
    width: fit-content;
}

.cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.7);
}

.section-title {
    font-size: 50px;
    position: relative;
    text-align: center;
    margin: 10px 5px 100px 10px;
    scroll-margin-top: 100px; 
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

#about {
    /* .achievements-list: linear-gradient(135deg, rgba(255, 102, 0, 0.05), rgba(255, 0, 0, 0.08)); */
}

.details-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    padding: 100px 60px;
    font-size: 25px;
}

.detail-card {
    background: rgba(20,20,20,0.9);
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    width: 100%;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-card h3 {
    margin: 0 0 15px;
    color: #ff6600;
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    line-height: 1.6;
    color: #aaa;
}

.detail-card:hover {
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.6);
    transform: translateY(-10px);
    background: rgba(20,20,20,0.95);
    border-color: rgba(255, 102, 0, 0.5);
}

#skills {
    /* background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 247, 0.08)); */
}

.skills-set {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    
}

.skill {
    padding: 30px 50px;
    border: 2px solid rgba(255, 102, 0, 0.3);
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.8);
    transition: all 0.4s ease;
    font-weight: 600;
    color: #ccc;
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.skill:hover {
    border: 2px solid #ff6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5), inset 0 0 15px rgba(255, 102, 0, 0.2);
    transform: translateY(-8px) scale(1.05);
    color: white;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
}

#projects {
    /* background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 102, 0, 0.08)); */
}

.container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
   
}

.card {
    background: rgba(20, 20, 20, 0.9);
    padding: 25px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin: 0 0 12px;
    color: #ff6600;
    font-size: 22px;
    text-align: center;
}

.card p {
    margin: 8px 0;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
    font-size: 20px;
}

.card:hover {
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.6);
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(20,30,40,0.98), rgba(30,40,50,0.95));
    border-color: rgba(255, 102, 0, 0.6);
}

.tags {
    color: #ff6600;
    font-weight: 600;
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
}

.project-link {
    display: inline-block;  /* otherwise padding problems */
    margin-top: 18px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #ff3333, #ff6600);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4);
    text-align: center;
}

.project-link:hover {
    background: linear-gradient(135deg, #ff0000, #ff5555);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.7);
    border-color: #ff3333;
}


.project-link:active {
    transform: translateY(-2px);
}


.my-details {
    padding: 80px 20px;
    width: 80%;
    margin: 0 auto;
}
.achievements-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.echv {
    background: rgba(20, 20, 20, 0.9);
    padding: 25px;
    border-radius: 15px;
    width: 300px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
}

.echv h3 {
    color: #ff6600;
    margin-bottom: 10px;
    font-size: 22px;
}

.echv p {
    color: #aaa;
    line-height: 1.6;
    font-size: 18px;
}
.echv:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.6);
    border-color: rgba(255, 102, 0, 0.5);
}
.crt {
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 15px;
    width: 320px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
    text-align: center;
}
.certificate-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.crt:hover {
    transform: translateY(-10px) scale(1.02);
   box-shadow: 0 0 25px rgba(255, 102, 0, 0.6);
    border-color: rgba(255, 102, 0, 0.5);
}
.crt h3 {
    color: #ff6600;
    margin-bottom: 10px;
}

.crt p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.5;
}
.echv, .crt {
    backdrop-filter: blur(10px);
}

.experience-list {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.exp {
    background: rgba(20, 20, 20, 0.9);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ff6600;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    width: 100%;
}

.exp h3 {
    margin: 0;
    color: #ff6600;
    font-size: 25px;
}

.exp p {
    margin: 0;
    color: #aaa;
    line-height: 1.6;
    font-size: 20px;
}

.exp:hover {
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.5);
    transform: translateY(10px);
    
    
    border-color: rgba(255, 102, 0, 0.5);
}

#contact {
    /* background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 0, 0, 0.05)); */
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size:30px;
    width: 100%;
}

#contact .section-title {
    margin-bottom: 15px;
    
}

.contact-subtitle {
    font-size: 35px;
    color: #aaa;
    margin-bottom: 40px;
    width:  100%;
    font-family: Open Sans ;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-label {
    font-size: 18px;
    color: #ff6600;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    font-size: 20px;
    width:fit-content;
}

.social-btn {
    padding: 12px 28px;
    border: 2px solid rgba(255, 1, 1, 0.5);
    background: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    min-width: 120px;
}

.social-btn:hover {
    border-color: #ff6600;
    background: rgba(255, 102, 0, 0.25);
    color: white;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
    transform: translateY(-5px);
}
.resume {
    color: white !important;
    background: linear-gradient(135deg, #ff0000, #ff3333) !important;
    border: 2px solid #ff0000 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.resume:hover {
    background: linear-gradient(135deg, #ff3333, #ff5555) !important;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8) !important;
    transform: translateY(-3px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
}
.email-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff0000, #ff3333);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.4s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, #ff3333, #ff5555);
}


footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.9));
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid rgba(255, 0, 0, 0.3);
}

footer p {
    margin: 0;
    color: #aaa;
    font-size: 18px;
    letter-spacing: 1px;
}


.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 6px rgba(255,255,255,0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.subtitle{
    font-size: 28px;
    color: #aaa;
    margin-bottom: 40px;
    font-family: Open Sans ;
    width:  100%;
    text-align: center

}
nav a.active {
  color: white;
  background: rgba(254, 57, 57, 0.2);
  border-radius: 20px;
  font-weight: 600;

}


@media (max-width: 768px) {

  .nav-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px;
    font-size: 14px;
    width: 75%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .intro {
    font-size: 18px;
    margin: 0;
  }

  .main-name {
    font-size: 40px;
  }

  .tagline {
    font-size: 20px;
  }

  .badge {
    font-size: 12px;
    padding: 8px 15px;
  }

  .cta {
    font-size: 16px;
    padding: 10px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .card,
  .echv,
  .crt {
    width: 100%;
  }

  .skill {
    font-size: 16px;
    padding: 12px 20px;
    min-width: auto;
  }

  .details-container {
    padding: 40px 20px;
    font-size: 18px;
  }

  .contact-subtitle {
    font-size: 22px;
  }

  .info-item p {
    font-size: 16px;
  }

  .email-btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  .footer p {
    font-size: 12px;
    width: 100%;
  }

}