/*
 MIT License
 Copyright (c) 2025 Juan David Arroyave Ramirez
 See LICENSE file in the project root for full license text.
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: linear-gradient(135deg, #fbfffe 0%, #fbfffe 100%);
    min-height: 100vh;
    margin: 0;
    line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}

nav ul li a:hover {
    color: #fff;
    background-color: rgb(89, 98, 102);
    border-radius: 5px;
}

.socials {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    margin-right: 0;
    margin-bottom: -0.5%;
    padding: 0;
    gap: 12px;
    opacity: 0.7;
}

.socials:hover {
    transform: scale(1);
    transition: color 0.3s, transform 0.3s;
}

.video-banner {
    position: relative;
    width: 100%;
    height: 25px;
    overflow: hidden;
    margin-top: 0.5%;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

main {
    padding: 20px;
}

ul {
    list-style-type: none;
}

/* Base Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
}

/* Carousel Wrapper */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    transform: translateY(0%) translateX(0%);
}


.carousel h2 {
    text-align: left;
    margin: 0 0 15px 0;
}

.carousel3{
    position: relative;
    width: 50%;
    margin-left: 25%;
    margin-right: 15%;
    overflow: hidden;
    transform: translateY(0%) translateX(0%);

}

/* Image Container */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 0;  /* Reset margin */
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.gallery-image, .gallery-image2, .gallery-image3 {
    min-width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    display: block;
}

.prev-btn, .next-btn, .prev-btn2, .next-btn2, .prev-btn3, .next-btn3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.prev-btn, .prev-btn2, .prev-btn3 {
    left: 10px;
}

.next-btn, .next-btn2, .next-btn3 {
    right: 10px;
}

.prev-btn:hover, .next-btn:hover,
.prev-btn2:hover, .next-btn2:hover
.prev-btn3:hover, .next-btn3:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.image-gallery2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: -5px;
    justify-items: center;
    margin-top: 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.gallery-image {
    width: 100px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-image:hover::before {
    opacity: 1;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .image-gallery2 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* More columns on smaller screens */
    }

    .carousel, .carousel2 {
        max-width: 100%;
        margin: 20px 0;
    }

    .prev-btn, .next-btn, .prev-btn2, .next-btn2 {
        font-size: 18px;
        padding: 8px;
    }

    .gallery-image:hover {
        transform: scale(1.02);
    }
}

/* Sections */
section {
    padding: 50px 20px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

section:last-of-type {
    border-bottom: none;
}

h1, h2 {
    color: #444;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
    cursor: pointer;
}

img:hover {
    transform: scale(1.05);
}

.projects-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    margin-top: 0%;  /* ✅ REMOVE THE -20% */
}


.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 20px;
    justify-items: center;
}

.video-item {
    position: relative;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1);
}

.project-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: 0.3s ease;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    transition: 0.3s ease;
    border-radius: 10px;
    pointer-events: none; /*This allows clicks to pass through hover */
}

.video-item:hover .video-overlay {
    opacity: 1; /* Show overlay on hover */
}

.video-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 1rem;
}
.video-overlay button, 
.video-overlay a {
    pointer-events: auto; /* Allows specific elements to be clickable */
}

@media (max-width: 768px) {
    .projects-section h2 {
        font-size: 1.5rem;
    }

    .video-item {
        max-width: 100%; /* Full width on smaller screens */
    }
}

