/* ===========================================
   CORE STYLES FOR ALL PAGES
=========================================== */

html, body {
    min-height: 100%; /* Allow the page to expand */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Main body layout */
.custom-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: rgb(243, 164, 218);
    margin-top: 50px; 
    padding-bottom: 60px; 
    min-height: calc(100vh - 110px); 
}




/* ===========================================
   HEADER AND FOOTER
=========================================== */

/* Fixed header styles */
.custom-header {
    width: 100%;
    border: 1px solid #000;
    max-width: none;
    height: 50px; 
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* Fixed footer styles */
.footer-custom {
    width: 100%;
    text-align: center;
    max-width: none;
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 1000;
}

/* ===========================================
   MAIN CONTENT AND CONTAINERS
=========================================== */

/* Content container (adjusts for fixed header/footer) */
.container {
    margin-top: 60px; /* Space for the header */
    margin-bottom: 60px; /* Space for the footer */
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 100px; /* Space between sections */
    justify-content: center; /* Center all content */
    align-items: flex-start; /* Align items to the top */
    width: 60%; /* Limit overall container width */
    margin: 0 auto; /* Center the container horizontally */
    margin-top: -100px;
}

/* ===========================================
   BUTTONS AND DROPDOWN MENU
=========================================== */

/* Button styles */
.window-btn {
    align-self: flex-start; /* Align button to the left */
    padding: 10px 20px; /* Spacing inside button */
    background-color: #f0f0f0; /* Light gray background */
    border: 1px solid #000; /* Button border */
    cursor: pointer;
    transition: background-color 0.3s;
}

.window-btn:hover {
    background-color: silver; /* Hover effect */
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown links */
.dropdown-content a {
    color: rgb(53, 53, 53); /* Dark text color */
    text-decoration: none;
    display: block;
    padding: 10px 20px; /* Spacing inside links */
    background-color: rgb(232, 229, 229); /* Light gray background */
    cursor: pointer;
    border-color: lightgray;
    border-style: outset;
    /* font-weight: bold; */
}

  /* Add a hover effect on links */
  .dropdown-content a:hover {
    background-color: silver;  /* Similar to Windows 98 highlight color */
    transition: background-color 0.3s;
    color: rgb(0, 0, 0);
    border-style: outset;
    border-color: #999898;
    font-weight: bold;
  }

/* Dropdown hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: silver;
    min-width: 300px;
    box-shadow: 0px 1px 1px 1px rgba(106, 106, 106, 0.2);
    z-index: 1;
    border-style: outset;
}

/* Show dropdown when triggered */
.show {
    display: block;
}

/* Menu icon styling */
.menu-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

/* ===========================================
   ELEMENT STYLING
=========================================== */

/* Styling for each "window" box */
.box-window {
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid #000;
    flex: 1 1 0; /* Boxes take equal width */
}

/* Responsive image styling */
.responsive-image {
    width: 100%; /* Image takes up full width of container */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't exceed its container */
    border: 0.1px solid #000;
}

/* Logo image */
.logo-image {
    max-width: 600px; /* Maximum size for logo */
    height: auto;
    margin-top: -60px; /* Adjust for larger screens */
}

.logo {
    text-align: center;
    margin: 10px 0;
}

/* ===========================================
   ABOUT PAGE STYLING
=========================================== */

.about-content-group {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 calc(50% - 100px); /* Adjust for large gap */
    width: 100%; /* Full width on small screens */
    max-width: 500px;
    min-width: 300px;
    gap: 20px; /* Space between window and text */
    line-height: 1.5;
    /* font: 'Inter', sans-serif; */
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
    /* margin-top: -100px; */
   
}


.about-container {
    display: flex;
    flex-wrap: wrap;
    /* Allow children to wrap */
    justify-content: center;
    /* Center align the entire section */
    align-items: flex-start;
    /* Align items to the top */
    gap: 100px;
    /* Add spacing between rows */
    width: 100%;
    /* Full-width container */
    max-width: 1200px;
    /* Optional: Limit container width */
    margin: 0 auto;
    /* Center horizontally */
}

/* About text container */
.about-text-container {
    flex: 1 1 100%;
    /* Full row under the window boxes */
    max-width: 800px;
    /* Matches the combined width of the boxes */
    width: calc(100% - 40px);
    /* Prevent spilling beyond container with padding */
    margin: 0;
    /* Reset margins */
    padding: 20px;
    /* Add internal spacing */
    text-align: left;
    /* Left-align text */
    /* Ensure readability */
    line-height: 2;
    box-sizing: border-box;
    /* font: 'Inter', sans-serif; */
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
}

/* Title styling for "About Me" */
.about-title {
    margin: 0 0 10px 0;
    /* Space below title */
    font-size: 24px;
    /* Adjust title size */
    font-weight: bold;
    /* Emphasize title */
    text-align: left;
    /* Left-align title */
}

/* For smaller screens */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        /* Stack all elements vertically */
        gap: 100px;
        /* Reduce spacing */
    }

   

    .about-text-container {
        width: 100%;
        /* Full width of the parent container */
        max-width: 100%;
        /* Match window box width */
    }
}

