@charset "utf-8"; /* CSS Document */


/* Container & General Spacing */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}



.logo-wrapper {
    float: right;
    margin: 0 0 20px 30px;   /* Top, Right, Bottom, Left */
    max-width: 300px;
}



/* Intro Text Styling */
.intro-text {
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}



/* Clear the float so the following sections start below the logo */
.intro-text::after {
    content: "";
    display: table;
    clear: both;
}



.intro-text h2 {
    color: #1a3a5a;   /* #1a3a5a Deep professional blue */
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    display: inline-block;
}



.intro-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #e74c3c; /* The red accent */
}


.intro-content p:first-of-type {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: #1a3a5a !important;
    margin-top: 0 !important;
}



.intro-content p:last-child {
    margin-bottom: 0;
}



/* Apply vertical centering to all grid variations */
.intro-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;   /* This centers everything vertically, start keeps items level at the top */
    gap: 60px;
    margin-bottom: 40px;
    min-height: min-content;
}



.grid-reverse {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center !important;   /* The !important ensures it ignores the previous 'start' */
    align-content: center;
    height: 100%;
    margin-bottom: 50px;
}



.intro-logo img {
    width: 100%;       /* Forces the logo to fill its container */
    height: auto;
    border-radius: 8px;
    display: block;
}



/* Targeted fix for the squashed logo */
.intro-logo img.responsive-img {
    display: block !important;
    width: 100% !important;     /* Fill the 1/3 column width */
    height: auto !important;    /* FORCE the browser to calculate height naturally */
    max-height: none !important;   /* Remove any inherited height limits */
    object-fit: contain;        /* Ensures the logo isn't distorted */
}



.intro-content p:last-child {
    margin-bottom: 0;
}



/* Ensure the logo container always has width in the reversed grid */
.grid-reverse .intro-logo {
    display: block;
    width: 100%;
    min-width: 150px;   /* Forces the browser to reserve space */
}



.grid-reverse .intro-logo img {
    display: block;
    width: 100%;
    height: auto;
}



/* Responsive: Stack them on mobile devices */
@media (max-width: 768px) {
    .intro-grid, .grid-reverse {
        grid-template-columns: 1fr;
    }
}



/* The Container for the "Why Join" section */
.consortium-header-flex {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}



.consortium-text > p {
    font-size: 1.15rem !important;
    color: #444 !important;
    font-weight: 400 !important;
}



/* The Content Wrapper inside the flex box */
.flex-content {
    flex: 2;
    min-width: 300px;
}



/* Ensure the first paragraph doesn't have extra top margin
.intro-content p:first-of-type {
    margin-top: 0;
} */



/* Responsive adjustment: Stack on mobile */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr; /* Stack vertically on small screens */
    }
}



/* Force the red bar to disappear on the consortium page */
.consortium-text h2 {
    border-left: none !important;
    padding-left: 0 !important;
}



/* Remove the inherited red sidebar from all h3 headings in this section */
.consortium-text h3 {
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}



/* Now, redefine your custom heading style clearly */
.section-heading {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a3a5a;
    margin-top: 45px;
    margin-bottom: 15px;
    display: block;   /* Ensures it sits on its own line */
    border-bottom: 1px solid #eee;   /* Horizontal line instead of vertical */
    padding-bottom: 8px;
}



/* Style for paragraphs ONLY inside the consortium-text class */
.consortium-text p {
    font-family: 'Open Sans', sans-serif;   /* Consistent with your header */
    font-size: 1.15rem;                    /* Slightly larger for readability */
    line-height: 1.8;                    /* Ample space for professional text */
    color: #444;                         /* Dark grey is easier on eyes than pure black */
    margin-bottom: 25px;                 /* Consistent spacing between paragraphs */
    text-align: justify;                 /* Optional: gives a clean 'book' look */
    /*hyphens: auto;    /* Helps with justification on narrow screens */
}



/* Optional: Make the first paragraph pop */
.consortium-text p:first-of-type {
    font-size: 1.3rem;
    font-weight: 400;
    color: #1a3a5a;     /* Matches your professional header blue */
    margin-top: 0;   /* Removes extra space so it aligns perfectly with the image top */
    padding-top: 0;
}



/* This controls the "Why Join Our Consortium?" heading specifically */
.flex-content h3 {
    color: #1a3a5a;        /* Professional Dark Blue */
    font-size: 1.6rem;     /* Size of the text */
    margin-bottom: 35px;   /* Space between the heading and the list below it */
    font-weight: 600;      /* Boldness */
    text-transform: none;  /* Ensures it stays exactly as you typed it */
}



/* Styling the list within this specific section */
.check-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}



.check-list li {
    position: relative;
    padding-left: 35px;      /* Space for a custom bullet or icon */
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.6;
}



/* Optional: Adding a small professional bullet point */
.check-list li::before {
    content: "✓";           /* A simple checkmark */
    position: absolute;
    left: 0;
    color: #27ae60;      /* green #27ae60, red #e74c3c */  
    font-weight: 600;
    font-size: 1.2rem;
}



/* Modern Grid for Features */
.consortium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}



.consortium-feature {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid #1a3a5a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.consortium-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}



.consortium-feature h3 {
    color: #1a3a5a;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}



.consortium-feature p {
    font-size: 1.05rem !important;   /* Overrides the larger page text for cards */
    margin-bottom: 0 !important;
}



/* Styling for the closing mission statement/pitch */
.consortium-pitch {
    margin-top: 20px;
    font-size: 1.6rem;
    font-style: italic;
    color: #666;
    line-height: 1.6;   /* Adds a bit of breathing room between the lines */
}



/* Optional: If you want the very first pitch paragraph to have more space 
   above it than the second one, you can do this: */
p.consortium-pitch:first-of-type {
    margin-top: 50px;
}



/* Call to Action Box */
.cta-box {
    background: #1a3a5a;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin-top: 50px;
}



.cta-box p {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}



/* Button Styling */
.btn-primary {
    display: inline-block;
    background: #e74c3c;
    color: #ffffff !important;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}



.btn-primary:hover {
    background: #4cbb17;
    color: #ffffff;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0,0,0,0.15)
}



/* Responsive Image Tool */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



/* Targeted kill of the orphaned red line attached to the H2 */
.consortium-text h2::after, 
.consortium-text h2::before {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure the H2 itself isn't casting a shadow or bottom border that moved */
.consortium-text h2 {
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative; /* This 'traps' any internal decorations so they don't fly to the bottom of the page */
}





