/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Devanagari', 'Hind Marathi', Arial, sans-serif;
    color: #2d3748; /* Default text color for most pages */
  /*  overflow-x: hidden;*/
}

/* Color Variables (Centralized) */
:root {
    --primary-color: #1e3a8a;        /* Navy Blue */
    --secondary-color: #ff6b35;       /* Orange */
    --accent-color: #3b82f6;          /* Blue */
    --text-dark: #2c3e50;             /* Dark Grey */
    --text-light: #f8fafc;            /* Light Grey */
    --bg-light: #f8f9fa;              /* Light Background */
    --bg-warm: #f1f5f9;               /* Warm Background */
    --border-color: #94a3b8;          /* Grey Border */
    --error-color: #dc2626;           /* Red Error */
    --success-color: #059669;         /* Green Success */
    --warning-color: #f59e0b;         /* Yellow Warning */
    --muted-color: #6b7280;           /* Muted Grey */
}

/* Common Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Common Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 1rem;
}

/* Profile Dropdown */
.profile-container {
    position: relative;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: var(--text-dark);
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    overflow: hidden;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-info {
    padding: 1rem;
    border-bottom: 1px solid var(--bg-warm);
    text-align: center;
}

.profile-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--bg-warm);
    color: var(--primary-color);
}

.logout-btn {
    color: var(--error-color);
    border-top: 1px solid var(--bg-warm);
}

.logout-btn:hover {
    background: #fee2e2;
    color: var(--error-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 3px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Common Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff8c60);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c60, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Common Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Common Footer Styles */
.main-footer {
    background: #1a202c;
    color: white;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Loader Page Specific Styles */
.loader-body {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 400% 400%;
    animation: backgroundShift 8s ease-in-out infinite;
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loader-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 50px 50px, -50px -50px; }
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 600px;
    padding: 2rem;
}

.loader-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 53, 0.4); }
    100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 53, 0.7); }
}

.loader-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin: 0 0 3rem 0;
    opacity: 0.9;
    font-weight: 400;
}

.folk-arts-carousel {
    position: relative;
    height: 200px;
    margin-bottom: 3rem;
}

.folk-art-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 107, 53, 0.3);
    min-width: 200px;
}

.folk-art-item.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 107, 53, 0.6);
}

.folk-art-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: iconBounce 1.5s ease-in-out infinite;
    color: var(--secondary-color);
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.folk-art-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.folk-art-item p {
    font-size: 1rem;
    color: #e2e8f0;
    margin: 0;
    opacity: 0.8;
}

.loading-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: 10px;
    width: 0%;
    animation: progressFill 4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300px); }
}

.loading-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin: 0;
    opacity: 0.8;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.decorative-border {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), transparent);
    z-index: 1;
}

.top-border {
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    animation: borderPulse 3s ease-in-out infinite;
}

.bottom-border {
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    animation: borderPulse 3s ease-in-out infinite 1.5s;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.decorative-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(59, 130, 246, 0.7);
    z-index: 1;
}

.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0;
}

.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 15px 0 0;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 15px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.fade-out {
    pointer-events: none;
}

/* Login Page Specific Styles */
.login-page {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 2rem;
    z-index: 10;
}

.login-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: patternFloat 15s linear infinite;
    z-index: 1;
}

@keyframes patternFloat {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px -60px; }
}

.login-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.login-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-subtitle {
    color: var(--secondary-color);
    opacity: 0.8;
    font-weight: 500;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.alert-icon {
    font-size: 1.2rem;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: var(--error-color);
    margin-left: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: var(--muted-color);
    opacity: 0.7;
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--muted-color);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 1rem;
}

.checkbox-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkmark {
    height: 20px;
    width: 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn-text {
    flex: 1;
}

.btn-icon {
    font-size: 1.2rem;
}

.login-links {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #e55a32;
    text-decoration: underline;
}

.demo-credentials {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px dashed var(--accent-color);
}

.demo-credentials h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.demo-credentials p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.demo-credentials strong {
    color: var(--accent-color);
}

.demo-credentials em {
    color: var(--muted-color);
    font-style: italic;
}

.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.folk-pattern {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.folk-pattern-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    color: var(--secondary-color);
}

.folk-pattern-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    color: var(--accent-color);
}

.folk-pattern-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
    color: var(--primary-color);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .btn-primary {
    background: #ccc;
}

/* Home Page Specific Styles */
.home-body {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
}

