﻿/* ══════════════════════════════════════
       CSS VARIABLES
    ══════════════════════════════════════ */

:root {
    --jamuna-purple: #3A2E82;
    --jamuna-green: #00B341;
    --text-dark: #333333;
    --bg-light: #f4f4f4;
    --border-yellow: #f1c40f;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

/* --- Hero Section --- */
.hero-section {
    /* Simulating the leaf texture background using CSS */
    background: linear-gradient(135deg, #e0f7fa 0%, #a8e6cf 100%);
    background-image: url("../images/bg.png");
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 900;
    color: var(--jamuna-purple);
    font-size: 3.5rem;
    margin-bottom: 0;
}

.hero-subtitle {
    font-weight: 900;
    color: var(--jamuna-green);
    font-size: 3.5rem;
    margin-bottom: 0px;
}

.hero-desc {
    color: var(--jamuna-purple);
    font-size: 1.1rem;
    line-height: 1.6;
}

.card-image {
    max-width: 95%;
    height: auto;
    /* Placeholder for the card stack image */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    object-fit: cover;
    transition: transform 0.5s ease;
}
    .card-image:hover {
        transform: rotate(45deg) scale(1.2);
        transition: transform 2.0s ease;
    }

/* --- Main Content Section --- */
.main-content {
    padding: 60px 0;
}

.section-header {
    background-color: var(--jamuna-purple);
    color: white;
    padding: 15px 25px;
    display: inline-block;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 40px;
    border-radius: 10px;
    border: none;
}
    .section-header:hover {
/*        background: linear-gradient(105deg, #001b33, #00355e);*/
        box-shadow: 0 20px 28px -8px rgba(0, 40, 80, 0.5);
        transform: translateY(-2px);
        transition: transform 1.0s ease;
    }
    /* --- Process Steps --- */
    .process-title {
        color: var(--jamuna-purple);
        font-weight: 700;
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

.step-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
}

    /* The connecting line */
    .step-container::before {
        content: '';
        position: absolute;
        top: 35px; /* Aligns with middle of box */
        left: 0;
        right: 0;
        height: 2px;
        background-color: #e0e0e0;
        z-index: 0;
    }

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.step-box {
    width: 60px;
    height: 60px;
    background-color: var(--jamuna-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px auto;
    border: 4px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
    .step-box:hover {
/*        background: linear-gradient(105deg, #001b33, #00355e);*/
        box-shadow: 0 20px 28px -8px rgba(0, 40, 80, 0.5);
        transform: translateY(-2px);
        transition: transform 2.0s ease;

    }
    /* Specific styling for Start (Green) and Success (Green) */
    .step-item:first-child .step-box, .step-item:last-child .step-box {
    background-color: var(--jamuna-green);
}

.step-text {
    color: var(--jamuna-purple);
    font-size: 1rem;
    font-weight: 500;
}

/* --- Requirements Section --- */
.req-title {
    color: var(--jamuna-purple);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 30px;
}

.req-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.req-list {
    list-style: none;
    padding: 0;
}

    .req-list li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
        font-size: 1.1rem;
        color: #444;
    }

        .req-list li::before {
            content: '\f00c'; /* FontAwesome Check */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--jamuna-green);
            position: absolute;
            left: 0;
            top: 2px;
        }

/* --- Security Notes --- */
.security-box {
    border: 2px solid var(--border-yellow);
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.security-icon {
    font-size: 3rem;
    color: var(--jamuna-purple);
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2));
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .security-list li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

        .security-list li::before {
            content: '';
            width: 10px;
            height: 10px;
            background-color: var(--jamuna-purple);
            position: absolute;
            left: 0;
            top: 8px;
        }

/* --- Footer --- */
footer {
    background-color: var(--jamuna-purple);
    color: white;
    padding: 60px 0 40px 0;
    margin-top: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
}

.footer-address, .footer-contact {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.footer-separator {
    border-left: 1px solid white;
    height: 100px;
}

/* =================================== */
/* RESPONSIVE MEDIA QUERIES            */
/* =================================== */

@media (max-width: 991px) {
    .hero-title, .hero-subtitle {
        font-size: 2.5rem;
    }
    .card-image {
        max-width:60%;
        height:auto;
    
    }

    .security-box {
        flex-direction: column;
        text-align: left;
    }

    .security-list li {
        padding-left: 0;
    }

        .security-list li::before {
            display: none;
        }

    .footer-separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-title, .hero-subtitle {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .main-content {
        padding: 40px 0;
    }

    .section-header {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .process-title, .req-title {
        font-size: 1.3rem;
    }

    .req-subtitle, .security-list li {
        font-size: 1rem;
    }
    /* Stack process steps vertically */
    .step-container {
        flex-direction: column;
        align-items: center;
    }

        .step-container::before {
            display: none; /* Hide line on mobile */
        }

    .step-item {
        margin-bottom: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 0 20px;
    }

    .step-box {
        margin: 0 20px 0 0;
    }

    footer {
        padding: 40px 0 20px 0;
    }
}