/* ===========================
   RESUME SECTION
=========================== */
.resume-section {
   margin: 0.5rem;
}

.resume-top-image-container {
   display: none;
   position: absolute;
   top: 156rem;
   right: 1rem;
   padding: 2rem 1rem;
   z-index: -999;

}

.resume-top-image {
   width: 24rem !important;
   height: 24rem !important;
   transform: rotate(-180deg);
}

@media (min-width: 980px) {
   .resume-top-image-container {
      display: block;
   }

   .resume-section {
      margin: 2rem
   }
}


/* ===========================
       EDUCATION SECTION
=========================== */

.education-section {
   margin-bottom: 2.5rem;
}

.education-header {
   position: relative;
   z-index: 10;
   margin-bottom: 3rem;
}

.education-title {
   font-size: 2.3rem !important;
   font-weight: 600;
   position: relative;
   font-family: 'Poppins', sans-serif;
   z-index: 10;
   margin: 0;
}

.point-image {
   position: relative;
   bottom: 1.5rem;
   z-index: 0;
   margin-left: 8rem;
   width: 3rem;
}

/* Department Grid */
.department-grid {
   display: grid;
   grid-template-areas: 'site dept focus desc';
   gap: 0.2rem;
   position: relative;
   z-index: 10;
}

/* Year/Site Column */
.year-site-column {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   color: var(--text-gray);
   grid-area: site;
}

.year {
   font-size: 0.75rem;
}

.duration {
   font-size: 0.875rem;
}

.site-short {
   font-size: 0.875rem;
}

.site-long {
   font-size: 0.875rem;
   color: #5fa6c0;
}

/* Department Bullet */
.department-bullet {
   display: flex;
   flex-direction: column;
   align-items: center;
   grid-area: dept;
}

.bullet-outer {
   width: 1.25rem;
   height: 1.25rem;
   background-color: var(--dark-green);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   z-index: 10;
}

.bullet-middle {
   width: 0.75rem;
   height: 0.75rem;
   background-color: var(--primary-green);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.bullet-inner {
   width: 0.3125rem;
   height: 0.3125rem;
   background-color: var(--darker-green);
   border-radius: 50%;
}

.divider-line {
   position: relative;
   top: 1rem;
   right: 1.875rem;
   width: 400%;
   transform: rotate(90deg);
   background-color: var(--divider-color);
   height: 1px;
   z-index: 0;
}

/* Department Info */
.department-info {
   display: flex;
   flex-direction: column;
   grid-area: desc;
   width: 10rem;
   margin-bottom: 0.5rem;
}

.department-title {
   font-size: 1.125rem;
   color: var(--primary-blue);
   font-weight: 600;
   letter-spacing: 0.05em;
   margin-bottom: 0.5rem;
}

.department-description {
   font-size: 0.75rem;
   color: var(--text-light);
}

.department-tech {
   font-size: 0.625rem;
   color: var(--tech-blue);
   font-family: sans-serif;
   font-weight: 300;
   margin-top: 0.25rem;
}

.tech-label {
   color: var(--tech-green);
   font-size: 0.75rem;
}

/* Responsive Adjustments */
@media (min-width: 480px) {
   .education-title {
      font-size: 1.875rem;
   }

   .point-image {
      bottom: 2.5rem;
      width: 4rem;
      margin-left: 9rem;
   }

   .department-grid {
      gap: 1rem;
      margin-left: 1rem;
   }

   .department-info {
      width: auto;
      margin-bottom: 1rem;
   }
}

@media (min-width: 640px) {
   .point-image {
      width: 5rem;
      margin-left: 10rem;
   }

   .department-grid {
      gap: 1rem;
   }

   .department-title {
      font-size: 1.25rem;
   }

   .department-description {
      font-size: 0.875rem;
   }

   .department-tech {
      font-size: 0.75rem;
   }

   .tech-label {
      font-size: 0.875rem;
   }
}

@media (min-width: 768px) {
   .point-image {
      width: 6rem;
      margin-left: 12rem;
   }

   .department-grid {
      gap: 1rem;
      margin-left: 0.5rem;
   }
}

@media (min-width: 1024px) {
   .point-image {
      width: 6rem;
      margin-left: 14rem;
   }


   .department-info {
      margin-bottom: 2rem;
   }
}

@media (min-width: 1280px) {
   .point-image {
      width: 7rem;
      margin-left: 16rem;
   }
}

@media (min-width: 1536px) {
   .point-image {
      margin-left: 1rem;
   }
}

.education-section {
   font-family: 'Poppins', sans-serif;
   margin-right: 3rem;
   padding: 3rem 1rem;
}

/* Badge */
.resume-badge {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 0.5rem;
   width: max-content;
   margin: 3rem auto 0 auto;
   padding: 0.5rem 1rem;
   border-radius: 8px;
   background: rgba(0, 187, 255, 0.05);
   font-weight: 600;
   text-align: center;
}

.resume-badge svg {
   margin-top: 2px;
}

.resume-text {
   color: #00bbff;
   white-space: nowrap;
}

/* Title */
.resume-title-wrap {
   position: relative;
   margin-bottom: 2.5rem;
   text-align: center;
}

.resume-title {
   font-size: clamp(2.5rem, 4vw, 4rem);
   font-weight: bold;
   margin-top: 5rem;
   z-index: 10;
   position: relative;
   color: white;
}

/* Decorative Point */
.point-image {
   position: absolute;
   left: 48px;
   top: 50%;
   transform: translateY(-50%);
   width: 40px;
   opacity: 0.8;
}

/* Grid Layout */
.resume-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 2rem;
   max-width: 1240px;
   margin: 1rem auto 1rem auto;
   padding: 0 auto;
}

