
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
}
html {
    scrollbar-color: #0D3C92 #DAE3F7;
    scrollbar-width: auto;
}

html { 
scroll-behavior: smooth;
}

p {
   text-wrap:pretty;
}

h1, h2, h3, h4, h5 {
    font-family: "Playfair Display", sans-serif;
}
body {
    margin: 0;
    padding: 0;
    background-color: #F1F1F1;
    color: #222225;
}

h1 {
    font-size: 58px;
    font-weight: 900;
}

a {
    text-decoration: none;
}

p, a, h6 {
    font-family: "Playfair Display" , sans-serif;
    font-weight: 500;
}

ul {
    list-style: none;
}
/* ---- HEADER ----*/
.page-2 {
background-color:#F1F1F1;
}

.about-us {
    background-color: #041F54;
}

.about-us-h1 {
    color: #EEF0FE;
    font-size: 58px;
    padding: 40px 20px;
margin: 0;
}

.buttons-2 {
margin-top: 25px;
margin-left: 25px;
}

.header {
    background-color: #DAE3F7;
    padding: 2px;
    border-bottom: 5px #041F54 solid;
    font-weight: 600;
}

.nav-bar {
    display: flex;
    color: #061121;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px ;
}

#FDI-Logo {
    margin-bottom: 20px;
    width: 70px;
    display: flex;
    flex-shrink: 1;
    min-width: 50px;
    margin-top: 10px;
}

.list ul {
    display: flex;
    list-style: none;
    font-size: 16px;
    gap: 1em;

}

a {
    text-decoration: none;
    color: #061121;
}

.list:hover {
    color: #5580F9;
}
.list :active {
    color: #5E7EEB;
}

.list:link {
       color: #061121;
}

.list :visited{
    color: #061121;
}

/* HERO SECTION */

.body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
}

.buttons {
    display: flex;
    gap: 1em;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 8px;
}

.btn-primary {
    background-color: #0D3C92;
    color: #EEF0FE;
    border: 1px solid #0D3C92;
}

.btn-secondary {
    background-color: transparent;
    color: #0D3C92;
    border: 1.5px solid #0D3C92;
}

.btn-primary:hover {
    background-color: #041F54;
}

.btn-secondary:hover {
    background-color: #EEF0FE;
}
/* Q&A */

.qa-section {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 30px;
}

.about-qa-card {
display: grid;
grid-tenplate-column: 1fr
}

.what-FDI-title {
padding: 10px;
}

.qa-card-1 {
padding: 20px;
background-color: #EEF0FE;
color: #222225;
border: 1px solid #CAD2FD;
margin: 0px 10px 10px 10px;
}

.qa-card-2 {
padding: 20px;
background-color: #182E4C;
color: #fff;
border: 1px solid #A2BBED;
margin: 0px 10px 10px 10px;
}

.why-FDI-title{
padding: 10px;
}

.qa-card-3 {
padding: 20px;
background-color: #DAE3F7;
color: #061121;
border: 1px solid #2D4E7D;
margin: 0px 10px 10px 10px;
}

.what-FDI-title{
padding: 10px;
}

/* ANIMATIONS */
/* ANIMATION TIMELINES SECTION */

.autoshow {
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 10% contain 40%;
}

