/* Basundhara NJFSC Private Limited - Main Stylesheet */

:root {
    --carafe: #634f40;
    --peach: #d57932;
    --misty-blue: #edf2f6;
    --dark-blue: #201e23;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--misty-blue);
}

/* Header Styles */
header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    color: var(--peach);
    font-size: 1.8rem;
}

.logo p {
    color: var(--misty-blue);
    font-size: 0.9rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.nav-menu ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--peach);
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header {
    display: inline-block;
    padding: 5px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-align: center;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--peach);
    color: var(--peach) !important;
}

.btn-login:hover {
    background-color: var(--peach);
    color: var(--white) !important;
}

.btn-register {
    background-color: var(--peach);
    color: var(--white) !important;
    border: 2px solid var(--peach);
}

.btn-register:hover {
    background-color: var(--carafe);
    border-color: var(--carafe);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--carafe), var(--dark-blue));
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--peach);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--peach);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--carafe);
}

.btn-secondary {
    background-color: var(--carafe);
}

.btn-secondary:hover {
    background-color: var(--peach);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--carafe);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--peach);
}

/* Income Programs Grid */
.income-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.income-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--peach);
}

.income-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.income-card h3 {
    color: var(--carafe);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.income-card p {
    color: var(--dark-blue);
    line-height: 1.8;
}

.income-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--peach);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background-color: var(--white);
    padding: 3rem 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--peach);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.feature-box h3 {
    color: var(--carafe);
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.about-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.about-content h3 {
    color: var(--carafe);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-content h3:first-of-type {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-color: var(--carafe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--peach);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    color: var(--carafe);
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--peach);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: var(--carafe);
}

/* Contact Form Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--carafe);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--misty-blue);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--peach);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--carafe);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.info-item::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--peach);
    font-size: 1.5rem;
}

.info-item h4 {
    color: var(--carafe);
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--peach);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--peach);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--carafe);
    color: var(--misty-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-blue);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

    .menu-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        align-items: stretch;
    }

    .nav-menu ul li {
        text-align: center;
        border-bottom: 1px solid rgba(213, 121, 50, 0.2);
    }

    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-menu ul li a {
        display: block;
        padding: 1rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .btn-header {
        width: 100%;
        padding: 5px 24px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .income-grid,
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