/* For very small screens (max-width: 480px) */

.tree-view p {

    font-size: large;
    line-height: 2;
    
    }
    
    .tree-view {
    
        padding-bottom: 300px;
        }
        
    
    ul.tree-view {
        margin-top: -50px;
        padding: 10px;
    
    }

/* General styling */
.tree-view {
    line-height: 1.6;
    color: #000000;
    /* max-width: 600px; */
    margin: 20px auto;
  }
  
  .tree-view p {
    text-align: justify;
    padding: 10px;
    margin-top: -5px;
    font-family: 'Inter', sans-serif !important;
  }
  
  .tree-view h4 {
    margin-top: 20px;
    font-size: 1.2rem;
    text-shadow: 0.1px 0.1px .5px rgb(0, 0, 0);
    color: #000000;
    margin-left: 20px;
  }
  
  /* Title styling */
  .section-title {
    font-weight: bold;
    font-size: 1.1rem;
    color:rgb(254 115 227);
    display: inline-block;
    margin-bottom: 5px;
  }
  
  /* Nested list styling */
  .tree-view ul {
    list-style: none;
    padding-left: 20px;
    font-family: 'Inter', sans-serif !important;
  }
  
  .tree-view ul li {
    margin-bottom: 10px;
    position: relative;
    font-size: medium;
  }
  
  /* Bullet points */
  .tree-view ul li:before {
    content: "•";
    position: absolute;
    left: -15px;
    top: 2px;
  }
  
  /* Nested content indent */
  .tree-view ul ul {
    padding-left: 20px;
    list-style: disc;
  }
  
  .tree-view ul ul li {
    margin-bottom: 5px;
    position: relative;
    font-size: medium;
    font-weight:normal;
  }
  
  .tree-view ul ul li:before {
    content: " ";
  }

  /* General styles */

  
  .tree-view h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  /* Collapsible sections */
  
  .collapsible-title {
    background-color: #ddd;
    color: #ff73e5;
    cursor: pointer;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    width: 100%;
    text-align: left;
    text-shadow: 1px 1px .1px rgb(0, 0, 0);
  }
  
  .collapsible-title:hover {
    background-color: #ccc;
  }
  
  .collapsible-content {
    display: none;
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
  }
  
  /* Progress Indicator */
  .progress-indicator {
    margin: 10px 0;
    border: none;
    border-radius: 0;
    box-shadow: inset -2px -2px #dfdfdf, inset 2px 2px grey;
    box-sizing: border-box;
    padding: 4px;
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .progress-indicator-bar {
    height: 20px;
    display: block;
    /* border-radius: 4px; */
    display: block;
    background-color: transparent;
    background-image: linear-gradient(90deg, #33ab39 16px, transparent 0 2px);
    background-repeat: repeat;
    background-size: 18px 100%;
    
  }

  .percentage {

    font-weight: bolder;
    font-size: larger;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
  }
  
  /* Indicator styles */
.indicator {
    float: right;
    font-size: 1rem;
    rotate: 90deg;
   
  }
  
  .collapsible-title[aria-expanded="true"] .indicator {
    transform: rotate(-90deg); /* Flip arrow for expanded state */
  }
  

  .collapsible-title:focus {
    outline: 1px dotted #000000;
  }
  
  
/* ===========================================
  VIEW PROJECTS PAGE STYLING
=========================================== */

.container-2 {
    margin-top: 60px; 
    margin-bottom: 60px; 
    display: flex;
    flex-wrap: wrap; 
    gap: 100px; 
    justify-content: center;  
    align-items: flex-start; 
    width: 60%; 
    margin: 0 auto; 
    margin-top: 80px;
}

.projects-title {

    margin-top: -300px;
}





/* ===========================================
   RESPONSIVE ADJUSTMENTS (MEDIA QUERIES)
=========================================== */
/* For very small screens (max-width: 480px) */
@media (max-width: 480px) {
    .about-container {
        flex-direction: column; 
        width: 100%; 
        padding: 0 20px; 
        align-items: center;
        justify-content: flex-start; 
        box-sizing: border-box;
        margin-top: 20px; 
    }

    .about-text-container {
        width: 90%; 
        max-width: 800px; 
        text-align: center;
}
}

/* For medium screens (max-width: 767px) */
@media (max-width: 767px) {
    .about-container {
        flex-direction: column; 
        width: 100%; 
        padding: 0 30px; 
        align-items: center; 
        justify-content: flex-start;
        box-sizing: border-box;
        margin-top: -80px; 
        gap: 20px;
    }

    .about-text-container {
        width: 90%; 
        max-width: 700px;
        text-align: left;
    }


        
    
    ul.tree-view {
        margin-top: 30px;
        padding: 10px;
        margin-bottom: 80px;
    
    }
}

/* For larger screens (min-width: 768px) */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row; 
        width: 100%; 
        padding: 10px 50px; 
        align-items: flex-start; 
        justify-content: center; 
        box-sizing: border-box;
        margin-top: -110px; 
    }

    .about-text-container {
        width: 100%;
        max-width: 800px; 
        text-align: left; 
        font-family: 'Inter', sans-serif !important;
    }
}