.home-header .main-header {
    background: linear-gradient(135deg, var(--secondary-color) 0% , var(--primary-color) 100%);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.english-text {
    text-align: center;
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.marathi-text {
    display: block;
    font-size: 3.9rem;
    background: #ffff02;
    /* background: linear-gradient(45deg, #eaff00, #d0ff00); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    min-width: 140px;
    justify-content: center;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.slider-section {
    /* Removed padding here */
    background: white;
}

.image-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    height: 60vh;
    min-height: 300px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.org-info-section {
    /* Removed padding here */
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
}

.org-info-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.org-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
}

.org-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--muted-color);
    font-size: 0.9rem;
}

.team-section {
    /* Removed padding here */
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    font-size: 0.9rem;
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-warm), #e2e8f0);
    color: var(--muted-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-2px);
}

.highlights-section {
    /* Removed padding here */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Lokakala Page Specific Styles */
.lokakala-body {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.main-content {
    padding: 3rem 0; /* This was the original padding */
}

/* New class for main-content without padding */
.main-content-no-padding {
    padding: 0; /* Remove padding from the main container */
}

/* New class for consistent section padding */
.section-padding {
    padding: 3rem 0; /* Apply padding directly to sections */
}


.stats-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--muted-color);
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.lokakala-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lokakala-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.lokakala-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c60);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lokakala-card:hover .card-overlay {
    opacity: 1;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lokakala-card:hover .card-image::before {
    transform: translateX(100%);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-description {
    color: var(--muted-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature, .highlight-card, .team-member, .lokakala-card, .stat-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature:nth-child(1), .lokakala-card:nth-child(1), .stat-item:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2), .lokakala-card:nth-child(2), .stat-item:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3), .lokakala-card:nth-child(3), .stat-item:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4), .lokakala-card:nth-child(4), .stat-item:nth-child(4) { animation-delay: 0.4s; }
.lokakala-card:nth-child(5) { animation-delay: 0.5s; }
.lokakala-card:nth-child(6) { animation-delay: 0.6s; }
.lokakala-card:nth-child(7) { animation-delay: 0.7s; }
.lokakala-card:nth-child(8) { animation-delay: 0.8s; }
.lokakala-card:nth-child(9) { animation-delay: 0.9s; }
.lokakala-card:nth-child(10) { animation-delay: 1.0s; }
.lokakala-card:nth-child(11) { animation-delay: 1.1s; }
.lokakala-card:nth-child(12) { animation-delay: 1.2s; }
.lokakala-card:nth-child(13) { animation-delay: 1.3s; }
.lokakala-card:nth-child(14) { animation-delay: 1.4s; }

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }


/* Responsive Design (Mobile-First Approach) */