/* Footer */
footer {
    background-color: #ccc;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Forms */
form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

form input, form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 767px) {
    nav ul {
        flex-direction: column;
        padding: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    section {
        padding: 30px 10px;
    }

    footer {
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .carousel, .carousel2 {
        max-width: 100%;
    }
}

/* Dropdown Button Styling */
.dropbtn {
    background-color: white;
    padding: 8px 12px;
    font-size: 15px;
    border: none;
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    margin-top: -1.3%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: auto;
    padding: 5px 0;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    z-index: 1;
}

.dropdown-content a {
    color: rgba(0, 0, 0, 0.527);
    padding: 6px 10px; /* Reduced padding for smaller link area */
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-style: italic;
}

.dropdown-content a:hover {
    color: #fff;
    background-color: rgb(89, 98, 102);
    border-radius: 2px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #fff;
    background-color: rgb(89, 98, 102);
    border-radius: 5px;
    box-shadow: none; /* Avoid box-shadow changes */
    outline: none; /* Prevent outline from appearing */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Internship2 */

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 20px;
    padding-left: 5%;
    font-size: 20px;
    
  }
  
  
  .active,.accordion:hover {
    background-color: #ccc;
    color: rgb(6, 32, 36);
    
  }
  
  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding-left: 3%;
  }
  
  .accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }

  .field_title{
    width: 800px;
    text-decoration: none;
    color: #02aa80;
    position: relative;
    justify-content: center;
    text-align: left;
    margin-left: 1%;
    margin-top: 2%;
    max-width: 100%; 
  }
  
  .field_subtitle{
    padding-left: 5%;
    width: 600px;
    color: #02694f;
    position: relative;
    margin-left: -3%;
    justify-content: left;
    text-align: justify;
    max-width: 100%; 
  }
  
  .field_topic{
    padding-left: 5%;
    width: 600px;
    color: #8b4300;
    position: relative;
    margin-left: -3%;
    justify-content: left;
    text-align: justify;
    max-width: 100%; 
  }
  
  .field_topic_paragraph{
    padding-left: 5%;
    width: 600px;
    color: #002e22;
    text-align: left;
    margin-top:0%;
    margin-left: -3%;
    justify-content: left;
    text-align: justify;
    position: relative;
    max-width: 100%; 
  }
  
  .mua_0 {
   text-align: center;
   margin-left:2%;
   margin-top: 0%;
   margin-right: 2%;
   margin-bottom: 0%;
   max-width: 100%; 
   
  } 
  
  .mua_1{
   width: 400px;
   height: 50px;
   margin-left:0%;
   margin-top: 0%;
   margin-right: 70%;
   margin-bottom: 0%;
   max-width: 100%; 
  
  }
  
  .mua_2{
   width: 400px;
   height: 200px;
   margin-top: 0%;
   margin-right: 70%;
   margin-bottom: 0%;
   max-width: 100%; 
   border-radius: 20px; 
   max-width: 100%;
   
  }
  
  .mua_info_01{
    background-color: #eefdf84b;
    position: relative;
  
  }
  .mua_info{
   background-color: #e0f5f53a;
   position: relative;
  }

  /* Internship3 */
  .lfrm_0 {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    flex: 1;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-end; 
    position: absolute;
    margin-left: 30%;
  }
  
  .lfrm_0 img {
    max-width: 100%;
    width: 550px;
    height: 350px;
    margin: 10px 0; /* Corrected shorthand margin */
    border-radius: 30px;
  }
  
  
  .lfrm_info p{
    margin-top: 0%;
    
   
  }
  
  .lfrm_info .field_subtitle{
    margin-top: 0%;
    
  }
  
  .lfrm_info  .field_topic_paragraph {
    margin-top: 0%;
    
  }
  
  .lfrm_info .field_topic{
    margin-top: 0%;
    
  }
  
  
  /* survey for CLEI 6-1 */
  .collage_2{
    width: 95%;
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 3%;
    display: grid;
    grid-template-columns: repeat(8, minmax(150px, 1fr));
    grid-gap: 1.5px;
    max-width: 100%; 
  }
  
  .collage_2 img{
    border-radius: 2.5px;
    cursor: pointer;
  }
  
  .collage_2 img:hover{
    transform: scale(1.5) rotate(0.5deg);
    box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
    border-radius: 5px;
    transition: 1s;
    background-color: antiquewhite;
    opacity: 90%;
  
  }
  
  .internship_1_title{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 15px;
    text-align: justify;
    color: #444;
    margin-left: 5%;
    max-width: 100%; 
  }
  
  .internship_1_video{
   margin-left: 5%;
   width: 560px;
   height: 315px;
   border: beige;
   border-width: 10px;
   border-radius: 15px;
   max-width: 100%; 
  }
  
  .internship_1_video_link{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 15px;
    text-align: justify;
    color: #444;
    max-width: 100%; 
    
  }
  
  .lfrm_1{
    width: 600px ;
    height: 400px;
    box-sizing: border-box;
    border-radius: 20px;
    max-width: 100%; 
  }
  
  .lfrm_2{
    width: 600px ;
    height: 450px;
    box-sizing: border-box;
    border-radius: 20px;
    max-width: 100%; 
  }
  
  /* ESTRUCTURA ORGANIZACIONAL IMG */
  
  .estructura_1{
    margin-top: 20%;
    max-width: 100%; 
    max-width: 100%; 
    }
  
    .field_subtitle_horizonte{
      padding-left: 0%;
      margin-left: 2%;
      margin-top: 2%;
      width: 600px;
      color: #02694f;
      position: sticky;
      max-width: 100%; 
      text-align: left;
    }
  
    .organigrama{
      width: 600px ;
      height: 450px;
      box-sizing: border-box;
      border-radius: 20px;
      max-width: 100%; 
    }
  
    .organigrama:hover{
      box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
      border-radius: 30px;
      transform: scale(1.2) rotate(0deg) ;
      transition: 1.5s;
    
    }
  
    .malla_1{
      margin-top: 5%;
      margin-left: 25%;
      margin-right: 1%;
      max-width: 100%; 
      
    }
  
    .malla_2{
      margin-bottom: -25%;
      margin-right: 1%;
      height: 480px;
      border-radius: 10px;
      max-width: 100%; 
  
    }
  
    .collage_3{
      width: 90%;
      margin-right: 5%;
      margin-left: 5%;
      margin-top: 15%;
      display: grid;
      grid-template-columns: repeat(1, minmax(150px, 1fr));
      grid-gap: 0%;
      
    }
  
    
    .collage_3 img{
      border-radius: 20px;
      cursor: pointer;
      width: 280px;
      height: 305px;
  
      
     }
    
    .collage_3 img:hover{
      transform: scale(1.0) rotate(0.5deg);
      box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
      border-radius: 5px;
      transition: 0.8s;
      background-color: antiquewhite;
      opacity: 90%;
    
    }
  
    .collage_4{
      width: 90%;
      margin-right: 2%;
      margin-left: 2%;
      margin-top: -70%;
      display: grid;
      grid-template-columns: repeat(1, minmax(150px, 1fr));
      grid-gap: 2%;
      max-width: 100%; 
    }
  
    
    .collage_4 img{
      border-radius: 25px;
      cursor: pointer;
      width: 400px;
      height: 300px;
      max-width: 100%; 
     }
    
    .collage_4 img:hover{
      transform: scale(1.0) rotate(0.5deg);
      box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
      border-radius: 5px;
      transition: 0.8s;
      background-color: antiquewhite;
      opacity: 90%;
    
    }

