/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */
html {
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    font-family: 'Open Sans', sans-serif; /* Your preferred body font */
    font-size: 16px; /* Base font size for desktop */
    line-height: 1.6;
    color: #4A4A4A; /* Default text color for body content */
    background-color: #F8F8F8; /* Light background for the overall page */
    -webkit-font-smoothing: antialiased; /* Better font rendering */
    -moz-osx-font-smoothing: grayscale; /* Better font rendering */
    text-rendering: optimizeLegibility;
}

*, *::before, *::after {
    box-sizing: border-box; /* Standard box model */
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
    margin-top: 0;
    margin-bottom: 1em;
}

ul, ol {
    padding-left: 20px;
}

a {
    color: #5B3D7B; /* Deep Purple for general links */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #E151AF; /* Fuschia Pink on hover */
    text-decoration: underline;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
#wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */
#main-nav {
    background-color: #F8F8F8;
    border-bottom: 1px solid #E0E0E0;
    padding: 10px 0;
    z-index: 1000;
    position: sticky;
    top: 0;
}

#main-nav .container {
    text-align: left;
}

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

#main-nav li {
    margin-right: 20px;
}

#main-nav li:last-child {
    margin-right: 0;
}

#main-nav li a {
    color: #5B3D7B; /* Deep Purple for nav links */
    text-decoration: none;
    padding: 5px 0;
    display: block;
    font-weight: 600;
    font-size: 0.95em;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

#main-nav li a:hover,
#main-nav li a.currentlink {
    color: #E151AF; /* Fuschia Pink on hover or current */
    text-decoration: underline;
    background-color: transparent;
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */

   #hero-banner-high {
       height: 100px;
       display: flex;
       background:
           url('images/banner-home.jpg') no-repeat center center/cover; /* Use the main banner image */       justify-content: flex-start; /* Left-justified content */
       align-items: center;
       text-align: left; /* Left-justified text */
       color: #5B3D7B;
       position: relative;
   }

#hero-banner {
    height: 120px;
    padding-top:30px;
    display: flex;
    justify-content: flex-start; /* Left-justified content */
    align-items: center;
    text-align: left; /* Left-justified text */
    color: #E151AF;
    position: relative;
}

.hero-home #hero-banner {
    background:
      linear-gradient(rgba(91, 61, 123, 0.6), rgba(91, 61, 123, 0.6)), /* New Deep Purple overlay */
}

.hero-content {
    padding-left: 5%; /* Padding for left-justified text */
    color:linear-gradient(rgba(91, 61, 123, 0.6), rgba(91, 61, 123, 0.6));
    max-width: 600px;
    width: 100%;
}

.hero-title {
    font-family: 'Montserrat', sans-serif; /* Suggested sans-serif font */
    font-size: 3.5em;
    margin: 0;
    line-height: 1.1;
    font-weight: 400;

}

/* Adjusted for simpler title - smaller slogan */
.hero-slogan {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em; /* Smaller font size for slogan */
    font-weight: 300;
    line-height: 1.3;
    margin-top: 5px; /* Reduced margin */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* Lighter shadow */
    color: #F0F0F0;
}

/* ==========================================================================
   Main Content Area Sections
   ========================================================================== */
#main-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Styling for each major scrollable section with rounded boxes and shading */
.content-section {
    padding: 40px; /* Internal padding */
    margin-bottom: 30px; /* Space between sections */
    background-color: #F0E8F9; /* Light Lavender background for sections */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Subtle shading */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

/* Optional: Slight lift effect on hover for sections */
.content-section:hover {
    transform: translateY(-5px);
}

.content-section:first-of-type {
    margin-top: 0; /* No top margin for the very first section */
}




/* Removed .profile-section as the HTML for the image was removed.
   The content will now flow directly as a block within .container. */
.profile-bio-contact {
    /* These styles are no longer needed as it's not a flex item,
       or they can be repurposed for the general content within the section. */
    /* flex: 1; */
    /* min-width: 300px; */
}

.interesttext {
  font-weight: bold;
  font-size: 1.3rem;
  font-family: "MutatorSans", sans-serif;
  color: #E151AF; /* Fuschia Pink for contact block background */
}


/* Headings throughout the content */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Keep Enriqueta for content headings for contrast */
    color: #5B3D7B; /* Deep Purple for content headings */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Keep Enriqueta for content headings for contrast */
    color: #FFFFFF; /* Deep Purple for content headings */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

.profile-bio-contact a, /* Keep this if you re-wrap the welcome text in a div with this class */
.content-block a {
    font-weight: 600;
}

.contact-info {
    background-color: #F1CF54; /* yellow */
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.03);
}

