/* Gnanajyothi - Static Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--amber-100);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--amber-800);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--amber-600);
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.2s;
}

.nav a:hover, .nav a.active {
    background: var(--amber-100);
    color: var(--amber-800);
}

.nav-cta {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500)) !important;
    color: white !important;
    padding: 10px 20px !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.nav-cta:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--amber-50), var(--white));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amber-100);
    color: var(--amber-700);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.hero h1 span {
    color: var(--amber-600);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--amber-300);
    color: var(--amber-700);
}

.btn-outline:hover {
    background: var(--amber-50);
}

.btn-white {
    background: white;
    color: var(--amber-600);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background: var(--amber-50);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background: linear-gradient(180deg, var(--amber-50), var(--white));
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid var(--gray-100);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--amber-100);
    color: var(--amber-700);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.card-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* Highlight Cards */
.highlight-card {
    background: var(--gray-50);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s;
}

.highlight-card:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.highlight-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Featured Sloka */
.featured-sloka {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.featured-sloka-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.featured-sloka-content {
    padding: 48px;
    text-align: center;
}

.featured-sloka-chapter {
    color: var(--amber-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.featured-sloka-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-800);
    font-family: serif;
    margin-bottom: 24px;
}

.featured-sloka-divider {
    width: 60px;
    height: 2px;
    background: var(--amber-300);
    margin: 24px auto;
}

.featured-sloka-meaning {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 12px;
}

.featured-sloka-meaning strong {
    color: var(--amber-700);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--amber-50), var(--amber-100));
    padding: 60px 0 30px;
    border-top: 1px solid var(--amber-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--amber-500);
    color: white;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber-700);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact span {
    color: var(--amber-600);
}

.footer-bottom {
    border-top: 1px solid var(--amber-200);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Sloka Page */
.sloka-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid var(--amber-300);
    background: transparent;
    color: var(--amber-700);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: white;
}

.sloka-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--amber-100);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.sloka-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.sloka-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background 0.2s;
}

.sloka-header:hover {
    background: var(--amber-50);
}

.sloka-preview {
    font-family: serif;
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-top: 12px;
}

.sloka-toggle {
    color: var(--amber-600);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.sloka-card.expanded .sloka-toggle {
    transform: rotate(180deg);
}

.sloka-body {
    display: none;
    padding: 24px;
    border-top: 1px solid var(--amber-100);
    background: linear-gradient(180deg, rgba(254, 243, 199, 0.3), white);
}

.sloka-card.expanded .sloka-body {
    display: block;
}

.sloka-section {
    margin-bottom: 24px;
}

.sloka-section:last-child {
    margin-bottom: 0;
}

.sloka-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--amber-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sloka-section p {
    color: var(--gray-700);
    line-height: 1.8;
}

.sloka-section .sanskrit {
    font-family: serif;
    font-size: 1.2rem;
    text-align: center;
    white-space: pre-line;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--amber-200);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Cards */
.contact-info-card {
    background: white;
    border: 1px solid var(--amber-100);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.contact-info-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--amber-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-info p {
    color: var(--amber-700);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Training Programs */
.program-card {
    background: var(--amber-50);
    border: 2px solid var(--amber-200);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}

.program-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.program-card.blue {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.program-card.green {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.program-icon {
    width: 48px;
    height: 48px;
    background: var(--amber-500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.program-card.blue .program-icon {
    background: #3b82f6;
}

.program-card.green .program-icon {
    background: #10b981;
}

.program-badge {
    background: var(--amber-100);
    color: var(--amber-700);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.program-card.blue .program-badge {
    background: #dbeafe;
    color: #1d4ed8;
}

.program-card.green .program-badge {
    background: #d1fae5;
    color: #047857;
}

.program-meta {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.program-features {
    list-style: none;
    margin: 20px 0;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.program-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--amber-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.program-card.blue .program-features li::before {
    background: #3b82f6;
}

.program-card.green .program-features li::before {
    background: #10b981;
}

/* Video Grid */
.video-card {
    position: relative;
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-card:hover .video-overlay {
    background: rgba(0,0,0,0.5);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--amber-600);
    transition: transform 0.3s;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

.video-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
}

.video-category.training {
    background: #3b82f6;
}

.video-category.events {
    background: #10b981;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal-body {
    padding: 24px;
}

/* Donate Page */
.donate-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.donate-option {
    padding: 20px;
    border: 2px solid var(--amber-200);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.donate-option:hover {
    border-color: var(--amber-400);
    background: var(--amber-50);
}

.donate-option h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-600);
    margin-bottom: 4px;
}

.donate-option p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    color: white;
}

.stats-grid h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-grid p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 2000;
    display: none;
    align-items: center;
    gap: 12px;
}

.toast.show {
    display: flex;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-bottom: 1px solid var(--amber-100);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav.active a {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donate-options {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
