/* ============================================
   BHARTIY SINDHU SAHAKARI PAT SANSTHA
   Modern Professional Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f4c81;
    --primary-dark: #0a3660;
    --primary-light: #1a6bb5;
    --accent: #e8443a;
    --accent-light: #ff6b5e;
    --gradient-start: #0f4c81;
    --gradient-end: #1a6bb5;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f7f8fc;
    --bg-card: #ffffff;
    --border-light: #e5e7f0;
    --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.08);
    --shadow-md: 0 4px 15px rgba(15, 76, 129, 0.1);
    --shadow-lg: 0 10px 40px rgba(15, 76, 129, 0.12);
    --shadow-hover: 0 8px 30px rgba(15, 76, 129, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Header --- */
.site-header {
    background: var(--bg-white);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: none;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 12px 0;
}

.logo-area:hover {
    text-decoration: none;
}

.logo-area img {
    height: 65px;
    width: auto;
    border-radius: 6px;
}

.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: 0.5px;
}

/* --- Navigation --- */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 10px 20px;
    color: var(--text-medium);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(15, 76, 129, 0.06);
    text-decoration: none;
}

.main-nav a.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.3);
}

/* --- Hero Section (Home page) --- */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #2980b9 100%);
    color: #fff;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 45px 40px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

/* --- Main Content --- */
.main-content {
    max-width: 1100px;
    margin: -30px auto 40px;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

.content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 25px;
}

/* --- Financial Services (Home) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 4px 0 0 4px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 76, 129, 0.2);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.service-card .service-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Annual Report --- */
.report-year-section {
    margin-bottom: 35px;
}

.report-year-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.year-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.report-year-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.report-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
    flex-wrap: wrap;
    gap: 10px;
}

.report-item:hover {
    background: var(--bg-white);
    border-color: rgba(15, 76, 129, 0.15);
    box-shadow: var(--shadow-sm);
}

.report-item .report-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.report-item .report-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(15, 76, 129, 0.08);
    border-radius: 8px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.download-btn:hover {
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
}

/* --- Photo Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: rgba(15, 76, 129, 0.2);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card .contact-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-card .contact-value {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- About --- */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.04), rgba(26, 107, 181, 0.06));
    padding: 30px 35px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-medium);
}

.about-highlight .org-name {
    font-weight: 700;
    color: var(--primary);
    font-style: italic;
    font-size: 1.15rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(135deg, #0a2a47 0%, var(--primary-dark) 100%);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 35px 40px;
    margin-top: 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

.site-footer a:hover {
    color: #fff;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.footer-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 15px auto;
    border-radius: 3px;
}

/* --- Scroll to Top Button --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
    transition: all var(--transition);
    z-index: 99;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav ul {
        justify-content: center;
        padding-bottom: 10px;
        gap: 3px;
    }

    .main-nav a {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .site-title {
        font-size: 0.95rem;
    }

    .logo-area img {
        height: 50px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .page-header {
        padding: 35px 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .main-content {
        padding: 0 15px;
        margin-top: -20px;
    }

    .content-card {
        padding: 25px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .report-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
