:root {
  /* Archify brand colors */
  --blue-archi-lighter: #80DEFE;      
  --blue-archi-light: #006EE5;      
  --blue-archi-dark: #0122ad;      
  --background-blue-light: #F6FAFF; 
  --text-blue-dark: #212e41;     
  --background-white: #ffffff;
  --background-anim: #DBE3F0;    
    

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;

  /* Typography */
  --font-family: 'Times New Roman', Times, serif;
}

.content-row {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
    align-items: stretch; /* All children get the same height */
    position: relative;
    margin: 2% 0rem;
}

/* Logo image — takes up full height of the row */
#logo_title {
    display:none;
    height: auto;
    width: clamp(10rem, 30vw, 20rem);
    object-fit: contain;
    flex-shrink: 0;
    padding-bottom: 1rem;
    align-self: flex-start;
}

/* Wrapper for text content — stacks title, sub_title, description horizontally */
.text-column {
    display: flex;
    flex-direction: column;
    justify-content: top;
    gap: 5%;
    flex: 1;
}

#title_image {
    height: 100%;
    width: 50%;
    object-fit: contain;
    flex-shrink: 0;
    padding-top: 0%;
    padding-right: 10%;
    padding-bottom: 1%;
    margin-left: 0%; /* Pull image left to overlap text */
}

/* Title */
.title {
    text-align: left;
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: bolder;
    color: var(--text-blue-dark);
    display: flex;
    align-items: center;
}

/* Sub-title */
.subtitle {
    text-align: left;
    font-size: clamp(1.2rem, 3vw, 3rem);
    font-weight: bold;
    color: var(--blue-archi-light);
    display: flex;
    align-items: center;
}

/* Description */
.description {
    font-size: clamp(1.0rem, 1.4vw, 2rem);
    color: var(--blue-archi-dark);
    text-align: left;
    display: flex;
    align-items: center;
    width: 60%;
}

.subtitle-2 {
    font-size: clamp(1rem, 1.5vw, 1.8rem);
}


#section-1 {
    display: flex;
    flex-direction: row;

    justify-content: top;
}



.dark-blue {
    color: var(--blue-archi-dark);
}

.description span {
    align-self: flex-start;
}


/* Separator line between title and subtitle */
.title-separator {
    border: none;
    border-top: 2px solid var(--blue-archi-light);
    margin: 0rem 0rem;
    margin-right: 80%;

}


#section-1 {
    
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* All children get the same height */
    position: relative;
    margin: 0rem 0rem;
    padding-left: 7%;
    /* padding-right: 2%; */
    padding-bottom: 0rem;
    padding-top: calc(3em);
    background-color: var(--background-white);
    position: sticky;
    top: 0;
    z-index: 1;
    
}

#section-2{
    position: relative;
    margin-top: 0vh;

    /* min-height: 100vh; */

    display: flex;
    flex-direction: column;
    /* justify-content: space-evenly; */
    padding: 2rem 4rem;

    /* overflow:hidden; */
    border-radius: 3rem 3rem 0 0;
    box-shadow: 0 -24px 40px rgba(33,46,65,.18);
    z-index: 2;
    background: #f4f8ff;
}







/* ============================= */
/* Desktop-only tightened layout */
/* ============================= */

@media (max-width: 1400px) {
    #section-2 {

        overflow: hidden;
        display: flex;
        /* flex-direction: column; */
    }

}

/* ============================= */
/* Tablet / small laptop         */
/* ============================= */
@media (max-width: 1024px) {

    #section-1 {
        padding-top: 3rem;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding-bottom: 2rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Stack logo + text vertically instead of side-by-side */

    #logo_title {
        display:flex;
        padding-bottom: 2rem;
        align-self: center;
    }

    .text-column {
        gap: 1.8rem;
    }

    .title {
        text-align: center;
        justify-content: center;        
    }

    .title-separator {
        margin-right: 40%;
        margin-left: 40%;
    }

    .subtitle {
        text-align: center;
        justify-content: center;
    }

    /* Description no longer a narrow 27% column — full width under the title */
    .description {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    #title_image{
        width: 20rem;
        max-height:15rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        margin: 0%
    }
    .description span {
        align-self: center;
    }
    
    #section-2{
        padding: 3rem 1rem 1.5rem 1.5rem;
    }
    #title-2 {
        font-size: clamp(1.8rem, 3vw, 3rem);
    }
    .subtitle-2{
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    .cards {
        gap: 0rem;
    }
    .card {
        padding: 2rem 0rem 2rem 0rem; 
        margin: 0rem 2rem;
    }
    .card:first-child {
        padding-top: 0rem; 
    }
    .card:last-child {
        padding-bottom: 0rem; 
    }
    .card:not(:last-child){
        border-right:0px solid rgba(255,255,255,.15);
        border-bottom:2px solid rgba(255,255,255,.15);
    }
    .icon {
        width:3rem;
        height:3rem;
        margin-bottom:0rem;
    }
    h2{
        font-size: clamp(1.5rem, 2.5vw, 2.5rem);
        margin-top: .1rem;
    }
    .small-line{
        margin:.8rem auto .8rem;
        background:var(--blue-archi-light);
    }


}

/* ============================= */
/* Mobile (phones, landscape too)*/
/* ============================= */
@media (max-width: 768px) {

    .text-column {
        gap: 1.2rem;
    }




    .subtitle-2{
    }

    .card {
        margin: 0rem 0rem;
    }

}

/* ============================= */
/* Small phones                  */
/* ============================= */
@media (max-width: 480px) {
   #section-1 {
        padding-top: 3rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        flex-direction: column;
        gap: 1rem;
    }

    /* Stack logo + text vertically instead of side-by-side */

    #logo_title {
        display:flex;
        max-height: 5rem;
        padding-bottom: 2rem;
        align-self: center;
    }

    .text-column {
        gap: 1.2rem;
    }

    .title {
        text-align: center;
        justify-content: center;
    }

    .title-separator {
        border: none;
        border-top: 2px solid var(--blue-archi-light);
        margin-right: 40%;
        margin-left: 40%;

    }

    .subtitle {
        text-align: center;
        justify-content: center;
    }

    /* Description no longer a narrow 27% column — full width under the title */
    .description {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #title_image{
        width: 100%;
        max-width: 20rem;
        max-height:20rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        margin: 0%
    }

    .description span {
        align-self: center;
    }

    

    #section-2{
        /* margin-top: -150vh; */
        padding: 3rem 1rem 1.5rem 1.5rem;
        min-height: 150vh;
    }

    #title-2 {
    }

    .subtitle-2{
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .cards {
        gap: 0rem;
    }
    .card {
        padding: 2rem 0rem 2rem 0rem; 
    }
    .card:first-child {
        padding-top: 0rem; 
    }
    .card:last-child {
        padding-bottom: 0rem; 
    }

    .card:not(:last-child){
        border-right:0px solid rgba(255,255,255,.15);
        border-bottom:2px solid rgba(255,255,255,.15);
    }

    .icon {
        width:3rem;
        height:3rem;
        margin-bottom:0rem;
    }

    h2{
        margin-top: .1rem;
    }

    .small-line{
        margin:.8rem auto .8rem;
        background:var(--blue-archi-light);
    }

   

    

}
