@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

@font-face {
    font-family: 'Author';
    src: url('fonts/Author-Regular.woff2') format('woff2'),
        url('fonts/Author-Regular.woff') format('woff'),
        url('fonts/Author-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ranade';
    src: url('fonts/ranade/Ranade-Light.woff2') format('woff2'),
        url('fonts/ranade/Ranade-Light.woff') format('woff'),
        url('fonts/ranade/Ranade-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Ranade';
    src: url('fonts/ranade/Ranade-Regular.woff2') format('woff2'),
        url('fonts/ranade/Ranade-Regular.woff') format('woff'),
        url('fonts/ranade/Ranade-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Ranade';
    src: url('fonts/ranade/Ranade-Medium.woff2') format('woff2'),
        url('fonts/ranade/Ranade-Medium.woff') format('woff'),
        url('fonts/ranade/Ranade-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Ranade';
    src: url('fonts/ranade/Ranade-Bold.woff2') format('woff2'),
        url('fonts/ranade/Ranade-Bold.woff') format('woff'),
        url('fonts/ranade/Ranade-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* -- header -- */

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', 'Ranade', 'Author', sans-serif;
}

:root {
    background-color: #121212;
    color: #e3e3e3;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1c1c1c;
    padding: 10px 20px;
}

header h3 {
    margin: 0;
    font-size: 20px;
    color: #e7e7e7;
}

header nav {
    display: flex;
    align-items: center;
}

header a {
    font-size: 20px;
    color: #e7e7e7;
    text-decoration: none;
    padding: 10px 15px;
}

/* -- body -- */

.headimage {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background-color: #000;
}

.headimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: brightness(0.8) contrast(1.1) saturate(0.9);
}

.headimage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.headimage h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    margin: 0;
    font-size: clamp(2rem, 8vw, 6.5rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;

    /* Text Gradient & Glass Shadow */
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* Brand Colors */
.brand-blue {
    color: #3b82f6;
}

.headimage h1 .brand-blue {
    background: linear-gradient(to bottom, #7dd3fc 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(29, 78, 216, 0.45));
}

/* hero */

/* -- body cards section -- */

.textcontainer {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.textcontainer .card {
    background: #1c1c1c;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.textcontainer .card-icon {
    width: 48px;
    height: 48px;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.textcontainer .card h2 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.textcontainer .card p {
    font-family: 'Outfit', sans-serif;
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* -- Author Section -- */

.Author {
    max-width: 600px;
    margin: 80px auto;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    background: #1c1c1c;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    box-sizing: border-box;
}

.Author-image img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: block;
}

.Author-text h2 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 26px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.Author-text p {
    font-family: 'Outfit', sans-serif;
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Author Section */
@media (max-width: 640px) {
    .Author {
        margin: 40px 24px;
        padding: 40px 24px;
    }
}