
@import url('https://fonts.googleapis.com/css2?family=Sulphur+Point:wght@700&family=Lexend:wght@300;400;500;700&family=Lexend+Deca:wght@300;400&display=swap&subset=latin-ext');

html, body {
    overflow-x: hidden;
}

/* === CSS VARIABLES === */
:root {
    --font-main: 'Lexend', Arial, sans-serif;
    --font-hero: 'Sulphur Point', Arial, sans-serif;
    --font-miko-stat: 'Lexend Deca', Arial, sans-serif; /* add this line */
    --color-primary: #4a4ed4;
    --color-primary-dark: #2d2fa7;
    --color-bg: #fff;
    --color-border: #bfc6e0;
    --color-shadow: rgba(0,0,0,0.03);
    --color-text: #222;
    --color-link: #4a4ed4;
    --color-link-hover: #2d2fa7;
    --color-link-bg-hover: #f3f3f6;
    --border-radius-main: 32px;
    --border-radius-link: 16px;
    --transition-main: 0.2s;
    --transition-arrow: 0.3s cubic-bezier(.4,2,.6,1);
    --committee-avatar-size: 180px;
    --committee-arrow-size: 1em;
    --committee-link-padding: 4px 12px;
    --font-size-header: 22px;
    --font-size-body: 16px;
}

/* Header styles */
h2, h3, h4, h5, h6,
.committee-section h2,
.committee-info h4,
.join-content h2,
.hero-content p {
    font-size: var(--font-size-header) !important;
}

/* Body text styles */
body,
section, p {
    font-size: var(--font-size-body);
}
.section-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}
section{
    display: flex;
    align-items: center;         
    justify-content: flex-start; 
    font-family: var(--font-main);
    line-height: 1.5;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-main);
    box-shadow: 0 2px 12px var(--color-shadow);
    padding: 48px 70px;
    width: 90%;
    max-width: 1100px;
    box-sizing: border-box;
}
button{
    text-align: center;
    vertical-align: middle;
    border: none;
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-style: normal;    
    border-radius: 24px;
    padding: 6px 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.committee-arrow-svg {
    height: var(--committee-arrow-size) !important;
    width: var(--committee-arrow-size) !important;
    transition: transform var(--transition-arrow);
    vertical-align: middle !important;
    margin-left: 8px !important;
    display: inline-block !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: relative !important;
    top: 0.08em !important;
}

.hero-section {
    width: 100%;
    max-width: 100%;
    height: 400px;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    text-align: right;
    background-image: url('/images/svg/welcomImage.svg');
    background-size: cover;
    background-position: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Align items to the right */
    padding-right: 5%; /* Add some space from the right edge */
    z-index: 2;
    width: 45%;
}
.hero-logo {
    max-width: 100%; /* Make logo bigger */
    height: 30%;
    width: auto;
    margin-bottom: 5%;
    vertical-align: bottom;
}
.small-map{
    display: none;
}
.hero-content p {
    color: #fff;
    font-family: 'Sulphur Point', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 1px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.25);
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    text-align: center;
    vertical-align: middle;
}
.join-section {
    background: #fff url('/images/svg/joinDiagram.svg') no-repeat right bottom;
    background-size: auto 80%; 
    min-height: 250px; 
}
#about{
        background: #fff url('/images/svg/smallMap.svg') no-repeat;
        background-position: 90% center;         
}

.join-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: flex-start;    
    text-align: left;            
}

.join-content h2 {
    font-family: 'Lexend', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    letter-spacing: 0;
    margin-bottom: 12px;
    color: #111;
}

.join-content p {
    font-family: 'Lexend', Arial, sans-serif;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    margin-bottom: 20px;
    color: #222;
    max-width: 70%;      /* Wrap at 30% of the parent width */
    word-break: break-word;
}

.join-content button {
    background: #5a4fd6;
}

.join-content button:hover {
    background: #3a2fa0;
}

.committee-section {
    background: #fff;
    display: block;       
}

.committee-section h2 {
    text-align: center;
    font-weight: 400;
    margin-top: 0;
}

.title{
    text-align: center;
    font-weight: 400;
    color: #5a4fd6;
    margin-bottom: 40px;
}

.committee-member {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-left: 8px;   /* Optional: fine-tune inner spacing */
    padding-right: 8px;  /* Optional: fine-tune inner spacing */
    margin-bottom: 20px;
}

.committee-member:last-child {
    border-bottom: none;
}