@media (min-width: 995px) {
    .about-text-container {
        width: 100%;
        max-width: 1000px; 
        text-align: left; 
    }
}


/* Large screens (768px and up) */
@media (min-width: 768px) {
    .container {
        flex-direction: row; 
        width: fit-content;
        padding: 0 50px; 
        justify-content: center;
        box-sizing: border-box;
    }

    .container-2 {
        flex-direction: row; 
        width: fit-content;
        padding: 0 50px; 
        justify-content: center;
        box-sizing: border-box;
    }

    .box-window {
        max-width: 500px; 
    }
}

/* Very large screens (1923px and up) */
@media (min-width: 1160px) {
  

    .container-2 {
        flex-direction: row; 
        width: fit-content;
        padding: 0 50px; 
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Medium screens (less than 1349px) */
@media (min-width: 1156px) {


    .about-text-container {
        width: 100%;
        max-width: 1100px; 
        text-align: left; 
    }
}

/* Small screens (less than 768px) */
@media (max-width: 768px) {
    .logo-image {
        max-width: 450px; 
        margin-bottom: auto;
        padding-bottom: 30px;
    }

    .text-container {
        font-size: 14px; 
    }

    .content-group {
        max-width: 100%; 
        flex: 1 1 100%; 
    }

    .container {
        gap: 50px; 
    }

    .about-title {

        font-size: x-large;
        margin-left: -950px;
        margin: 0;
       
    }
}


.content-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 calc(50% - 100px); 
    width: 100%; 
    max-width: 500px;
    min-width: 300px;
    gap: 20px; 
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 50px;
}

body, h1, h2, h3, p, div, span, a {
    /* font-family: 'Inter', sans-serif !important; */
    font-family: "Pixelated MS Sans Serif", Arial;
}

