/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root {
  --dark: #272624;
  --mid:  #474747;
  --light:#fff;
  --a1:   #64ffda;
  --a2:   #ffc627;
}

@font-face {
  font-family: 'TitleFont';
  src: url('../fonts/moderniz/Moderniz.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Subtitle';
  src: url('../fonts/Century Gothic/centurygothic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NavTitle';
  src: url('../fonts/now/Now-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.flex{
  color: rgb(180, 180, 180);
  margin-top: 5px;
  display: flex;
  justify-content: space-around;
  gap: .5rem;
}

.projectTitle h2{
  font-size: 2rem;
  color: transparent; 
  -webkit-text-stroke: 2px var(--light);
  text-align: center;
  font-size:2.5rem;
  margin-bottom:1rem; 
  text-shadow: 1px 5px 19px #000000;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{font-family: 'Advent Pro'; background:var(--dark);color:var(--light);overflow-x:hidden;}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem;}
.section{position:relative;overflow:hidden;padding: 5rem 0 5rem 0;}
.wave-bg{
  position:absolute;top:0;left:0;width:200%;height:200%;
  background:radial-gradient(circle at 50% -20%,rgba(255,255,255,0.08),transparent 70%);
  filter:blur(80px);transform:translate(-25%,-25%);
  z-index:1;
}
h2{
  font-size: 1.5rem;
}
.contact{
  margin: 10px 0 10px 0;
  display: flex;
  justify-content: space-between;
}


/* Nav MENU */
/* --- Base Navbar Styles (Desktop) --- */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #333;
}

.container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Optional: Keep content centered */
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2rem;
}



.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
a{

  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #3498db;
}

/* Hide the hamburger icon on desktop */
.hamburger {
  display: none;
}

/* --- Mobile Menu Styles & Overrides --- */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    z-index: 1001; /* Ensure it's on top */
  }

  .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
  }

  .nav-links {
    position: fixed;
    right: -100%; /* Hidden by default */
    top: 0;
    width: 75%; /* Slide-in menu width */
    height: 100vh; /* Full viewport height */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Your glass style for the mobile menu */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  /* Show the menu when the 'activate' class is added */
  .nav-links.activate {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  /* Hamburger icon animation when active */
  .hamburger.activate .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.activate .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.activate .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}



.forwardBtn{
  margin-bottom: 1rem;
  margin-right: 1rem;
  border-radius: 100%;
  list-style-type: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid white;
  cursor: pointer;
}
.forwardBtn:hover{
  cursor: pointer;
}
.activeFor{
  background-color: white;
}
.contactBtn{
  align-items: center;
  text-align: center;
  height: 2rem;
  display: flex;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  background-color: transparent;
  border: 2px solid rgb(255, 255, 255);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.techLogo{
  width: 70px;
  height: 70px;
}


.contactBtn:hover {

  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.contactBtn:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.forBtnBottom{
  margin-right: 0.8rem;
  position: absolute;
  bottom: 0px;
  display: flex;
}

.skillsContainer{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.skills .skillsContainer {
  gap: 2rem 0;
  padding: 1rem 0
}

.singleSkill{
  width: 70px;
}

.skills .skillsContainer .skillGroup .groupTitle .subTitle {
  display: block;
  padding: .3rem 0 1rem;
  color: var(--secondaryColor);
  font-weight: 600
}

.skills .skillsContainer .skillGroup .generalSkills {
  margin-top: 20px;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill {
  display: grid;
  align-items: center;
  justify-content: center
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .techLogo {
  height: 70px;
  width: 70px;
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox {
  position: relative;
  height: 70px;
  width: 50px;
  background: var(--projectCardColor);
  border: 2px solid var(--secondaryColor);
  border-radius: 3rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 500
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox .icon {
  font-size: 28px;
  z-index: 500
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:before {
  content: "";
  height: 0;
  width: 100%;
  background: var(--primaryHover);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: .2s
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:after {
  content: "";
  height: 0;
  width: 100%;
  background: var(--BgColor);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: .5s
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:hover {
  color: var(--textColor);
  border: 2px solid var(--primaryColor)
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:hover .icon {
  color: var(--primaryColor)
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:hover:before,.skills .skillsContainer .skillGroup .generalSkills .singleSkill .iconBox:hover:after {
  height: 100%
}

.skills .skillsContainer .skillGroup .generalSkills .singleSkill .skillName {
  padding-top: .3rem;
  text-align: center;
  font-weight: 600;
  color: var(--secondaryColor)
}

.skill-title h2{
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--light);
}


.icon{
  font-size: 1.5rem;
  cursor: pointer;
}

.external-links{
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}
.WhatsAppIcon a{
  width: 20px;
  height: 20px;
}

@media screen and (max-width:640px) {
  .skillsContainer{
    grid-template-columns:auto;
    
  }
}

@media screen and (min-width: 480px) {
  .skills .skillsContainer .skillGroup .generalSkills {
      grid-template-columns:repeat(4,1fr)
  }
}

@media screen and (min-width: 640px) {
  .skills .skillsContainer {
      grid-template-columns:repeat(2,1fr);
      gap: 2rem;
      align-items: flex-start;
      justify-content: center;
      margin: auto
  }

  .skills .skillsContainer .skillGroup .generalSkills {
      grid-template-columns: repeat(3,1fr)
  }
}

@media screen and (min-width: 769px) {
  .skills {
      margin: auto
  }

  .skills .skillsContainer {
      grid-template-columns: repeat(2,1fr);
      gap: 2rem;
      align-items: flex-start
  }

  .skills .skillsContainer .skillGroup .generalSkills {
      grid-template-columns: repeat(3,1fr)
  }
}

@media screen and (min-width: 1240px) {
  .skills .skillsContainer {
      grid-template-columns:repeat(3,1fr);
      gap: 2rem;
      align-items: flex-start;
  }

  .skills .skillsContainer .skillGroup .generalSkills {
      grid-template-columns: repeat(2,1fr);
      padding-right: 5rem;
      row-gap: 1.5rem;
  }

  .skills .skillsContainer .skillGroup .generalSkills .singleSkill {
      align-content: flex-start;
      align-items: flex-start;
      justify-content: flex-start
  }
}



.navbar{position:fixed;width:100%;z-index:100;transition:0.3s; padding: 0 2rem 0 2rem}
.navbar.scrolled{background:rgba(39,38,36,0.9);backdrop-filter:blur(6px);box-shadow:0 2px 10px rgba(0,0,0,0.3);}
.navbar .container{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;}
.logo{font-size:1.5rem;font-weight:700;color:var(--light);text-decoration:none;}
.nav-links{list-style:none;display:flex;gap:3.2rem;  text-transform: uppercase; font-size: 1.2rem;}
.nav-links a{color:var(--light);text-decoration:none;font-weight:600;position:relative;}
.nav-links a.active,hero-image-wrap
.nav-links a:hover{color:var(--a1);}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;height:2px;width:0;background:var(--a1);transition:0.3s;

}
.nav-links a.active::after,
.nav-links a:hover::after{width:100%;}
.hamburger{display:none;flex-direction:column;cursor:pointer;}
.hamburger span{width:25px;height:3px;background:var(--light);margin:4px 0;}

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

  .hamburger{display:flex;}
}

/* Hero */
.hero{display:flex;justify-content:center;background:linear-gradient(145deg,var(--dark),var(--mid));min-height:100vh;padding-top:4rem;}
.hero-inner{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2;flex-wrap:wrap; }
.hero-text{flex:1;min-width:300px;}
/* .subtitle{font-size:1.2rem;font-weight:300;color:var(--light);margin-bottom:0.5rem; font-family: 'Subtitle';} */
.title{font-size:3rem;font-weight:500;line-height:1.3; font-family: 'TitleFont'}
.title .split{color: transparent; -webkit-text-stroke: 2px var(--a1)}
.hero-image-wrap{min-width:300px;display:flex;justify-content:flex-start;}
.hero-image-wrap img{width:350px;height:350px;object-fit:cover;border-radius:50%;box-shadow:0 0 30px rgba(0,0,0,0.5);filter:grayscale(100%) brightness(60%);transition:0.5s;}
.hero-image-wrap img:hover{filter:grayscale(0) brightness(100%);}

/* About */
.about-inner{display:flex;gap:2rem;align-items:center;flex-wrap:wrap;position:relative;z-index:2;}
.about-text{flex:2; text-align: right;}
.about-text h2{
  text-align: center;
  font-size:2.5rem;color:var(--light);margin-bottom:1rem; 
  background-color: #626262; border-radius: 50px 0 0 50px;
  box-shadow:0 5px 20px rgba(0,0,0,0.5);
  margin-left: 50%;
  text-shadow: 1px 5px 19px #000000;
}


.about-text p{margin-bottom:1rem;line-height:1.6;color:var(--light); text-align: center; font-size: 1.2rem;}
.about-image-wrap{flex:1;min-width:250px;}
.about-image-wrap img{width:100%;border-radius:15px;}

/* Skills */
/* .skills h2{text-align:center;font-size:3rem;font-weight:700;margin-bottom:2rem;color:var(--light);}
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;}
.skill-category{background:var(--mid);padding:2rem;border-radius:10px;position:relative;z-index:2;box-shadow:0 4px 15px rgba(0,0,0,0.4);}
.skill-category h3{margin-bottom:1rem;color:var(--a1);}
.icons{display:flex;gap:1rem;flex-wrap:wrap;}
.icon{flex:1;min-width:60px;height:60px;border-radius:8px;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;font-weight:700;transition:0.3s;}
.icon:hover{background:var(--a1);color:var(--dark);} */

/* Projects */
.projects h2{text-align:center;font-size:3rem;font-weight:700;margin-bottom:2rem;}
.project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;position:relative;z-index:2;}
.card{background:var(--mid);border-radius:15px;overflow:hidden;box-shadow:0 5px 20px rgba(0,0,0,0.5);transition:0.3s; 
  padding: 1.5rem 1rem;
  display: grid;
}
.card img{    
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  object-fit: cover;
  display: block;}
.card h3{margin-bottom:0.5rem;color:var(--light);}
.card p{color:#ddd;line-height:1.4;}

/* Experience */
.experience h2{text-align:center;font-size:3rem;font-weight:700;margin-bottom:2rem;color:var(--light);}
.exp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;position:relative;z-index:2;}
.exp-card{
  text-align: center;
  background:var(--mid);display:flex;
  flex-direction: column;
  align-items:center;gap:1rem;padding:1rem;border-radius:10px;box-shadow:0 4px 15px rgba(0,0,0,0.4);transition:0.3s;}
.exp-card img{min-height: 15vh; height: 15vh; object-fit:contain;}
.details h3{color:var(--a1);margin-bottom:0.5rem;}
.details span{font-size:0.9rem;color:#ccc;display:block;margin-bottom:0.5rem;}
.details p{color:#ddd;line-height:1.4;}

.gunbatarLogo img{
  height: 10vh;
  object-fit: contain;
}

.gunbatarLogo{
  text-align: center;
  background:var(--mid);display:flex;
  flex-direction: column;
  align-items:center;gap:1rem;padding:1rem;border-radius:10px;box-shadow:0 4px 15px rgba(0,0,0,0.4);transition:0.3s;
}

/* Contact */
.contact-inner{display:flex;flex-wrap:wrap;gap:2rem;position:relative;z-index:2;}
.contact-info{width: 100%;}
.contact-info p{
  display: block;
}

.contact a{
  color: white;
  text-decoration: none;
}


/* Work experience */

.workGroup{
  color: #ddd;
  background-color: var(--mid);
  border-radius: 8px;
  padding: 1rem;
}
.workTitle{
  color: white;
}

.workLocation, .workDate, .workCompany{
  margin-top: .3rem;
}
.workTitle{
  margin-top: 1rem;
}

.companyLogo{
  height: 30px;
}

.workResponsibilities{
  font-size: 1.1rem;
  margin-top: .5rem;
}
.workResponsibilities li{
  list-style-type: disc;
    color: var(--secondaryColor);
    font-weight: 500;
    margin-bottom: 5px;
    margin-left: 1rem;
}

.projectLink{
  text-decoration: underline;
    font-weight: 700;
    align-items: center;
    gap: 4px;
    color: inherit;
    transition: color .3s;
}

.highlight{
  font-weight: 800;
  color: var(--a1);
}
/*  */


.educationDate{
  font-weight: 800;
}


.footer-container{
  width: 100%;
}
.contact-info h2{font-size:2.5rem;color:var(--light);margin-bottom:1rem;
text-align: center;


}

.contact-links a{
  font-size: 1.2rem;
}

.contact-info form{display:flex;gap:1rem;}
.contact-info input,
.contact-info textarea{
  margin: .5rem;
  width: 100%;
  height: 3rem;
  padding:1rem;border:none;border-radius:20px;background:#B4B5B9;color:#DBDEE3;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  resize:none;}
.contact-info button{padding:1rem 2rem;border:none;border-radius:20px;
  margin: .5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  background:#434343;
  font-size: large;
  color:#dedede;font-weight:600;cursor:pointer;transition:0.3s;}
.contact-info button:hover{opacity:0.9;}
.contact-links a{display:flex;align-items:center;gap:0.5rem;color:var(--light);text-decoration:none;transition:0.3s;}
.contact-links a:hover{color:var(--a1);}

/* Mobile */
@media(max-width:768px){
  .flex{
    display: block;
  }
  
  .contact-info button{
    width: 100%;
  }

  .contact-info form{
    display: block;
  }
  .about-inner, .contact-inner{flex-direction:column;}
  .hero-image-wrap{justify-content:center;}
  .title{
    font-size: 1.5rem;
    line-height:1.5;
  }
  .forwardButtonsLeft {
    display: none;
  }
  
}

.details p{
  padding-bottom: 5px;
}


@media (max-width:1145px){
  .hero-text{
    flex: auto;
  }
  .hero-image-wrap{
    align-items: center;
  }
}