@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------- FLOWCHART STYLE -----------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

.flowchart {
    width: 90%;
    max-width: 90%;
    margin: 0 auto; /* center the flowchart */
}

/* The overall clipped shape */
.step {
    position: relative;
    display: flex;          /* so .step-left and .step-right are side by side */
    align-items: center;    /* vertically center the content within the step */
    margin: 20px 0;
    color: white;
    
    padding: 0;  

    clip-path: polygon(
        8% 30%, 16% 0, 100% 0, 100% 70%, 
        15% 70%, 8% 100%, 0% 70%, 0 0
    );
}

/* Left container for the heading */
.step-left {
    flex: 0 0 auto;   /* don’t let it shrink or grow */
    width: 200px;     /* allocate enough space for your heading */
    padding: 40px;    /* spacing around the heading */
}

/* Right container for main text */
.step-right {
    flex: 1 1 auto;   /* let it expand to fill remaining space */
    padding: 60px;    /* spacing around the text */
    margin-left: -100px;
    margin-top: -30px;
}

/* Headings inside .step-left */
.step-left h3 {
    margin: 0;        /* remove default h3 top/bottom margin */
}

/* Example step colors */
.step1 {
    background-color: #009688; /* Teal */
}
.step2 {
    background-color: #43a047; /* Green */
}
.step3 {
    background-color: #0288d1; /* Blue */
}
.step4 {
    background-color: #6a1b9a; /* Purple */
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------- IMAGE STYLE -------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

.wrapper {
  display: flex;            /* enables flexible layout */
  flex-direction: row;      /* positions children horizontally */
  align-items: flex-start;  /* align items at the top if they differ in height */
  gap: 20px;                /* spacing between text box and image */
  max-width: 1200px;         /* optional: container width */
  margin: 0 auto;           /* optional: center the whole wrapper horizontally */
  margin-bottom: 2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* The text box */
.text-box {
  width: 600px;         /* fixed width, or use a percentage if you prefer responsive */
  padding: 20px;        /* internal spacing */
}

/* The image container (optional wrapper) */
.image-container {
  width: 600px;         /* or adjust to your needs */
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Make the image fill its container while preserving aspect ratio */
.image-container img {
  width: 100%; 
  height: auto; 
  object-fit: cover;     /* keeps the image nicely scaled */
  cursor: pointer;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------ IMAGE STYLE 2 ------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* 1) Wrapper to contain floated elements */
.text-with-diagonal {
    overflow: auto; /* Keeps the floated image within bounds */
    max-width: 100%; /* Ensures the container doesn’t exceed its parent */
    padding: 2em; /* Optional: Adds some breathing room */
    margin-bottom: 2em;
}

.text-with-diagonal p {
    margin-bottom: 1.5em; /* More space between paragraphs */
}

/* 2) Float the image container to the right */
.diagonal-image-container {
    float: right;
    width: 400px;         /* Adjust as needed */
    margin-left: 1em;     /* Space between image and text */
    margin-bottom: 1em;   /* Spacing below the container */
    position: relative;
    overflow: hidden;     /* Hides anything outside the clip */
}

/* 3) Style the image with a right-side lifted 3D tilt and edge blur */
.diagonal-image {
    display: block;
    width: 100%;
    height: auto;

    /* A) Right-side lifted 3D tilt (unchanged, top-right higher than top-left) */
    clip-path: polygon(
        0% 10%, 
        100% 0%, 
        100% 100%, 
        0% 90%
    );

    /* B) Blur/fade all edges (unchanged) */
    box-shadow: inset 0 0 15px 10px rgba(0, 0, 0, 0.5);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    ), linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    ), linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-composite: intersect;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------ IMAGE STYLE 3 ------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* 1) Wrapper to contain floated elements */
.text-with-diagonal-left {
    overflow: auto; /* Keeps the floated image within bounds */
    max-width: 100%; /* Ensures the container doesn’t exceed its parent */
    padding: 2em; /* Optional: Adds some breathing room */
    margin-bottom: 2em;
}

.text-with-diagonal-left p {
    margin-bottom: 6em; /* More space between paragraphs */
}

/* 2) Float the image container to the left */
.diagonal-image-container-left {
    float: left;          /* Image on the left */
    width: 400px;         /* Adjust as needed */
    margin-right: 1em;    /* Space between image and text */
    margin-bottom: 1em;   /* Spacing below the container */
    position: relative;
    overflow: hidden;     /* Hides anything outside the clip */
}

/* 3) Style the image with a left-side lifted 3D tilt and edge blur */
.diagonal-image-left {
    display: block;
    width: 100%;
    height: auto;

    /* A) Left-side lifted 3D tilt (mirroring the first image’s right-side lift) */
    clip-path: polygon(
        0% 0%,      /* Top-left corner highest */
        100% 10%,   /* Top-right corner slightly lower */
        100% 90%,   /* Bottom-right corner lower than bottom-left */
        0% 100%     /* Bottom-left corner */
    );

    /* Enhance 3D effect with perspective */
    transform: perspective(500px) rotateY(-5deg); /* Slight rotation to enhance depth */

    /* B) Blur/fade all edges (unchanged) */
    box-shadow: inset 0 0 15px 10px rgba(0, 0, 0, 0.5);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    ), linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    ), linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-composite: intersect;
}

