/* ===========================================
   CORE STYLES FOR ALL PAGES
=========================================== */
html, body {
    min-height: 100%; 
    overflow-x: hidden; 
}

/* 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; 
    margin-bottom: 60px; 
    display: flex;
    flex-wrap: wrap; 
    gap: 100px; 
    justify-content: center; 
    align-items: flex-start; 
    width: 60%; 
    margin: 0 auto;
    margin-top: -100px;
}

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

/* Button styles */
.window-btn {
    align-self: flex-start; 
    padding: 10px 20px; 
    background-color: #f0f0f0; 
    border: 1px solid #000;
    cursor: pointer;
    transition: background-color 0.3s;
}

.window-btn:hover {
    background-color: silver; 
}

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

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

  /* Add a hover effect on links */
  .dropdown-content a:hover {
    background-color: silver;  
    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 window boxes */
.box-window {
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
    border: 1px solid #000;
    flex: 1 1 0; 
}

/* Responsive image styling */
.responsive-image {
    width: 100%; 
    height: auto; 
    max-width: 100%; 
    border: 0.1px solid #000;
}

/* Logo image */
.logo-image {
    max-width: 600px; 
    height: auto;
    margin-top: -60px; 
}

.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); 
    width: 100%; 
    max-width: 500px;
    min-width: 300px;
    gap: 20px; 
    line-height: 1.5;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
   
}


.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}



/* About text container */
.about-text-container {
    flex: 1 1 100%;
    max-width: 800px;
    width: calc(100% - 40px);
    margin: 0;
    padding: 20px;
    text-align: left;
    line-height: 2;
    box-sizing: border-box;
    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;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

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

   

    .about-text-container {
        width: 100%;
        max-width: 100%;
    }
}

/* 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;
    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;
  }
  
  .tree-view ul li {
    margin-bottom: 10px;
    position: relative;
    font-size: medium;
    font-family: 'Inter', sans-serif !important;
  }
  
  /* 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;
  }

 

.tree-item {
    display: flex;
    flex-wrap: wrap; 
    align-items: flex-start;
    gap: 20px; 
    margin-top: 10px;
}

/* Make images larger and responsive */
.tree-item-image {
    width: 100%; 
    max-width: 300px; 
    height: auto; 
    flex-shrink: 0; 
    border: 1px solid #000; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

/* Ensure text takes up remaining space */
.tree-item ul {
    flex: 1; 
    margin: 0; 
    padding: 0; 
    list-style: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tree-item {
        flex-direction: column; 
        align-items: center; 
    }

    .tree-item-image {
        max-width: 90%; 
        margin-bottom: 10px; 
    }
}

/* Optional: For very small screens (max-width: 480px) */
@media (max-width: 480px) {
    .tree-item-image {
        max-width: 100%; 
    }

    .tree-item ul {
        text-align: center; 
    }
}

  /* 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;
    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 {

    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    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; 
    }
}

@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 {
    /* font-family: 'Inter', sans-serif !important; */

    font-family: "Pixelated MS Sans Serif", Arial;
}


/* Swiper Container */
.swiper-container {
    width: 80%; 
    max-width: 45%; 
    height: auto;
    margin: 200px auto; 
    margin-top: -100px;
    overflow: hidden; 
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Wrapper */
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out; 
}

/* Swiper Slide */
.swiper-slide {
    flex: 0 0 100%;
    text-align: center;
    box-sizing: border-box; 
}

/* Slide Images */
.swiper-slide img {
    width: 80%; 
    height: auto; 
    margin: 0 auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .swiper-container {
        width: 90%; 
        margin-top: 100px auto;
    }

    .swiper-slide img {
        width: 95%; 
    }
}


/* POSTERS */

/* Swiper Posters Container */
.swiper-posters {
    width:80%; 
    max-width: 45%; 
    height: auto;
    margin: 200px auto; 
    margin-top: -100px;
    overflow: hidden; 
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Posters Wrapper */
.swiper-posters .swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

/* Swiper Posters Slides */
.swiper-posters .swiper-slide img {
    width: 90%; 
    height: auto; 
    margin: 0 auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .swiper-posters {
        width: 90%; 
        margin-top: 100px auto;
    }

    .swiper-slide img {
        width: 95%;
    }
}


body, h1, h2, h3, p, div, span, a {
    font-family: "Pixelated MS Sans Serif", Arial;

}
