@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Tiro+Bangla:ital@0;1&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #1F1F1F;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.site-logo img {
    width: 2.5rem;
    height: 2.5rem;
}

.site-logo h1 {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #231F20;
}

.site-logo span {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #231F20;
}

.site-logo:hover span {
    color: #A024EA;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #F6F4EF 0%, #FFFFFF 50%, #F9F0FF 100%);
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.hero-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.hero h2 {
    font-family: 'Tiro Bangla', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: #231F20;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero h2 span {
    color: #A024EA;
}

.hero p {
    font-size: 1.125rem;
    color: #444;
    max-width: 36rem;
    margin: 0 auto;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #666;
}

/* Projects */
.projects {
    padding: 4rem 2rem 5rem;
    max-width: 75rem;
    margin: 0 auto;
}

.projects-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-heading h3 {
    font-family: 'Tiro Bangla', serif;
    font-size: 2rem;
    color: #231F20;
    margin-bottom: 0.5rem;
}

.projects-heading p {
    color: #666;
    font-size: 1.0625rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.75rem;
}

.project-card {
    background: #FFFFFF;
    border: 1px solid #E8E4DE;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
    box-shadow: 0 8px 32px rgba(160, 36, 234, 0.12);
    transform: translateY(-4px);
}

.project-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.project-icon.fever {
    background: #FFF0E6;
    color: #FE4D01;
}

.project-icon.wiser5 {
    background: #F3E8FF;
    color: #A024EA;
}

.project-icon.socialpst {
    background: #E8F4FD;
    color: #1A73E8;
}

.project-card h4 {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.375rem;
    color: #231F20;
    margin-bottom: 0.625rem;
}

.project-card p {
    color: #555;
    font-size: 0.9375rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #A024EA;
}

.project-link:hover {
    color: #FE4D01;
}

.project-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.project-link:hover svg {
    transform: translateX(3px);
}

/* Footer */
.site-footer {
    background: #231F20;
    color: #FFFFFF;
    padding: 2.5rem 2rem;
    text-align: center;
}

.footer-inner {
    max-width: 75rem;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #C27EE7;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: #FE4D01;
}

.footer-email {
    margin-bottom: 1rem;
}

.footer-email a {
    color: #FFFFFF;
    font-size: 0.9375rem;
}

.footer-email a:hover {
    color: #FE4D01;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: #999;
}

/* Legal pages */
.legal-page {
    padding-bottom: 3rem;
}

.legal-hero {
    background: linear-gradient(135deg, #F6F4EF 0%, #FFFFFF 50%, #F9F0FF 100%);
    padding: 3rem 2rem 2.5rem;
    text-align: center;
}

.legal-hero h1 {
    font-family: 'Tiro Bangla', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #231F20;
    margin-bottom: 0.5rem;
}

.legal-effective {
    font-size: 0.9375rem;
    color: #666;
}

.legal-content {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

.legal-content > p {
    margin-bottom: 1.25rem;
    color: #444;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.25rem;
    color: #231F20;
    margin-bottom: 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #E8E4DE;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.legal-section ul {
    margin: 0 0 1rem 1.25rem;
    color: #444;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.legal-section li {
    margin-bottom: 0.375rem;
}

.legal-section a {
    color: #A024EA;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #FE4D01;
}

.legal-contact {
    background: #F6F4EF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 0.5rem;
}

.legal-contact p {
    margin-bottom: 0.375rem;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .site-header {
        padding: 1rem 1.25rem;
    }

    .hero {
        padding: 2.5rem 1.25rem 3.5rem;
    }

    .projects {
        padding: 3rem 1.25rem 4rem;
    }

    .legal-hero {
        padding: 2rem 1.25rem 1.75rem;
    }

    .legal-content {
        padding: 2rem 1.25rem 0;
    }
}
