* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #f37022;
    --secondary-color: #0f172a;
    --accent-color: #f7a81b;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

body, html {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

a {
    text-decoration: none;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Cinzel', serif;
}

.logo-area { 
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon img {    
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-name { 
    color: #ea580c; 
    font-size: 1.25rem; 
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ea580c;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Cinzel', serif;
}

.nav-links a:hover { 
    color: #ea580c;
}

.nav-links li {
    position: relative; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e293b; 
    min-width: 180px; 
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3); 
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 100;
    top: 100%;
    left: 0;
    border-radius: 6px; 
    border-top: 3px solid #ea580c; 
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    color: #f1f5f9; 
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #e67e22;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-donate {
    background: #ea580c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(12, 35, 64, 0.85), rgba(12, 35, 64, 0.85)), url(vivekanandanew02.png) no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-weight: 300;
    opacity: 0.9;
}

.quote-container {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px 25px;
    display: inline-block;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
}

.quote-author {
    display: block;
    font-weight: 600;
    margin-top: 5px;
    color: var(--accent-color);
}

/* --- Philosophy & Vision --- */
.vision-section {
    background-color: var(--white);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.vision-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.vision-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.vision-highlights {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--secondary-color);
}

.vision-highlights h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* --- The Three Pillars (Trishul) --- */
.pillars-section {
    background-color: #f0f4f8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.pillar-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(243, 112, 34, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 25px auto;
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.pillar-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: justify;
}

/* --- Spirit Banner --- */
.spirit-banner {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.spirit-banner h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.spirit-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Registered Info & Contact --- */
.info-section {
    background-color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-details h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-list-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.info-list-item div h5 {
    font-size: 1rem;
    color: var(--secondary-color);
}

.info-list-item div p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.other-initiatives h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-grid p {
    line-height: 1.8;
    color: #999;
    font-size: 0.95rem;
}

.footer-links a {
    display: block;
    margin-bottom: 14px;
    color: #999;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ff6600;
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================
MOBILE & TABLET RESPONSIVE FIXES
========================================== */

@media (max-width: 992px) {
    /* Navbar Adjustment */
    .navbar {
        flex-wrap: wrap;
        padding: 0.8rem 4%;
    }

    .menu-toggle {
        display: block;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        background: #ffffff;
        padding: 10px 0;
        margin-top: 10px;
        border-top: 1px solid #e2e8f0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 15px;
        text-align: center;
        width: 100%;
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #1e293b;
        text-align: center;
    }

    .dropdown-content li a {
        text-align: center;
    }

    /* Hero Section Fixes */
    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .quote-container {
        padding: 12px 18px;
    }

    .quote-text {
        font-size: 0.95rem;
    }

    /* Vision, Pillars & Info Grids Fix */
    .vision-grid, 
    .pillars-grid, 
    .info-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .container {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .spirit-banner {
        padding: 40px 15px;
    }

    .spirit-banner h2 {
        font-size: 1.5rem;
    }

    .spirit-banner p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.8rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .btn-donate {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}