/* Small devices (phones, 480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Loader Page */
    .loader-content {
        padding: 1rem;
    }
    .loader-title {
        font-size: 1.8rem;
    }
    .folk-arts-carousel {
        height: 180px;
        margin-bottom: 2rem;
    }
    .folk-art-item {
        min-width: 160px;
        padding: 0.8rem;
    }
    .progress-bar {
        width: 200px;
    }

    /* Login Page */
    .login-container {
        margin: 0.5rem;
    }
    .login-form-container {
        padding: 1rem;
        border-radius: 15px;
    }
    .login-title {
        font-size: 1.3rem;
    }
    .login-subtitle {
        font-size: 0.9rem;
    }
    .login-logo {
        font-size: 2.5rem;
    }
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Home Page */
    .hero-title {
        font-size: 1.4rem;
    }
    .english-text {
        font-size: 1rem;
    }
    .marathi-text {
        font-size: 2.2rem;
    }
    .slider-container {
        height: 40vh;
        min-height: 200px;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    .main-nav ul {
        gap: 0.5rem;
    }
    .btn-hero {
        width: 100%;
        max-width: 200px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .section-padding { /* Adjusted for mobile */
        padding: 2rem 0;
    }

    /* Lokakala Page */
    .page-title {
        font-size: 1.6rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .card-image {
        height: 160px;
        font-size: 2.5rem;
    }
    .card-title {
        font-size: 1.3rem;
    }
}

/* Medium devices (tablets, 768px and below) */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide desktop nav on smaller screens */
    }
    .mobile-menu-toggle {
        display: flex; /* Show hamburger icon */
    }

    /* Loader Page */
    .loader-title {
        font-size: 2rem;
    }
    .loader-subtitle {
        font-size: 1rem;
    }
    .folk-art-item {
        min-width: 180px;
        padding: 1rem;
    }
    .folk-art-icon {
        font-size: 3rem;
    }
    .folk-art-item h3 {
        font-size: 1.2rem;
    }
    .progress-bar {
        width: 250px;
    }
    .decorative-corner {
        width: 40px;
        height: 40px;
    }

    /* Login Page */
    .login-container {
        margin: 1rem;
        max-width: 100%;
    }
    .login-form-container {
        padding: 1.5rem;
    }
    .login-title {
        font-size: 1.5rem;
    }
    .login-logo {
        font-size: 3rem;
    }

    /* Home Page */
    .hero-title {
        font-size: 1.6rem;
    }
    .english-text {
        font-size: 1.1rem;
    }
    .marathi-text {
        font-size: 2.4rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .slider-container {
        height: 50vh;
        min-height: 250px;
    }
    .slide-text {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 0.75rem;
    }
    .slide-title {
        font-size: 1.2rem;
    }
    .slide-description {
        font-size: 0.85rem;
    }
    .btn-hero {
        width: 100%;
        max-width: 200px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .org-features {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .team-member {
        padding: 1.5rem;
    }
    .section-padding { /* Adjusted for tablet */
        padding: 2.5rem 0;
    }

    /* Lokakala Page */
    .page-title {
        font-size: 2rem;
    }
    .page-subtitle {
        font-size: 1rem;
    }
    .lokakala-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .container {
        padding: 0 10px;
    }
    .card-content {
        padding: 1.25rem;
    }
    .card-image {
        height: 180px;
        font-size: 3rem;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01s !important;
    }
    .loader-bg-pattern,
    .login-bg-pattern,
    .folk-pattern,
    .login-logo {
        animation: none !important;
    }
}

@media (prefers-contrast: high) {
    .folk-art-item {
        border: 2px solid white;
        background: rgba(0, 0, 0, 0.8);
    }
    .loader-title {
        text-shadow: 2px 2px 0px black;
    }
    .login-form-container {
        background: white !important;
        border: 2px solid black !important;
    }
    .btn-primary {
        background: black !important;
        color: white !important;
        border: 2px solid white;
    }
    .form-input:focus {
        border: 3px solid black !important;
        box-shadow: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    .login-form-container {
        background: rgba(30, 58, 138, 0.9) !important;
        color: white;
        border-color: rgba(59, 130, 246, 0.3);
    }
    .form-input {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white;
        border-color: rgba(148, 163, 184, 0.5);
    }
    .form-input::placeholder {
        color: rgba(226, 232, 240, 0.7);
    }
    .form-label {
        color: #e2e8f0;
    }
    .checkbox-label {
        color: #e2e8f0;
    }
    .login-title {
        color: var(--text-light);
    }
    .main-footer {
        background: #0f172a;
    }
    .footer-section h3 {
        color: var(--secondary-color);
    }
    .footer-section p,
    .footer-section a {
        color: #94a3b8;
    }
    .footer-bottom {
        border-top-color: #334155;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn, .btn-hero {
        min-height: 44px;
        min-width: 44px;
    }
    .form-input {
        min-height: 44px;
    }
    .password-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    /* Remove hover effects on touch devices */
    .btn-primary:hover, .btn-hero-primary:hover, .btn-hero-secondary:hover {
        transform: none;
        box-shadow: none;
    }
    .lokakala-card:hover, .feature:hover, .highlight-card:hover, .team-member:hover, .stat-item:hover {
        transform: none;
        box-shadow: none;
    }
}

.header-logo {
    margin-right: 5px; /* Adjust as needed */
}

.header-logo img {
    height: 80px; /* Adjust size as needed */
    width: auto;
}

/* You might need to adjust .header-content to use flexbox for alignment */
.main-header .container .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Or flex-start if logo is always left */
}
.slide-image {
    position: relative; /* Needed for absolute positioning of text */
    width: 100%;
    height: 100%; /* Or a fixed height */
    overflow: hidden;
    border-radius: 10px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    display: block;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.team-photo {
    width: 200px; /* Adjust size as needed */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    background-color: #f0f0f0; /* Fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the circular area */
    display: block;
}
.lokakala-card .card-image {
    height: 200px; /* Or desired height for the image container */
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex; /* To center image if it's smaller than container */
    align-items: center;
    justify-content: center;
}

.lokakala-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    display: block;
}
