@font-face {
    font-family: montLight;
    src: url('../fonts/montLight.otf') format('opentype');
    font-weight: normal;
}

@font-face {
     font-family: montHeavy;
    src: url('../fonts/montHeavy.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: montRegular;
    src: url('../fonts/montRegular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: montBold;
    src: url('../fonts/montBold.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: montSemiBold;
    src: url('../fonts/montSemibold.otf') format('opentype');
    font-weight: normal;
}

:root {
    --primary: #31a099;
    --secondary: #EDED88;
    --dark: #000;
}

body {
    font-family: montRegular;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: justify;
    text-justify: inter-word;
}


.header-content {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-container img {
    max-height: 80px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.tagline {
    font-style: montLight;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
    text-justify: inter-word;
}

section {
    padding: 3rem 0;
}

h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    color: #000;
    font-family: montBold;
}

h2::after {
    content: '';
    color: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

h3 {
    color: #31a099;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    font-family: montBold;
}

.mission-box {
    background-color: var(--secondary);
    padding:1rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.pillar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
}

.founder-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

.founder-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.founder-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.founder-bio {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section h2::after {
    background-color: var(--secondary);
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #f0f06e;
    transform: translateY(-2px);
}

footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.highlight {
    color: var(--primary);
    font-weight: bold;
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    padding: 1rem;
    border-left: 4px solid var(--secondary);
    margin: 2rem 0;
    background-color: rgba(237, 237, 136, 0.1);
}

 /* New Styles for Image-Rich Layout */
 .image-rich-section {
    margin-bottom: -3rem;
}

.text-with-images {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.1rem;
}

.text-content {
    flex: 2;
    margin-bottom: 5px;
}

.image-collage {
    flex: 1;
    display: row;
}

.image-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mission-box {
    display: flex;
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
}

.mission-content {
    flex: 2;
    padding: 2rem;
}

.mission-content h3{
    margin-top: -5px;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Pillars Section */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pillar-image {
    position: relative;
    height: 200px;
}

.pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(49, 160, 153, 0.3), rgba(49, 160, 153, 0.7));
}

.pillar-content {
    padding: 1.5rem;
    background: white;
    text-align: left;
    font-size: 10pt;
}

strong {
    color: var(--dark);
    font-family: montBold;
}

/* Founder Section */
.founder-profile {
    margin-top: -3rem;
}

.founder-main {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.founder-image {
    flex: 1;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
}

.founder-bio {
    flex: 2;
}

.founder-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item p {
    font-size: 12pt;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Portal Section */

.portal-showcase {
    margin-top: 2rem;
}

.portal-feature {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
}

.feature-desc {
    flex: 1;
}

.portal-quote {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.quote {
    flex: 2;
    font-style: italic;
    font-size: 1.2rem;
    padding: 1rem;
    border-left: 4px solid var(--secondary);
    background-color: rgba(237, 237, 136, 0.1);
}

.quote-image {
    flex: 1;
}

.quote-image img {
    width: 100%;
    border-radius: 8px;
}

.portal-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portal-screenshots img {
    width: 100%;
    border-radius: 8px;
}

/* Get Involved Section */
.partners-showcase {
    display: flex;
    gap: 3rem;
}

.partner-text {
    flex: 2;
}

.partner-logos {
    flex: 1;
    text-align: left;
    color: var(--primary);
    font-family: montSemiBold;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.logo-grid img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.success-stories {
    margin-top: 2rem;
}

.story-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.story {
    text-align: center;
}

.story img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .text-with-images,
    .mission-box,
    .founder-main,
    .portal-feature,
    .portal-quote,
    .partners-showcase {
        flex-direction: column;
    }
    
    .portal-section{
        margin-top: 120px;
    }

    .image-collage,
    .stats-gallery,
    .founder-gallery,
    .portal-screenshots,
    .story-gallery {
        grid-template-columns: 1fr;
    }

     .image-rich-section {
    margin-bottom: none;
}
}