body {
    background: url("Pictures/bg.png") no-repeat center center fixed;
    background-size: cover;
    margin: 0 5%;
    font-size: 16px;
    scroll-behavior: smooth;

}

.sec{
    margin: 10% 0 ;
    color:#fddca9;
}
#welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}


#hello {
    font-size: clamp(2rem, 5vw, 5.625rem);
    color: #fddca9;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    z-index: 2;
}
.welcome-con{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#cat {
    width: 70%;

}
.headings {
    color: #221814;
    font-family: "Press Start 2P", sans-serif;
    margin-left: 10px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}
.con {
    background-color: #22181464;
    border-radius: 30px;
    padding: 0 20px;
    backdrop-filter: blur(2px);
    display: flex;
    margin: 0 10px;
    flex-wrap: no-wrap;
    gap: 5%;
}
#me{
    width: 30%;
    height: 500px;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fddca9;
    font-family: "Ubuntu", sans-serif;
    font-size: 1rem;
    text-align: center;
}
#me img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 5px solid #22181464;
}
#about{
    width: 60%;
    height: 500px;
    border-radius: 10px;
    margin-top: 10px;
    color: #fddca9;
    font-family: "Ubuntu", sans-serif;
    font-size: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#division {
    background-color: #221814;
    width: 100%;
     height: 2px;
     margin-top: 10px;
}
#educ-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  margin: 10% 0;
    display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#educ-content {
  position: relative;
  width: 100%;
  height: 50%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  color: #fddca9;
  font-family: "Ubuntu", sans-serif;
  text-align: center;
  padding: 20px;

}

#educ-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(34,24,20,0.65);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  z-index: 1;
}

#educ-content * {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px #000;
}

.educ-btn {
  position: absolute;
  top: 0;
  width: 10%;               /* or 15% as you prefer */
  height: 100%;
  color:  rgba(0,0,0,0.7);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  user-select: none;
  transition: background-color 0.3s;
}

#educ-left {
  left: 0;
}

#educ-right {
  right: 0;
}

.educ-btn:hover {
    color: #fddca9;
}


#educ-left {
    left: 0;
}

#educ-right {
    right: 0;
}
.educ-btn {
    cursor: pointer;
    font-size: 100px;
}

.cert-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 60px);
    gap: 50px;
}

.cert-icon {
    width: 100px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    image-rendering: pixelated;
}

/* MODAL */
#cert-modal {
    display: none; /* hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#cert-panel {
    background: #201818;
    padding: 15px;
    border: 4px solid #f5d7a1;
    border-radius: 4px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 0 15px #000;
    animation: pop 0.15s ease-out;
}

@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#close-cert {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #f5d7a1;
    border: 2px solid #000;
    padding: 5px 10px;
    font-family: "Press Start 2P", monospace;
    cursor: pointer;
}

#cert-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border: 3px solid #f5d7a1;
    image-rendering: pixelated;
}
#cert-container {
    
    padding: 40px;
    margin: 20px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    grid-template-rows: repeat(2, auto);   /* 2 rows */
    gap: 30px;
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: 1000px; /* adjust for spacing */
    margin: 0 auto;
}


.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    padding: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.cert-title {
    margin-top: 8px;
    font-size: 0.75rem;
    font-family: "Ubuntu", sans-serif;
    color: #fddca9;
    text-shadow: 0px 0px 3px #000;
}

/* SKILLS SECTION */
#skills {
    margin-top: 40px;
}

.skills-container {
    background-color: #22181464;
    backdrop-filter: blur(2px);
    border-radius: 30px;
    padding: 10px;
    margin: 0 10px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* COLUMN TITLES */
.technical h3,
.softskills h2 {
    color: #fddca9;
    font-family: "Press Start 2P", sans-serif;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
}

/* LEFT COLUMN */
.technical,
.softskills {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* GRID FOR TECHNICAL SKILLS (ICONS) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
}
.technical{
    display: flex;
    justify-content: space-between;
}
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fddca9;
    font-family: "Ubuntu", sans-serif;
    text-align: center;
}

.skill-item img {
    width: 50px;
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 8px;
    image-rendering: pixelated;
}

/* RIGHT COLUMN - SOFT SKILLS */
.softskills-container {
    padding: 20px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.softskills-item {
    background-color: #221814;
    padding: 12px;
    border-radius: 10px;
    color: #fddca9;
    font-family: "Ubuntu", sans-serif;
    text-align: center;
    box-shadow: 0px 0px 5px #000;
}


.project-container {
    position: relative;
    top: 20px;
    left: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
     font-family: "Ubuntu", sans-serif;
    text-align: center;
    color: #fddca9;
    
}

.project-container {
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-item {
    border: 2px solid #221814;
    background-color: #22181464; 
    backdrop-filter: blur(8px);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0px 0px 5px rgb(40, 24, 24);
}

.project-item:hover {
    transform: scale(1.04);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.project-item img {
    width: 100%;
    height: 180px;
    max-width: 100%;
    object-fit: cover;
}

.project-item h3 {
    margin-top: 10px;
    font-size: 1.125rem;
    color:#fddca9;
}

/* Make the entire card clickable */
.project-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

#research-conducted {
    padding: 10px 0;
}

.research-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    height: 20vh;
    margin: auto;
}

.research-item {
    background: #ffffff10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center ;
    padding: 10px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
         font-family: "Ubuntu", sans-serif;
    text-align: center;
    color: #fddca9;
    
    background-color: #22181464; 
}

.research-item:hover {
    transform: translateY(-5px);
}

.research-item img {
    width: 50px;
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px #00000040);
}

.research-item h3 {
    font-size: 1.125rem;
    margin: 10px 0;
}

.research-item p {
    opacity: 0.8;
    color: white;
}

#reflection {
    padding: 60px 0;
}

.reflection-container {
    width: 90%;
    height: 70vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#fddca9;
}

.reflection-item {
    background: #ffffff10;
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px #00000030;
    line-height: 1.6;
    transition: 0.3s ease;
             font-family: "Ubuntu", sans-serif;
    text-align: center;
    color: #fddca9;
    
    background-color: #22181464; 
}

.reflection-item:hover {
    transform: translateY(-5px);
}

.reflection-item h3 {
    margin-top: 20px;
    font-size: 1.375rem;
    text-align: center;
}

.reflection-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #eaeaea;
    text-align: justify;
}


#contacts {
    padding: 60px 0;
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 30px;
    width: 80%;
    margin: auto;
}

.contact-item a {
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
                font-family: "Ubuntu", sans-serif;
    text-align: center;
    color: #fddca9;
    
    background-color: #22181464; 
    border-radius: 20%;
    padding: 10px;
}

.contact-item img {
    width: 70px;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    transition: 0.25s ease;
}

.contact-item:hover img {
    transform: scale(1.1);
}

.contact-item p {
    font-size: 1rem;
    margin-top: 5px;
}

.containerwelcome{
    color: #221814;
    height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.block {
    width: 40%;
    height: 10px;
    background-color: #221814;
}
.ty{
    width: 50%;
                    font-family: "Press Start 2P", sans-serif;
    text-align: center;
}

/* ====== SCROLL REVEAL ANIMATIONS ====== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
/*
.divv {
    
    background-color: #221814;
    width: 98%;
    height: 5px;
    margin-top:5px;
    margin-left: 10px;
    border-radius: 30px;
}*/
.headings{
    width: 100%;
    text-align: center;
}