.contact-info h3 {
    color: #266D84; /* Teal heading for contact block */
    font-size: 1.7em;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 8px;
    line-height: 1.4;
}
.contact-info a {
    text-decoration: underline;
}
.contact-info a:hover {
    color: #F0E8F9; /* Lighter hover for contact info links */
}

article{
  -webkit-columns: 2 200px;
     -moz-columns: 2 200px;
          columns: 2 200px;
  -webkit-column-gap: 4em;
     -moz-column-gap: 4em;
          column-gap: 4em;
          font-size:1.2em;
}

quotefont{
    font-size:1.2em;
}

.recommendation-letter {
    margin-top: 30px;
    font-weight: 600;
}
.recommendation-letter a {
    color: #E151AF; /* Keep Fuschia Pink for this specific link */
    text-decoration: underline;
}

/* Latest Highlights Section */
.news-list {
    list-style: disc;
    padding-left: 25px;
}

.news-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Two-column list for Quest University syllabi */
.two-column-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.two-column-list ul {
    flex: 1;
    min-width: 250px;
    list-style: disc;
    padding-left: 20px;
}

/* ==========================================================================
   Section Separator Images (Now using the main banner image)
   ========================================================================== */
.section-divider-image {
    width: 150%;
    height: 150px; /* Adjust height as needed */
  /*  margin: 40px auto; /* Space above and below the image */
    background:
        linear-gradient(rgba(91, 61, 123, 0.6), rgba(91, 61, 123, 0.6)), /* Same Deep Purple overlay as banner */
        url('images/banner-home.jpg') no-repeat center center/cover; /* Use the main banner image */
  /*  border-radius: 8px; /* Slightly rounded corners for the images */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Consistent shading */
}

#hero-banner {
    height: 120px;
    padding-top:30px;
    display: flex;
    justify-content: flex-start; /* Left-justified content */
    align-items: center;
    text-align: left; /* Left-justified text */
    color: #E151AF;
    position: relative;
}


/* Removed individual divider classes like .divider-1, .divider-2 */

.teaching-divider-image {
  width: 150%;
  height: 150px; /* Adjust height as needed */
 margin: 40px auto; /* Space above and below the image */(91,61,123)
flot:right;
    background:
        linear-gradient(rgba(38,109,132, 0.4), rgba(38,109,132, 0.4)), /* Same Deep Purple overlay as banner */
        url('images/teachingim2.jpg') no-repeat center center/cover; /* Use the main banner image */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Consistent shading */rgba(91, 61, 123, 0.6)
}


/* Removed individual divider classes like .divider-1, .divider-2 */

.math-research-divider-image {
  width: 150%;
  height: 150px; /* Adjust height as needed */
 margin: 40px auto; /* Space above and below the image */
flot:right;
    background:
        linear-gradient(rgba(91, 61, 123, 0.6), rgba(91, 61, 123, 0.6)), /* Same Deep Purple overlay as banner */
        url('images/numberchalk.jpg') no-repeat center center/cover; /* Use the main banner image */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Consistent shading */rgba(91, 61, 123, 0.6)
}

.education-research-divider-image {
  width: 150%;
  height: 150px; /* Adjust height as needed */
 margin: 40px auto; /* Space above and below the image */
flot:right;
    background:
        linear-gradient(rgba(8,109,132, 0.4), rgba(8,109,132, 0.4)), /* Same Deep Purple overlay as banner */
        url('images/education1.jpg') no-repeat center center/cover; /* Use the main banner image */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Consistent shading */rgba(91, 61, 123, 0.6)
}