.committee-member-header{
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.committee-member svg,
.committee-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.committee-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.committee-info h3 {
    font-weight: 300;
    color: #4a4ed4;    

}

.committee-info h4 {
    font-weight: 400;
    margin-bottom: 8px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.committee-info p {
    color: #222;
    line-height: 1.5;
    font-weight: 300;
}


.show-details-link{
    color: var(--color-link);
    transition: color var(--transition-main), background var(--transition-main);
    display: inline-flex;
    align-items: center;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0;
    text-decoration: none;
    margin-bottom: 8px;
    cursor: pointer;
    width: fit-content;
}

.show-details-link:hover {
    padding: 0px 12px;   
}

.show-details-link.active .committee-arrow-svg{
    transform: rotate(90deg);
}

.committee-link {
    margin-top: 0;
    padding-left: 0;
    color: #222;
    transition: all 0.2s;
    font-weight: 300;
}

.committee-link ul {
    padding-left: 22px;
}

.committee-link li {
    margin-bottom: 6px;
    line-height: 1.5;
    list-style: disc;
}

.organizer-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.organizer-btn{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;;
    margin-bottom: -30px;
}
.organizer-btn button{
    background: #5a4fd6;
}

.organizer-btn:hover button{
    background: #3a2fa0;
}

.organizer-statistic,
.organizer-statistic-item,
.organizer-statistic-item p {
    font-family: var(--font-miko-stat);
    font-weight: 300;
    font-style: normal; /* 'Light' is not a valid value; use normal */
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
}

.organizer-statistic{
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}
.organizer-statistic-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
} 
.organizer-description{
    padding: 0% 10%;
    font-weight: 300;
}

#logo_MIKO {
    width: 60%;
    max-width: 600px;
    height: auto;
}
#logo_INUNI {
    width: 60%;
    max-width: 600px;
    height: auto;
}
.apply-section{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    font: var(--font-main);
}
.apply-options-row{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
.apply-option{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.apply-logo{
    width: 30%;
    height: auto;
    max-width: 300px;
}
.apply-option button{
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.apply-option button:hover, .apply-option button:focus {
  filter: brightness(90%)
}
.apply-contact-row span{
    color: #4949B8;
    margin-right: 3px;
}
@media screen and (max-width: 1300px) {
   :root{
        --font-size-header: 20px;
        --font-size-body: 12px;
   }
    section{
        padding: 15px 30px;
        width: 80%;      
    } 
    button{
        border-radius: 18px;
        padding: 4px 18px;
    }  
    .section-container{
        gap: 30px;  
    }  
    .join-section {
        background: #fff url('/images/svg/joinDiagram.svg') no-repeat right bottom;        
        background-size: 70%; 
    }    
    #about {
        background: #fff url('/images/svg/smallMap.svg') no-repeat right center;
        background-size: calc(30% - 30px);
        background-position: calc(100% - 30px) 30px;
    }
    .committee-member-header{
        flex-direction: column;
        gap: 0;
    }    
    .committee-member-header h3{
        font-size: calc(var(--font-size-header) * 0.8) !important;
    }     
    #logo_MIKO {
        width: 30%;
        height: auto;
    }
    #logo_INUNI {
        width: 30%;
        height: auto;
    }       
    .apply-options-row{
        gap: 20px;
    } 
    .apply-option{
        width: 30%;
        height: auto;
    }    
    .apply-section h1{
        margin-top: 15px;
        font-size: 30px !important;        
    }      
}
@media screen and (max-width: 700px) {
   :root{
       --font-size-header: 18px;
       --font-size-body: 10px;
   }
    .hero-section {
        height: 250px;
        justify-content: center;
    }
    .hero-content {
        width: 90%;
    }
    .hero-text {
        max-width: 100%; /* Make logo bigger */
        height: 30%;
        width: auto;
        margin-bottom: 5%;
        vertical-align: bottom;
    }     
    #about h2{
        margin-top: 20%;
        margin-bottom: 5%;
    }
    #about p{
        max-width: 100%;
    }
    .title{
        font-size: calc(var(--font-size-header) * 1.2) !important;
        margin-bottom: 20px;
    }
    .committee-member{
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
    .committee-member-header{
        align-items: center;
    }  
    .committee-member p{
        text-align: center;
    }  
    .organizer-statistic-item img{
        width: 15vw;
        height: auto;
    }
    .organizer-btn{
        margin-bottom: 10px;
    }
    .organizer-section{
        gap: 10px;
    }
    #logo_MIKO {
        width: 50%;
        height: auto;
    }
    #logo_INUNI {
        width: 50%;
        height: auto;
    }    
    .organizer-description{
        padding: 0;
    }
    .organizer-description p{
        margin-bottom: 0.5rem;
    }
    .organizer-description ul{
       padding-left: 1rem;
    }    
    .apply-logo{
        width: 60%;
        height: auto;
    }
    .apply-section{
        gap: 20px;
    }
    .apply-section h1{
        font-size: 15px !important;
    }    
    .apply-options-row{
        flex-direction: column;
        gap: 20px;
    }
    .apply-option{
        gap: 10px;
        width: 90%;
    }
}