/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: #001333;
    display: flex;
    align-items: center;
    z-index: 1000;
}

/* wrapper inside header */
.header-container {
    display: flex;
    justify-content: space-between; /* logo left, nav right */
    align-items: center;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

/* LOGO */
.logo img {
    height: 50px;
    object-fit: contain;
}

/* NAVIGATION */
.nav {
    display: flex;
    gap: 80px; /* spacing between links */
}

.nav a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.5px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #BE9B55;
}

/* ================= HERO ================= */
.platform-hero {
    display: flex;
    height: 100vh;
    padding-top: 90px;
    background: #001333;
}

.platform-hero-image {
    width: 50%;
}

.platform-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 120px;
    border-bottom-right-radius: 0px;
}

.platform-hero-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
}

.platform-hero-text h1 {
    font-size: 110px;
    line-height: 110px;
    font-weight: 400;
    letter-spacing: -7px;
    color: white;
    word-break: break-word;
    max-width: 100%;
}

.platform-hero-text p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 35px;
    line-height: 38px;
    letter-spacing: -0.5px;
    color: #BE9B55;
    margin-top:30px;
}


/* ================= INTRO ================= */
.platform-intro-inner {
    display: flex;
    padding: 120px 50px;
    gap: 50px;
}

.platform-intro-image {
    width: 50%;
}

.platform-intro-image img {
    width: 100%;
    border-radius: 80px;
}

.platform-intro-text {
    width: 50%;
}

.platform-intro-text h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 30px;
    color: #001333;
}

.platform-intro-text h3 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: -0.5px;
    color: #BE9B55;
    margin-top:30px;
    margin-bottom:30px;
}

.platform-intro-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.5px;
    color: #001333;
    margin-top: 80px!;
    margin-bottom: 80px!;
}

/* ================= FEATURES ================= */

.platform-features {
    background: none; /* remove gray background */
    padding: 100px 0; /* top & bottom spacing */
    margin: 0 50px; /* left & right page margin */
}

.platform-features .platform-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 70px; /* same as blueprint */
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    color: #001333;
    margin-right: 20px;
    text-align: left;
}

.platform-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* space between boxes */
    justify-content: space-between;
}

/* INDIVIDUAL FEATURE BOX */
.platform-card {
    background: white;
    flex: 1 1 calc(25% - 15px); /* 4 boxes, subtract gap */
    padding: 100px 30px; /* top & bottom + inner padding */
    box-sizing: border-box;
    border-radius: 20px; /* optional rounding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    /* DROP SHADOW */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover effect */
}

/* OPTIONAL: hover effect for boxes */
.platform-card:hover {
    transform: translateY(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* SUB-HEADING IN BOX */
.platform-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 45px;
    letter-spacing: -1.5px;
    color: #001333;
    margin-bottom: 20px;
    text-align: center;
}

/* PARAGRAPH IN BOX */
.platform-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #001333;
    text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .platform-card {
        flex: 1 1 calc(50% - 10px); /* 2 boxes per row */
    }
}

@media (max-width: 900px) {
    .features {
        margin: 0 20px;
        padding: 80px 0;
    }

    .platform-card {
        flex: 1 1 100%; /* 1 box per row */
        padding: 40px 20px;
    }

    .platform-card h3 {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -1px;
    }

    .platform-card p {
        font-size: 16px;
    }
}


/* ================= SHARIAH COMPLIANT ================= */


.platform-shariah-inner {
    display: flex;
    padding: 120px 50px;
    gap: 50px;
}

/* IMAGE */
.platform-shariah-image {
    width: 50%;
}

.platform-shariah-image img {
    width: 100%;
    height: 800px;          /* 👈 adjust this (try 350–450px) */
    object-fit: cover;      /* 👈 prevents stretching */
    border-radius: 80px;
}

/* TEXT */
.platform-shariah-text {
    width: 50%;
}

.platform-shariah-text h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 30px;
    color: #001333;
}

.platform-shariah-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.5px;
    color: #001333;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* BUTTON */
.platform-btn {
    display: block;
    width: 220px;
    margin: 30px auto 0;
    background: black;
    color: white;
    padding: 25px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 80px;
    text-align: center;
}
.platform-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
}


/* ================= USE CASES ================= */

.platform-features-usecases {
    background: none; /* remove gray background */
    padding: 100px 0; /* top & bottom spacing */
    margin: 0 50px; /* left & right page margin */
}