@media (min-width: 768px) {
   .resume-grid {
      grid-template-columns: 1fr 1fr;
   }
}

/* Education & Skills */
.education,
.skills {
   background: rgba(255, 255, 255, 0.03);
   padding: 2rem;
   border-radius: 12px;
   border: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-title {
   font-size: 1.75rem;
   font-weight: bold;
   color: #00bbff;
   margin-bottom: 1.5rem;
}

.edu-item {
   margin-bottom: 1rem;
}

.edu-item h3 {
   font-size: 1.2rem;
   font-weight: 600;
   color: white;
}

.edu-item p {
   color: #bbb;
   font-size: 1rem;
}

.skills-list {
   list-style: none;
   padding: 0;
}

.skills-list li {
   padding: 0.5rem 0;
   font-size: 1rem;
   color: #ddd;
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* ==========================
         SKILL SECTION
============================*/

.skills-container {
   margin-bottom: 2rem;
   margin-top: 3rem;

}

/* Skills Header */
.skills-header {
   position: relative;
   z-index: 10;
}

.skills-title {
   font-size: 1.75rem;
   font-weight: 700;
   margin: 0;
}

@media (min-width: 640px) {
   .skills-title {
      font-size: 1.875rem;
   }
}

.skills-title span {
   color: var(--primary-green);
}

/* Progress Bars Container */
.progress-bars {
   margin-top: 1.5rem;
}

/* Individual Progress Bar */
.progress-item {
   margin-bottom: 1rem;
}

.progress-info {
   display: flex;
   justify-content: space-between;
   margin: 0 1.5rem;
}

.skill-name {
   font-weight: 600;
   color: var(--text-gray);
}

.skill-percent {
   font-size: 0.75rem;
   color: var(--text-gray);
}

.progress-track {
   border: 2px solid var(--border-green);
   border-radius: 4px;
   height: 10px;
   margin: 0.5rem 1rem;
   display: flex;
   align-items: center;
}

.progress-bar {
   background-color: var(--progress-bg);
   height: 4px;
   border-radius: 9999px;
   margin-left: 2px;
   overflow: hidden;
}

.progress-fill {
   background-color: var(--primary-green);
   height: 4px;
   border-radius: 9999px;
}

/* ===============================

        -------- Knowledge Section --------
        
        =================================*/

.knowledge-container {
   margin-top: 3rem;
}

/* Knowledge Header */
.knowledge-header {
   position: relative;
   z-index: 10;
}

.knowledge-title {
   font-size: 1.75rem;
   font-weight: 700;
   margin: 0;
}

@media (min-width: 640px) {
   .knowledge-title {
      font-size: 1.875rem;
   }
}

/* Knowledge Tags */
.knowledge-tags {
   margin-top: 1.5rem;
}

.knowledge-tag {
   display: inline-block;
   background-color: var(--primary-green);
   color: var(--text-white);
   padding: 0.375rem 1rem;
   border-radius: 0.25rem;
   margin: 0.25rem;
   font-size: 0.875rem;
}

.certificates-container {
   margin: 5rem 3rem 8rem;
}

/* Certificates Header */
.certificates-header {
   position: relative;
   z-index: 1;
}

.certificates-title {
   font-size: 1.875rem;
   font-weight: 600;
   margin: 0;
}

/* Certificates Grid */
.certificates-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1rem;
   margin: 1rem 0.5rem;
}

@media (min-width: 768px) {
   .certificates-grid {
      grid-template-columns: repeat(2, 1fr);
      margin: 1rem 2rem;
      gap: 3rem;
   }
}

@media (min-width: 1024px) {
   .certificates-grid {
      margin: 1rem 5rem;
      gap: 3rem;
   }
}

/* Certificate Card */
.certificate-card {
   border: 1px solid var(--gray-700);
   border-radius: 0.5rem;
   display: flex;
   height: auto;
}

@media (min-width: 768px) {
   .certificate-card {
      height: 7rem;
   }
}

@media (min-width: 1024px) {
   .certificate-card {
      height: 10rem;
   }
}

.certificate-image {
   background-color: var(--gray-700);
   border-radius: 0.5rem 0 0 0.5rem;
   display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
}

.certificate-image img {
   padding: 0 0.5rem;
   width: 5rem;
}

@media (min-width: 640px) {
   .certificate-image img {
      width: 8rem;
   }
}

@media (min-width: 768px) {
   .certificate-image img {
      width: 7rem;
   }
}

@media (min-width: 1024px) {
   .certificate-image img {
      width: 9rem;
   }
}

@media (min-width: 1280px) {
   .certificate-image img {
      width: 10rem;
   }
}

.certificate-details {
   padding: 1rem 1.25rem;
   display: flex;
   flex-direction: column;
   margin: 0.25rem;
   gap: 0.25rem;
}

@media (min-width: 640px) {
   .certificate-details {
      gap: 0.5rem;
   }
}

@media (min-width: 1024px) {
   .certificate-details {
      gap: 0.5rem;
   }
}

.certificate-name {
   font-size: 1.5rem;
   font-weight: 600;
}

.certificate-site {
   font-size: 1rem;
   color: var(--gray-400);
}

.certificate-year {
   font-size: 0.75rem;
   color: var(--gray-500);
}


/* Technologies Header */
.technologies-header {
   position: relative;
   z-index: 10;
}

.technologies-title {
   font-size: 1.875rem;
   font-weight: 600;
   margin: 0;
}

/* Marquee Animation */
.marquee-container {
   width: 100%;
   overflow: hidden;
   white-space: nowrap;
   padding: 1rem 0;
   margin-top: 1rem;
   position: relative;
}

.marquee-track {
   display: inline-block;
   width: 240%;
}

.marquee-content {
   display: inline-flex;
   align-items: center;
   animation: marquee 20s linear infinite;
}

/* Keyframes for infinite scrolling */
@keyframes marquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* Tech Item */
.tech-item {
   flex-shrink: 0;
}

.tech-icon {
   height: 4rem;
   padding: 0 1rem;
}

@media (min-width: 1024px) {
   .tech-icon {
      padding: 0 2rem;
   }
}