/* ------------------------------------------- */
/* ---------- PHILOSOPHY PAGE ---------------- */
/* ------------------------------------------- */

/* ---------------- MOBILE ADJUSTMENTS ---------------- */
@media screen and (max-width: 768px) {

  /* Main container */
  .main-div-philosophy {
    width: 95% !important;       /* Almost full width */
    margin: 0 auto !important;   /* Center horizontally */
    padding: 0 10px;             /* Add small padding */
  }

  /* Philosophy block */
  .philo-block {
    width: 100% !important;
    margin: 20px auto !important; /* Centered vertically and horizontally */
    padding: 20px !important;
    margin-left: 0 !important;
    text-align: center;           /* Center text inside block */
  }

  /* Title section */
  .div_philo {
    flex-direction: column !important;  /* Stack title and image vertically */
    align-items: center !important;     /* Center children */
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .philo-left-title {
    margin: 0 auto !important;
    white-space: normal !important;     /* Allow title to wrap */
    margin-bottom: 15px !important;
  }

  /* Paragraphs below image */
  .philo-paragraph-below-image {
    margin: 0 auto !important;          /* Center on mobile */
    width: 90% !important;              /* Constrain width */
    text-align: center !important;      /* Center text horizontally */
  }

  /* Image dividers */
  .missions_svg-divider,
  .values_svg-divider {
    width: 90% !important;             /* Make image responsive */
    margin-left: 0 !important;         /* Remove fixed margin */
    margin-bottom: 30px !important;
  }

  /* Subsections */
  .philo-subsection {
    margin-left: 0 !important;         /* Remove indentation */
    max-width: 100% !important;
    text-align: center !important;     /* Center text */
  }

  .philo-subsection p {
    margin-left: 0 !important;         /* Remove fixed left margin */
    text-align: center !important;     /* Center paragraph */
  }
}


.main-div-philosophy {
    display: flex;
    flex-direction: column;     /* Stack the content vertically */
    align-items: center;        /* Center the container horizontally */
    justify-content: flex-start; /* Align content to the top */
    width: 80%;                  /* Set width of the centered container */
    margin: 0 auto;              /* Center the container horizontally */
    color: #023367;
    background-color: #ffffff;

    
}


.philo-block {
    background-color: #7ea2cf17;  /* Same soft background */
    padding: 30px;
    border-radius: 12px;
    margin-left: 20px;           /* Match indentation from RL-block */
    margin-top: 30px;
    margin-bottom: 50px;
    max-width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);  /* Optional subtle shadow */
}

.div_philo {
    display: flex;
    align-items: center;        /* Vertically center children (your title) */
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 50px;
}

.philo-left-title {
    margin: 0;
    white-space: nowrap;
    margin-right: 20px;
    display: flex;
    align-items: center;        /* Optional: center content inside the title */
}
.philo-left-title {
    margin:0;
    white-space: nowrap;               /* Prevent text from breaking into multiple lines */
    flex-grow: 0;                      /* Prevent title from growing */
    margin-right: 20px;                /* Space between title and image */
    /* text-decoration: underline; */
  }
  .philo-paragraph-below-image {
    margin-left: 250px; /* Align with image start — adjust as needed */
    max-width: 75%;
    color: #023367;
}
/* .missions_svg-divider {
    vertical-align: middle;
    display: inline-block;
} */
/* The image divider */
.missions_svg-divider {
    vertical-align: middle;
    display: inline-block;
    width: 70%;                         /* Set width as a percentage of the container's width */
    height: auto;                       /* Maintain the aspect ratio */
    max-width: 100%;                    /* Ensure the image doesn't stretch beyond the container */
    margin-left: 20px;                  /* Fixed margin with the title */
    margin-bottom: 50px;
    transition: width 0.3s ease-in-out; /* Smooth transition for width on resize */
}

/* The image divider */
.values_svg-divider {
    width: 70%;                         /* Set width as a percentage of the container's width */
    height: auto;                       /* Maintain the aspect ratio */
    max-width: 100%;                    /* Ensure the image doesn't stretch beyond the container */
    margin-left: 100px;                  /* Fixed margin with the title */
    margin-bottom: 100px;
    transition: width 0.3s ease-in-out; /* Smooth transition for width on resize */
}
.philo-align-left {
    margin-left: 100px;
}
  
.philo-subsection {
    align-self: flex-start;     /* Align everything to the left */
    margin-left: 140px;         /* Uniform indentation */
    margin-top: 20px;
    max-width: 100%;
}

.philo-subsection h3 {
    margin-bottom: 5px;
    color: #023367;
    font-weight: 600;
}

.philo-subsection p {
    margin-left: 50px;
    color: #023367;
}