/* Optional: Media query for responsive design */
@media (max-width: 600px) {
    .diagonal-image-container-left {
        float: none; /* Remove float on small screens */
        margin: 0 auto 1em; /* Center the image */
        width: 100%; /* Full width on small screens */
        max-width: 300px; /* Keep the image from getting too large */
    }

    .text-with-diagonal-left {
        text-align: center; /* Center text and button on small screens */
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------- MODAL OVERLAY STYLES ---------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

.modal-overlay {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  /* semi-transparent background w/ optional blur */
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  
  /* center contents */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The expanded image inside the modal */
.modal-image {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px; /* round edges */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Close Button (the "×") */
.close-btn {
  position: absolute;
  top: 30px; 
  right: 45px;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
.close-btn:hover {
  color: #ddd;
}

#imgModal {
  display: none;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------- TABLE STYLE -------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

.table {
  border-collapse: collapse; 
  width: 100%;          /* Make the table fill the container */
  margin-bottom: 1rem;  /* Some spacing below table */
  font-family: sans-serif;
  font-size: 14px;
}
    
.caption {
  text-align: left;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Table header styling */
.thead th {
  background-color: #800000; /* Deep red or match your theme */
  color: #fff;
  padding: 0.6rem;
  text-align: left;
}

/* Body cells */
.tbody td {
  padding: 0.6rem;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
}

/* Optional zebra striping */
.tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* A small note under table, if desired */
.table-note {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------- DESCRIPTION STYLE ----------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Container for everything */
.map-instructions {
  max-width: 1200px;
  margin: 0 auto;

}

.map-instructions h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  text-align: center;
}

.map-instructions p {
  margin-bottom: 20px;
}

/* Each instruction step */
.instruction-step {
  display: flex;
  margin-bottom: 30px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.instruction-step img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 0; /* Remove/adjust large margin so it can be centered */
  border-radius: 4px;
}

.instruction-step img.img2 {
  width: 300px;
  height: auto;
  object-fit: cover;
  margin-right: 0; /* or some smaller margin */
  border-radius: 8px;
}

.instruction-text {
  padding: 10px;
  flex: 1;
}

.instruction-text h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #444;
}

.instruction-text p {
  margin-bottom: 8px;
}

/* Slight styling for the final note or summary paragraph */
.final-note {
  background: #f1f1f1;
  padding: 15px;
  border-radius: 6px;
  font-style: italic;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------ LOADING GEARS ------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------*/

#loadingOverlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    display: none; /* hidden by default */
    background: rgba(255,255,255,0.7);
    z-index: 10000; /* Increased to ensure it’s above other elements */
    /* center the image */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#loadingOverlay #loadingText {
    font-size: 1.2em; /* Adjust font size as needed */
    font-weight: bold; /* Optional: Make text bold */
    color: #333; /* Adjust color to match your design */
    margin-bottom: 10px; /* Space between text and GIF */
    text-align: center;
}

#loadingOverlay img {
    width: 100px; /* Adjust size as needed */
    height: 100px;
}