.feminist-math-divider-image {
  width: 150%;
  height: 150px; /* Adjust height as needed */
 margin: 40px auto; /* Space above and below the image */
flot:right;
    background:
        linear-gradient(rgba(91, 61, 123, 0.6), rgba(91, 61, 123, 0.6)), /* Same Deep Purple overlay as banner */
        url('images/menteesgradcrop.jpg') no-repeat center center/cover; /* Use the main banner image */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Consistent shading */rgba(91, 61, 123, 0.6)
}


/* Removed individual divider classes like .divider-1, .divider-2 */

/* ==========================================================================
   Footer
   ========================================================================== */
#main-footer {
    background-color: #5B3D7B; /* Deep Purple background for footer */
    color: #F0E8F9; /* Light Lavender text for contrast */
    padding: 25px 0;
    font-size: 0.9em;
}

#main-footer .container {
    text-align: left;
}

#main-footer a {
    color: #E151AF; /* Fuschia Pink links in footer */
}
#main-footer a:hover {
    color: #FFFFFF; /* White hover for footer links */
}


/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    #wrapper, .container {
        padding: 0 15px;
    }
    #hero-banner {
        height: 220px;
    }
    .hero-title {
        font-size: 3em;
    }
    .hero-slogan {
        font-size: 1.2em; /* Adjusted for smaller screens */
    }
    #main-nav li {
        margin-right: 15px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.3em;
    }
    .content-section {
        padding: 30px; /* Adjust padding for sections */
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    #wrapper, .container {
        padding: 0 15px;
    }

    #main-nav .container {
        text-align: center;
    }
    #main-nav ul {
        flex-direction: column;
        gap: 5px;
    }
    #main-nav li {
        margin: 0;
        width: 100%;
    }
    #main-nav li a {
        padding: 8px 0;
    }

    #hero-banner {
        height: 180px;
    }
    .hero-title {
        font-size: 2em;
    }
    .hero-slogan {
        font-size: 0.8em; /* Further reduced for smaller screens */
        margin-top: 5px;
    }
    .hero-content {
        padding-left: 20px; /* Fixed padding for mobile */
        text-align: left;
    }

    /* Removed .profile-section specific mobile adjustments */

    .profile-bio-contact h2, /* Keep this if you re-wrap the welcome text in a div with this class */
    .content-block h2 {
        font-size: 1.8em;
        text-align: left; /* Keep text aligned left for better readability on mobile */
    }
    .profile-bio-contact p, /* Keep this if you re-wrap the welcome text in a div with this class */
    .contact-info p {
        text-align: left;
    }
    .two-column-list ul {
        min-width: 100%;
    }
    .content-section {
        padding: 20px; /* Further reduce padding for sections on mobile */
        border-radius: 8px; /* Slightly less rounded on mobile */
    }
    .section-divider-image {
        height: 100px; /* Shorter dividers on mobile */
        margin: 30px auto;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
    #hero-banner {
        height: 150px;
    }
    .hero-title {
        font-size: 1.8em;
    }
    .hero-slogan {
        font-size: 0.7em;
    }
    #main-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Styling for each major scrollable section with rounded boxes and shading */
.content-section-teal-section {
    padding: 40px; /* Internal padding */
    margin-bottom: 30px; /* Space between sections */
    background-color: #D0EBF2 !important;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Subtle shading */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

/* Optional: Slight lift effect on hover for sections */

.content-section-teal-section {
:hover {
    transform: translateY(-5px);
}


.content-section-teal-section {
:first-of-type {
    margin-top: 0; /* No top margin for the very first section */
}
}

/* Styling for each major scrollable section with rounded boxes and shading */
.content-section-purple-section {
    padding: 40px; /* Internal padding */
    margin-bottom: 30px; /* Space between sections */
    background-color: #F0E8F9 !important;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Subtle shading */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

/* Optional: Slight lift effect on hover for sections */

.content-section-purple-section {
:hover {
    transform: translateY(-5px);
}


.content-section-purple-section {
:first-of-type {
    margin-top: 0; /* No top margin for the very first section */
}
}