/* Gallery (photos) */

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
  
.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.video_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin-left: 3%;   
}

.video-column {
    flex: 1 1 calc(33.33% - 10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-column video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.video-column:hover::after {
    content: 'Watch';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 5px;
}

.video-column:hover video {
    filter: brightness(1.2); /* Dim video on hover for the "Watch" effect */
}


@media (max-width: 768px) {
    .video-column {
        flex: 1 1 calc(50% - 10px); /* Two videos per row */
    }
}

@media (max-width: 480px) {
    .video-column {
        flex: 1 1 100%; /* One video per row */
    }
}
  @media screen and (max-width: 800px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  @media screen and (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
  }

/* footer contact */

.contact-section {
    padding: 30px;
    background-color: #f7f7f7;  /* Light gray background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

/* Form Heading */
.contact-section h2 {
    font-size: 28px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Label Styling */
.contact-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

/* Input and Textarea Styling */
.contact-section input[type="text"],
.contact-section input[type="tel"],
.contact-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Input and Textarea Focus Styling */
.contact-section input[type="text"]:focus,
.contact-section input[type="tel"]:focus,
.contact-section textarea:focus {
    border-color: #007bff;  /* Blue border on focus */
    outline: none;
}

/* Button Styling */
.contact-section button {
    background-color: #28a745; /* Green button */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.contact-section button:hover {
    background-color: #218838;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 600px) {
    .contact-section {
        padding: 20px;
    }
    
    .contact-section h2 {
        font-size: 24px;
    }

    .contact-section input[type="text"],
    .contact-section input[type="tel"],
    .contact-section textarea {
        font-size: 14px;
    }

    .contact-section button {
        font-size: 14px;
    }
}
/* Project Links Styling */

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-links a:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.github-link:hover {
    background-color: #24292e !important;
    color: #ffffff !important;
    border-color: #24292e;
}

.link-icon {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-links a {
        width: 100%;
        justify-content: center;
    }
}

.project-video {
    display: none;
}

.video-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/robot-8563416_640.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    position: relative;
    opacity: 90%;
}

.video-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: static;
    background: rgba(0, 0, 0, 0.6);
}

#expertise {
    list-style-type: none;
    padding-left: 0;
    margin-top: -2%;
}

.education-section{
    margin-top: -3%;
    margin-bottom: 2%;
}

/* ========================================
   MODERN HERO SECTION STYLING
   ======================================== */

.hero-section {
    background-image: 
        linear-gradient(135deg, rgba(253, 255, 252, 0.85) 0%, rgba(250, 255, 255, 0.85) 100%),
        url('images/concept-3253681_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 20px;
    text-align: center;
    color: rgb(255, 255, 255);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-profile {
    margin-bottom: 30px;
}

.profile-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(2, 110, 101, 0.048);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(189, 192, 150, 0.4);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.26);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 10px 0;
    opacity: 0.95;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.726);
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 20px auto;
    max-width: 700px;
    opacity: 0.9;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.726);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #dab204 0%, #f5de5b 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #718096;
    margin-top: 10px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: 60px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: center;
}

/* ========================================
   TECH STACK / SKILLS GRID
   ======================================== */

.tech-stack-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #058574;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
}

.skill-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-items li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 25px;
}

.skill-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #66eadf;
    font-weight: bold;
}

/* ========================================
   EDUCATION SECTION (MODERN)
   ======================================== */

.education-section-modern {
    padding: 60px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.education-card {
    background: linear-gradient(135deg, #032b29 0%, #05816d 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.edu-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.education-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    font-weight: 600;
}

.edu-institution {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.edu-institution a {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
}

.edu-institution a:hover {
    opacity: 1;
}

/* ========================================
   PROJECTS SECTION ENHANCEMENTS
   ======================================== */

.projects-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    margin-top: 0;
}

.projects-section .section-header {
    margin-bottom: 50px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .profile-avatar {
        width: 140px;
        height: 140px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}