@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .CTA {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.imagereveal {
    animation: imageReveal both;
    animation-timeline: view();
    animation-range: entry 10% contain 40%;
}

@keyframes imageReveal {
    from {
        filter: saturate(0) contrast(4) brightness(.1) blur(5px);
        opacity: 0;
        scale: .95 ;
        translate: 0 4rem;
    }
    to {
        filter: none;
        opacity: 1;
        scale: 1;
        translate: 0 0;

    }    
}



/* CTA STORY SECTION */

.why-FDI-began {
    background-color: #041F54;
    color: #EFF0FF;
    border: 1px solid #CAD2FD;
    margin-top: 25px;
    max-height: 4em;
}


.CTA-title {
padding-bottom: 3em;
padding-left: 1em;
}

.CTA {   
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: stretch;
}

.photo-wrapper{
    width: 100%;
    height: 100%;
}

.body-2 {
    display: block;
    margin: 5px;
    border: #061121 2px solid ;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    gap: 20px;
}

.paragraphs-fdi {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.para-1, .para-2 {
    margin-bottom: 20px;
    padding: 25px;
    line-height: 1.6;
    flex: 1;
    background-color: #f8f9fa;
}

.para-1 {
    padding: 30px 30px 30px 30px;
}

.para-2 {
    padding: 30px 30px 30px 30px;
}

/* FOOTER */
/*---- FOOTER ----*/
.footer {
    background-color: #0C1D4B ;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 25px;
    border-top: #0a173d 3.5px solid ;
    padding: 60px 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 10000px;
}

.header-footer {
     margin: 20px;
    color: #fff;
}

.list-a {
    margin: 20px;
    color: #CAD2FD;
}

.list-a ul li a {
    color: #CAD2FD;
}

.list-a ul li a:hover  {
    color: #5580F9 ;
}

.list-a ul {
    list-style: none;
    padding: 0 ;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.footer-spacer {
    flex-grow: 1;
}

/*---- INQUIRY FORM ----*/
.inquiry-form {
    max-width: 550px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 
                0 8px 10px -6px rgba(0, 0, 0, 0.05);
        margin-left: auto; 
}

.inquiry-form h2 {
    color: #061121;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.8rem;
    letter-spacing: -0.01em;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #414146;
}

.form-group input,
.form-group textarea {
    font-size: 15px;
    padding: 14px 16px;
    background-color: #f8f9fa;
    border: 1px solid #d4d4d5;
    border-radius: 10px;
    color: #222225;
    outline: none;
    transition: all 0.25s ease;
    font-family: "Playfair Display", sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #acacaf;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #ffffff;
    border-color: #5580F9;
    box-shadow: 0 0 0 4px rgba(85, 128, 249, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    background-color: #182e4c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background-color: #061121;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 17, 33, 0.2);
}

.submit-btn:active {
    transform: translateY(1px);
}
/* FDI LINKS SECTION */

.fdi-links-section {
    background-color: #041F54;
    padding: 50px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.fdi-links-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 550px;
}

.fdi-links-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 6px;
}

.fdi-links-title h2 {
    color: #EEF0FE;
    font-size: 30px;
    margin: 0 0 8px;
}

.fdi-links-title p {
    color: #CAD2FD;
    line-height: 1.5;
    margin: 0;
}


.fdi-social-links {
    display: flex;
    gap: 14px;
}


.fdi-social-card {
    min-width: 150px;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    background-color: rgba(238, 240, 254, 0.08);
    border: 1px solid rgba(202, 210, 253, 0.25);
    border-radius: 14px;

    transition: 0.2s ease;
}


.fdi-social-card:hover {
    background-color: #0D3C92;
    border-color: #A2BBED;
    transform: translateY(-3px);
}


.social-icon {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: #A2BBED;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    flex-shrink: 0;
}


.fdi-social-card:first-child .social-icon {
    fill: #A2BBED;
    stroke: none;
}


.social-label {
    display: block;
    color: #EEF0FE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.social-text {
    display: block;
    color: #CAD2FD;
    font-size: 13px;
    margin-top: 3px;
}


/* MOBILE */

@media (max-width: 900px) {

    .fdi-links-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 25px;
    }

    .fdi-social-links {
        width: 100%;
        flex-direction: column;
    }

    .fdi-social-card {
        width: 100%;
        box-sizing: border-box;
    }

}

/* ==================================================
   MOBILE - ABOUT PAGE
================================================== */

@media (max-width: 768px) {

    /* ABOUT HERO */

    .about-us-h1 {
        font-size: 40px;
        padding: 30px 20px;
    }


    /* HERO BUTTONS */

    .buttons-2 {
        margin: 20px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }


    /* WHY FDI BEGAN */

    .CTA {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .photo-wrapper {
        width: 100%;
    }

    .body-2 {
        width: 100%;
        height: auto;
    }


    /* Q&A */

    .qa-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }


    /* FDI LINKS */

    .fdi-links-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 25px;
    }

    .fdi-social-links {
        width: 100%;
        flex-direction: column;
    }

    .fdi-social-card {
        width: 100%;
    }


    /* FOOTER */

    .footer {
        flex-direction: column;
        gap: 25px;
    }

    .footer-spacer {
        display: none;
    }

    .inquiry-form {
        width: 100%;
        margin: 0;
        padding: 25px;
    }

}
