/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5276;
    --secondary-color: #d4ac0d;
    --accent-color: #922b21;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --gray-color: #7f8c8d;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--gray-color);
    letter-spacing: 2px;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(212, 172, 13, 0.2)),
                url('image/hero-background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.mantra-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-logo-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    height: 120px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.mantra-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    fill: white;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.principle {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.principle:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.principle i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.principle h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Philosophy Section */
.philosophy {
    background-color: var(--light-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.philosophy-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.drive-info {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    margin-top: 30px;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 1.2rem;
    font-weight: 500;
}

.event-content {
    padding: 25px;
    flex: 1;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-time {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-desc {
    color: var(--text-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ============================================
   GALLERY STYLES - UPDATED VERSION
   ============================================ */

/* Gallery Header */
.gallery-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #1a5276, #2c3e50);
    border-radius: 10px;
    color: white;
}

.gallery-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: white;
}

.gallery-header .count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

.info-note {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
    display: inline-block;
}

/* Folder Grid */
.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Folder Card */
.folder-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    cursor: pointer;
}

.folder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Folder Thumbnail */
.folder-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.folder-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.folder-card:hover .folder-thumb img {
    transform: scale(1.05);
}

.folder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 82, 118, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.folder-card:hover .folder-overlay {
    opacity: 1;
}

.folder-overlay i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.folder-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.folder-details {
    padding: 20px;
}

.folder-details h3 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.folder-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-count {
    font-size: 1rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-count i {
    color: var(--primary-color);
}

.count-number {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.view-folder-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.view-folder-btn:hover {
    background: #134b6d;
    transform: translateX(5px);
}

/* Image Gallery Header */
.image-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 20px;
}

.back-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #134b6d;
    transform: translateX(-5px);
}

.gallery-title {
    flex-grow: 1;
    text-align: center;
}

.gallery-title h2 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.image-count {
    background: #e9ecef;
    color: var(--gray-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.gallery-controls {
    display: flex;
    gap: 15px;
}

.slideshow-btn {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.slideshow-btn:hover {
    background: #c29a0c;
    transform: translateY(-3px);
}

.drive-btn {
    background: #4285f4;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.drive-btn:hover {
    background: #3367d6;
    transform: scale(1.1);
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eaeaea;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.image-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-thumb img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

.image-info {
    padding: 20px;
}

.image-name {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* ============================================
   HORIZONTAL SLIDER STYLES - FIXED
   ============================================ */

/* Horizontal Folder Slider */
.horizontal-slider {
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.05), rgba(212, 172, 13, 0.05));
    padding: 30px 60px;
}

.slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}

.slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

.slider-card {
    flex: 0 0 auto;
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.slider-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slider-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slider-card:hover .slider-thumb img {
    transform: scale(1.1);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 82, 118, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-card:hover .slider-overlay {
    opacity: 1;
}

.slider-overlay i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.slider-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.slider-content {
    padding: 20px;
}

.slider-content h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.slider-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-count {
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.slider-count i {
    color: var(--primary-color);
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Image Slider (for images inside folder) */
.image-slider {
    position: relative;
    margin: 30px 0;
}

.image-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.05);
    padding: 20px 60px;
}

.image-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.image-slider-card {
    flex: 0 0 auto;
    width: 250px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.image-slider-thumb {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-slider-card:hover .image-slider-thumb img {
    transform: scale(1.05);
}

.image-slider-info {
    padding: 15px;
}

.image-slider-info p {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Slider Header */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.slider-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.slider-actions {
    display: flex;
    gap: 10px;
}

.btn-auto-scroll {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-auto-scroll:hover {
    background: #c29a0c;
}

/* ============================================
   LIGHTBOX STYLES - FIXED (NO BLACK STRIPS)
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 95vw;
    height: 95vh;
    max-width: 1400px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 100px);
    padding: 0 10px;
    position: relative;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev-btn {
    left: 20px;
}

.nav-btn.next-btn {
    right: 20px;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

#lightboxImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #000;
    display: block;
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 20px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    padding: 0 20px;
}

.lightbox-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.image-counter {
    font-size: 0.95rem;
    color: #aaa;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
}

.lightbox-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lightbox-actions button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-actions button:hover {
    background: #1a6ca0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 82, 118, 0.3);
}

.lightbox-actions .stop-slideshow {
    background: var(--accent-color);
}

.lightbox-actions .stop-slideshow:hover {
    background: #a8231a;
}

/* Download button specific */
.lightbox-actions button:nth-child(1) {
    background: #2ecc71;
}

.lightbox-actions button:nth-child(1):hover {
    background: #27ae60;
}

/* Slideshow button specific */
.lightbox-actions button:nth-child(2) {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.lightbox-actions button:nth-child(2):hover {
    background: #e6b800;
}

/* Loading States */
.gallery-loading {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error and Empty States */
.error-state, .empty-state {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.error-state i, .empty-state i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 25px;
}

.empty-state i {
    color: #6c757d;
}

.error-state h3, .empty-state h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.error-state ul {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    padding-left: 20px;
}

.error-state li {
    margin-bottom: 8px;
}

.view-drive-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-drive-btn:hover {
    background: #3367d6;
    transform: translateY(-3px);
}

/* Loading Animation */
.loading-state {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.loading-state::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

.spinner {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.spinner i {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .principles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .folder-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 10px 0;
        justify-content: center;
    }
    
    .mantra-display {
        flex-direction: column;
        gap: 20px;
    }
    
    .vertical-letters {
        flex-direction: row;
        padding: 10px;
    }
    
    .letter-row {
        padding: 5px 10px;
        font-size: 2rem;
    }
    
    .mantra-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .principles,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Responsive */
    .gallery-header {
        padding: 20px;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .folder-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .folder-thumb {
        height: 220px;
    }
    
    .image-gallery-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .gallery-title {
        order: 2;
    }
    
    .back-btn {
        order: 1;
        align-self: flex-start;
    }
    
    .gallery-controls {
        order: 3;
        align-self: flex-end;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .image-thumb {
        height: 180px;
    }
    
    /* Slider Responsive */
    .slider-container {
        padding: 20px 50px;
    }
    
    .slider-card {
        width: 250px;
    }
    
    .slider-thumb {
        height: 160px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-slider-container {
        padding: 15px 50px;
    }
    
    .image-slider-card {
        width: 200px;
    }
    
    .image-slider-thumb {
        height: 150px;
    }
    
    /* Lightbox Responsive */
    .lightbox-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .lightbox-nav {
        height: calc(100% - 120px);
        padding: 0 10px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-info {
        padding: 15px;
    }
    
    .lightbox-info h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .lightbox-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-counter {
        order: 1;
    }
    
    .lightbox-actions {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .lightbox-actions button {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .mantra-text h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .gallery-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .hero-logo {
        height: 80px;
        max-width: 150px;
    }
    
    .vertical-letters {
        flex-direction: row;
        padding: 10px;
    }
    
    .letter-row {
        font-size: 1.5rem;
        padding: 3px 8px;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    /* Gallery Responsive */
    .folder-grid {
        grid-template-columns: 1fr;
    }
    
    .folder-thumb {
        height: 200px;
    }
    
    .folder-details {
        padding: 20px;
    }
    
    .folder-details h3 {
        font-size: 1.1rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
    
    /* Slider Responsive */
    .slider-container {
        padding: 15px 40px;
    }
    
    .slider-card {
        width: 220px;
    }
    
    .slider-thumb {
        height: 140px;
    }
    
    .image-slider-container {
        padding: 10px 40px;
    }
    
    .image-slider-card {
        width: 180px;
    }
    
    .image-slider-thumb {
        height: 130px;
    }
    
    /* Lightbox Responsive */
    .lightbox-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .lightbox-header {
        padding: 10px;
    }
    
    .lightbox-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lightbox-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .lightbox-actions button {
        width: 100%;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}