.platform-features-usecases .platform-section-title-usecases {
    font-family: 'DM Sans', sans-serif;
    font-size: 70px; /* same as blueprint */
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    color: #001333;
    margin-bottom: 50px;
    text-align: center;
}

.platform-features-grid-usecases {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* space between boxes */
    justify-content: space-between;
}

/* INDIVIDUAL FEATURE BOX */
.platform-card-usecases {
    background: white;
    flex: 1 1 calc(25% - 15px); /* 4 boxes, subtract gap */
    padding: 100px 30px; /* top & bottom + inner padding */
    box-sizing: border-box;
    border-radius: 20px; /* optional rounding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    /* DROP SHADOW */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover effect */
}

/* OPTIONAL: hover effect for boxes */
.platform-card-usecases:hover {
    transform: translateY(5px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* SUB-HEADING IN BOX */
.platform-card-usecases h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 45px;
    letter-spacing: -1.5px;
    color: #001333;
    margin-bottom: 20px;
    text-align: center;
}

/* PARAGRAPH IN BOX */
.platform-card-usecases p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #001333;
    text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .platform-card {
        flex: 1 1 calc(50% - 10px); /* 2 boxes per row */
    }
}

@media (max-width: 900px) {
    .features {
        margin: 0 20px;
        padding: 80px 0;
    }

    .platform-card {
        flex: 1 1 100%; /* 1 box per row */
        padding: 40px 20px;
    }

    .platform-card h3 {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -1px;
    }

    .platform-card p {
        font-size: 16px;
    }
}


/* ================= CTA ================= */
.cta.split {
    padding: 100px 0;
    background: none;
}

.split-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 50px; /* side margin */
    gap: 50px; /* space between text and image */
}

.cta-text {
    width: 40%;
}

.cta-text h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 70px; /* same as other section headlines */
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
    color: #001333;
    margin-bottom: 30px;
}

.cta-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #001333;
}

.cta-btn {
    display: block;
    width: 220px; /* same as Blueprint button */
    margin: 30px auto 0 0; /* top margin + align left */
    background: black;
    color: white;
    padding: 25px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 80px;
    white-space: nowrap;
    text-align: center;
}

/* ================= CTA IMAGE ================= */
.cta-image {
    width: 60%; /* original right-side width */
    height: 100%;
    position: relative;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
}



/* CTA BUTTON - same as Blueprint */
.cta-btn {
    display: block;
    width: 220px;
    margin: 30px auto 0;
    background: black;
    color: white;
    padding: 25px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 80px;
    text-align: center;
}

/* optional: hover effect, same as Blueprint */
.cta-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .cta-text h2 {
        font-size: 55px;
        line-height: 65px;
    }
}

@media (max-width: 900px) {
    .split-inner {
        flex-direction: column;
    }

    .cta-text, .cta-image {
        width: 100%;
    }

    .cta-image img {
        border-radius: 80px 80px 0 0; /* adjust for stacked layout */
        height: 400px;
    }

    .cta-text h2 {
        font-size: 40px;
        line-height: 50px;
    }
}

/* ================= FOOTER ================= */
.footer {
    background: #001333;
    color: white;
    padding: 80px 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.5;
}

/* FLEX GRID */
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px; /* space between columns */
}

/* LEFT COLUMN: LOGO + TEXT + COPYRIGHT */
.footer-left {
    flex: 2; /* takes roughly twice the space of each right column */
    min-width: 250px;
}

.footer-left .footer-logo {
    width: 200px;
    margin-bottom: 30px;
}

.footer-left p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
    padding-right: 100px;
    padding-left: 10px;
}

/* RIGHT COLUMNS */
.footer-right {
    flex: 1;
    display: flex;

    min-width: 200px;
}

/* NAVIGATION COLUMN */
.footer-nav, .footer-alliance-legal {
    display: flex;
    flex-direction: column;
    margin-right: 100px;
}

.footer-nav h4, .footer-alliance h4 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-nav h4, .footer-legal h4 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.footer-nav a, .footer-alliance a {
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-nav a, .footer-legal a {
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}


.footer-nav a:hover, .footer-alliance, .footer-legal a:hover {
    color: #BE9B55;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        flex-direction: column;
    }

    .footer-left, .footer-right {
        flex: 0 0 100%;
    }

    .footer-right {
        flex-direction: row;
        gap: 50px;
        margin-top: 40px;
    }

    .footer-nav, .footer-alliance, .footer-legal {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .footer-right {
        flex-direction: column;
        gap: 40px;
    }
}


