/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background */
body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(to bottom, #e0f2f1, #fefcea);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Subtle Islamic Pattern */
.background-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    opacity: 0.08;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 90%;
    text-align: center;
    padding: 2rem;
}

/* Header */
header h1 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

header .app-name {
    font-family: 'Cairo', sans-serif;
    font-size: 2rem;
    color: #00695c;
    margin-bottom: 0.5rem;
}

header .subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    color: #4e7d70;
    margin-bottom: 3rem;
}

/* Downloads Section */
.downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* Card Styles */
.card {
    position: relative;
    display: flex; /* Make card a flex container */
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Push button to bottom */
    background-image: url('img/WhatsApp%20Image%202025-04-27%20at%2022.28.47_09648ed5.jpg'); /* 👈 fixed URL escaping */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: white; /* Make text readable */
    margin-bottom: 2rem;
    overflow: hidden;
    height: 350px; /* <-- Optional: fix a height so button has space */
}

.card .btn {
    margin-top: 15rem; /* Give a little breathing space */
}
/* Make sure the text and icon are still clear */
.card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255,255,255,0.8); /* Soft white button */
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: rgba(255,255,255,1);
}


.card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Button */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background-color: #EBF5ED;
    color: rgb(7, 1, 1);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #E5E2CD;
}

/* Android Card */
.card.android i {
    color: #EBF5ED;
}

.card.android h3 {
    color: #2e7d32;
}

/* iOS Card */
.card.ios i {
    color: #0d47a1;
}

.card.ios h3 {
    color: #0d47a1;
}

.card.ios .btn {
    background-color: #EBF5ED;
}

.card.ios .btn:hover {
    background-color: #E5E2CD;
}


/* Instruction Section */
.instruction {
    margin-top: 4rem;
    text-align: center;
}

.instruction-title {
    font-size: 1.8rem;
    color: #00695c;
    margin-bottom: 1.5rem;
    font-family: 'Cairo', sans-serif;
}

/* Video Responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}












/* Three Words Style */
.three-words {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 2rem;
    font-family: 'Cairo', sans-serif;
    direction: ltr;
    margin-bottom: 2rem;
}

.three-words span {
    flex: 1;
    text-align: center;
}

.three-words .left {
    text-align: left;
}

.three-words .center {
    text-align: center;
}

.three-words .right {
    text-align: right;
}

/* Responsive */
@media (max-width: 600px) {
    .downloads {
        flex-direction: column;
    }

    header h1 {
        font-size: 2rem;
    }

    header .app-name {
        font-size: 1.5rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    .card {
        width: 100%;
    }

    /* Keep Three Words in One Line, just reduce font size */
    .three-words {
        font-size: 1.2rem; /* মোবাইলে ফন্ট ছোট */
        padding: 0.5rem 1rem;
    }
}
