/* Start Section */

#start{
    background-color: rgba(255, 255, 255, var(--bg-alpha));
    margin-top: 30px;
    display: grid;
    grid-template-columns: clamp(420px, 48vw, 880px) 1fr;
    align-items: center;
    height: min(80vh, 900px);
    overflow: hidden;
    gap: 0;
    box-sizing: border-box;
}

#mti-logo{
    grid-column: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    align-self: stretch;
    justify-self: stretch;
    border: 0;
}

#start-content{
    grid-column: 2;
    padding: clamp(24px, 5vw, 96px) clamp(20px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
    box-sizing: border-box;
}

#start-content .kicker{
    margin: 0 0 0.75rem 0;
    font-size: clamp(0.75rem, 1.0vw, 1rem);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#start-content h1{
    margin: 0;
    font-size: clamp(1.6rem, 3.6vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
}

#start-content .lead{
    margin-top: 1rem;
    margin-bottom: 0;
    width: auto;
    max-width: 48ch;        
}

#calculate-index{
    margin-top: 2rem;
    align-self: start;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    color: white;
    background-color: #A5CCD4;
    padding: 0.9rem 1.6rem;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: background-color 180ms ease, transform 120ms ease, border-color 180ms ease;
}
#calculate-index:hover{
    cursor: pointer;
    background-color: #BDD9DF;
    border-color: rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

@media (max-width: 900px){
    #start{
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        height: auto;
        padding-bottom: 20px;
    }

    #mti-logo{
        grid-column: 1;
        width: min(86%, 680px); 
        max-width: 680px;
        height: auto;
        object-fit: contain;   
        margin: 18px auto 0 auto;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    #start-content{
        grid-column: 1;
        padding: 24px 20px;
        text-align: center;
        max-width: 920px;     
        margin: 0 auto;        
        align-items: center;   
    }

    #start-content .kicker{
      text-align: center;
    }

    #start-content .lead{
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #calculate-index{
        align-self: center;
    }
}

@media (max-width: 420px){
    #start-content h1{
        font-size: clamp(1.4rem, 7.5vw, 1.8rem);
    }
    #start-content .lead{
        font-size: 0.95rem;
    }
    #calculate-index{
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}


/* Partnership Section */

#partnership{
  background-color: rgba(254, 241, 231, var(--bg-alpha));
  display: flex;
  flex-direction: column;
  align-items: center;        
  text-align: center;
  padding: clamp(20px, 4.5vw, 64px) 16px; 
  gap: clamp(12px, 2vw, 24px); 
}

#partnership h2{
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem); 
}

#partnership-logo{
  display: block;
  width: 100%;                   
  max-width: clamp(360px, 70vw, 1065px); 
  height: auto;
  object-fit: contain;            
  border-radius: 6px;            
  box-shadow: 0 8px 20px rgba(16,32,42,0.06);
}

@media (max-width: 420px){
  #partnership{
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 12px;
  }
  #partnership-logo{
    max-width: 92%;  
  }
}

/* About Section */

#about {
  background-color: rgba(255, 255, 255, var(--bg-alpha));
}

/* Objectives Section */

#objectives{
    box-sizing: border-box;
}

#objectives-background{
    background-color: rgba(165, 204, 212, var(--bg-alpha));
}

#objectives-background > p:first-of-type {
    margin: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(16,32,42,0.95);
}

#objectives-background h2 {
    font-weight: 1000;
    color: #10202a;
}

#objectives-information{
    display: flex;
    width: min(50%, 1140px);     
    max-width: 112ch;        
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-top: clamp(8px, 1.5vw, 20px);
}

#objectives-description{
    gap: clamp(14px, 2.2vw, 26px);
    flex: 1 1 52%;            
    min-width: 280px;
    max-width: 620px;
    text-align: left;        
    box-sizing: border-box;
}

#objectives-information > #objectives-description p {
    margin: 0 0 1rem 0;
    width: auto;
    color: #10262a;          
}

#objectives-image {
    flex: 0 0 44%;
    max-width: 520px;
    min-width: 220px;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 0.75;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16,32,42,0.08);
}

@media (max-width: 900px) {
    #objectives-information {
        flex-direction: column;
        align-items: center;
        padding-top: 10px;
        gap: 18px;
    }

    #objectives-description {
        width: min(92%, 720px);
        max-width: 760px;
    }

    #objectives-image {
        width: min(92%, 720px);
        max-width: 920px;
        flex: none;
    }
}

@media (max-width: 420px) {
    #objectives-background > p:first-of-type {
        font-size: 0.85rem;
    }
}

/* Specificities Section */

#specificities {
  background-color: rgba(255, 255, 255, var(--bg-alpha));           
}

#specificities > h2 {
  color: #10202a;
}

#specificities > p {
  margin: 0 0 clamp(18px, 2.4vw, 26px) 0;
  color: #6b777b;
  text-align: center;
}

#specificities-flex{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: clamp(14px, 2.4vw, 28px);
  width: 100%;
  max-width: 1100px;              
  padding-top: clamp(8px, 1.5vw, 20px);
  box-sizing: border-box;
  align-items: stretch;
}

.specificities-element{
  background: #ffffff;            
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 10px 24px rgba(16,32,42,0.06);
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 10px;
  align-items: flex-start;        
  box-sizing: border-box;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.specificities-element i.fa-solid,
.specificities-element svg.specificity-check {
  width: clamp(1.05rem, 1.6vw, 1.4rem);
  height: clamp(1.05rem, 1.6vw, 1.4rem);
  color: #A5CCD4; 
  display: inline-block;
  margin-bottom: 6px;
}

.specificities-element h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #10202a;
  line-height: 1.1;
  font-weight: 700;
}

.specificities-element p {
  color: #34484d;
  width: auto;
}

.specificities-element:hover,
.specificities-element:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16,32,42,0.10);
}

.specificities-element :is(a, button):focus-visible {
  outline: 3px solid rgba(165,204,212,0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  #specificities-flex{
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 12px;
  }

  .specificities-element{
    align-items: center;
  }

  .specificities-element i.fa-solid {
    margin-bottom: 8px;
  }

  .specificities-element h3 {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .specificities-element{
    padding: 14px;
    border-radius: 10px;
  }
}

/* Final section */

#final{
  background-color: rgba(255, 255, 255, var(--bg-alpha));           
  padding-top: 0;
}

/* Acknowledgments section */

#acknowledgments{
  background-color: rgba(165, 204, 212, var(--bg-alpha));
}

#separator{
  background-color:#10202a;
  width: 100%;
  height: 25px;
  margin: 0;
}