﻿html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-y: scroll;  /* it it is stop jumping*/
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 80px;
    padding-bottom: 60px;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f0f0f0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap:0;
    flex-wrap: wrap; /* ছোট স্ক্রিনে ব্রেক করবে */
}

/* Logo */
.logo {
    height: 50px;
    width: auto;
}

/* Text */
.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    text-align: left;
    margin-left: 10px;
}

    .header-text h2 {
        margin: 0;
        font-size: 30px;
        color: #B22222;
        font-weight: 700;
        font-family: 'Playfair Display', serif;
    }

    .header-text p {
        margin: 0;
        font-size: 14px;
        color: darkgreen;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }

.header-nav {
    display: flex;
    flex-wrap: wrap; /* ছোট স্ক্রিনে লাইন ব্রেক হবে */
}

    .header-nav .nav-link {
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        margin: 28px 5px 0 0;
        padding: 0 4px;
        color: black;
    }

        .header-nav .nav-link:hover {
            color: darkgreen;
            text-decoration: underline;
        }

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
    padding: 0 30px;
}

    .footer .text {
        display: inline-block;
        white-space: nowrap;
        font-weight: bold;
        font-size: 18px;
        color: #B22222;
        animation: slide-left 15s linear infinite;
    }

    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px;
        width: 100%;
        overflow: hidden;
    }

@keyframes slide-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.login-form-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.card {
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        height: 100px;
        object-fit: cover;
    }

section {
    padding: 0;
}

    section h2 {
        font-weight: bold;
        color: #333;
        margin-top: 0;
        padding: 0;
    }

    section p.lead {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    section.container.my-1 {
        padding-top: 10px;
    }

    section h2, section p {
        margin-top: 0;
        margin-bottom: 10px;
    }

.home-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.Home-image {
    width: 100%;
    height: auto; /* ছবিকে responsive বানাবে */
    max-width: 600px; /* বড় স্ক্রিনে limit */
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px !important;
    }
}

.login-title {
    color: #B22222;
}

.member-card-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
}

.member-card {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    height: 400px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease-in-out;
    background-image: url('../webimage/gemin.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
}

    .member-card:hover {
        transform: translateY(-4px);
    }

/* ==============================
   ✅ RESPONSIVE FIXES
   ============================== */

/* Tablet */
@media (max-width: 991px) {
    .header-text h2 {
        font-size: 24px;
    }

    .header-nav {
        margin-top: 10px;
        justify-content: center;
    }

    .Home-image {
        max-width: 100%;
        height: auto;
    }

    .member-card {
        height: auto;
        min-height: 250px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body {
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .header {
        flex-direction: column;
        padding: 10px 15px;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .header-text {
        margin-left: 0;
        text-align: center;
    }

        .header-text h2 {
            font-size: 20px;
        }

    .header-nav {
        flex-direction: column;
        margin: 10px 0;
    }

        .header-nav .nav-link {
            margin: 5px 0;
            font-size: 16px;
        }

    .Home-image {
        height: auto;
        max-width: 100%;
    }

    .member-card {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .login-title {
        font-size: 18px;
        text-align: center;
    }
}



.connect-section {
    text-align: center; /* center text and icons */
    margin-top: 20px;
}

.connect-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px; /* space between text and icons */
}

.social-links {
    display: flex;
    justify-content: center; /* center icons horizontally */
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: background 0.3s;
    text-decoration: none;
}

/* Individual colors */
.facebook {
    background: #1877f2;
}

.messenger {
    background: #0084ff;
}

.whatsapp {
    background: #25d366;
}

.social-icon:hover {
    opacity: 0.8;
}
