/* Reset and base styles */
:root {
    --color-primary: #ffffff;         /* Deep blue for headings */
    --color-secondary: #f3b17c;       /* Bright orange for accents/buttons */
    --color-accent: #7ec6f7;          /* Light blue for secondary buttons */
    --color-bg: #fff8ee;              /* Soft cream background */
    --color-surface: #f9f6f2;         /* Slightly darker cream for cards/sections */
    --color-text: #22304a;            /* Dark blue for main text */
    --color-muted: #6b7a90;           /* Muted blue-gray for secondary text */
    --color-success: #ffe066;         /* Soft yellow for highlights/icons */
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-nav-bg: rgba(255, 255, 255, 0.95);
    --color-nav-shadow: rgba(0, 0, 0, 0.1);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

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

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed navbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--color-nav-shadow);
    z-index: 1000;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-secondary);
    background: rgba(243, 177, 124, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--color-secondary);
    background: rgba(243, 177, 124, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}


.nav-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-accent);
}

.nav-btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 198, 247, 0.3);
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), #e9a86a);
    color: var(--color-white);
    border: 2px solid transparent;
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #e9a86a, var(--color-secondary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 177, 124, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* Scrolled navbar styles */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-nav-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: left var(--transition-medium);
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 200px;
        text-align: center;
        border-radius: 15px;
    }

    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    body {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    body {
        padding-top: 70px;
    }
}   

.main-top-bg{
    color: var(--color-white);
    display: flex;
    font-size: 1.5em;
    background-image: url('data/images/main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.main-top{
    min-height: 100vh;
    display: flex;
    background-color: rgba(5, 3, 0, 0.6);
    width: 100%;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    flex-direction: column;
    color: var(--color-secondary);
}

.main-top h1 {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-top p {
    font-size: 1.2em;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Container for sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section styles */
.services-section,
.about-section,
.lectors-section,
.events-section,
.contact-section {
    padding: 6rem 0;
    text-align: center;
}

.services-section {
    background: var(--color-surface);
}

.about-section {
    background: var(--color-bg);
}

.lectors-section {
    background: var(--color-surface);
}

/* Book Section */
.book-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.book-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.book-description h3 {
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.book-description p {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Book Image Styles */
.book-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.book-cover {
    position: relative;
    width: 200px;
    height: 280px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(2deg);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.book-cover:hover {
    transform: rotateY(-25deg) rotateX(5deg);
}

.book-spine {
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #e67e22, #d35400);
    transform-origin: right center;
    transform: rotateY(90deg);
}

.book-front {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 50%, #f7931e 100%);
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.book-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.book-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.book-decoration {
    font-size: 3rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.book-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    flex-shrink: 0;
}

.book-poems-section h3 {
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.book-poems-section > p {
    color: var(--color-muted);
    margin-bottom: 2rem;
}

/* Poems Glimpse View */
.poems-glimpse {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.poem-glimpse-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 177, 124, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.poem-glimpse-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.poem-glimpse-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.poem-glimpse-card:hover::after {
    transform: scaleX(1);
}

.glimpse-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.glimpse-content h5 {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.glimpse-content p {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.glimpse-more {
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Poem Popup */
.poem-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.poem-popup {
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.poem-popup h4 {
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 1rem;
}

.full-poem p {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

.poem-popup .poem-author {
    color: var(--color-accent);
    font-weight: 600;
    text-align: right;
    font-size: 1rem;
    margin-top: 1rem;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: rotate(90deg);
}

.events-section {
    background: var(--color-bg);
    padding: 6rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    display: flex;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 140, 66, 0.1);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.15);
}

.event-date {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    text-align: center;
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.event-content {
    padding: 2rem;
    flex: 1;
}

.event-title {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-location,
.event-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    background: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.contact-section {
    position: relative;
    overflow: hidden;
}



/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    position: relative;
    z-index: 1;
}

/* Contact Card */
.contact-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e5e5e5;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

/* Featured Card */
.contact-card.featured {
    border: 2px solid var(--color-secondary);
    background: linear-gradient(135deg, var(--color-white) 0%, #fefcf8 100%);
}

.contact-ribbon {
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--color-secondary);
    color: white;
    padding: 6px 35px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(243, 177, 124, 0.3);
}

/* Avatar Section */
.contact-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.contact-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
    transition: all 0.3s ease;
}

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

.contact-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid white;
}

.contact-status.active {
    background: #10b981;
}

/* Contact Info */
.contact-info {
    text-align: center;
}


.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 0.3rem;
}

.contact-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

/* Contact Details */
.contact-details {
    margin: 1.2rem 0;
    text-align: left;
}

/* Contact Description */
.contact-description {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-description p {
    margin: 0.5rem 0;
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-description p:first-child {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: rgba(243, 177, 124, 0.1);
}

.contact-icon {
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 400;
}

/* Contact Actions */
.contact-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.contact-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s ease;
}

.contact-btn.primary {
    background: var(--color-secondary);
    color: white;
}

.contact-btn.primary:hover {
    background: #e9a86a;
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid #ddd;
}

.contact-btn.secondary:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.contact-btn span {
    position: relative;
    z-index: 1;
}

/* General Contact */
.general-contact {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

.general-contact-content {
    text-align: center;
}

.general-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.general-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    color: white;
}

.info-item strong {
    display: block;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.info-item span {
    color: var(--color-muted);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card.featured {
        transform: none;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .general-contact {
        padding: 2rem;
    }
    
    .general-info {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Services Section Specific Styles */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.services-text h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left;
}

.services-text h3 {
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: left;
}

.services-text p {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.7;
    text-align: left;
}

.services-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.services-image:hover {
    transform: translateY(-10px);
}

.services-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.services-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.services-image:hover .services-image-overlay {
    transform: translateY(0);
}

.services-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--color-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive design for services section */
@media (max-width: 968px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .services-text h2,
    .services-text h3,
    .services-text p {
        text-align: center;
    }
    
    .services-image-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    .services-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .services-img {
        height: 300px;
    }
}

/* Default section styles for other sections */
.about-section h2,
.lectors-section h2,
.events-section h2{
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section p,
.lectors-section p,
.testimonials-section p,
.contact-section p {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-top h1 {
        font-size: 2.5em;
    }
    
    .main-top p {
        font-size: 1em;
        padding: 0 1rem;
    }
    
    .services-section,
    .about-section,
    .lectors-section,
    .book-section,
    .events-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .book-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .book-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .book-cover {
        width: 160px;
        height: 220px;
        transform: rotateY(-10deg) rotateX(2deg);
    }
    
    .book-cover:hover {
        transform: rotateY(-15deg) rotateX(3deg);
    }
    
    .book-title {
        font-size: 1.2rem;
    }
    
    .book-subtitle {
        font-size: 0.9rem;
    }
    
    .book-decoration {
        font-size: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem;
        min-width: auto;
    }
    
    .event-day {
        font-size: 1.2rem;
    }
    
    .event-month {
        font-size: 0.9rem;
        margin-top: 0;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .book-features {
        grid-template-columns: 1fr;
    }
    
    .poems-glimpse {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .poems-glimpse {
        grid-template-columns: 1fr;
    }
    
    .services-section h2,
    .about-section h2,
    .lectors-section h2,
    .events-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-btn {
    position: relative;
    overflow: hidden;
}

.lectors-grid{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Remove old conflicting lectors-list styles */
.lectors-section .lectors-list{
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: row;
    justify-content: flex-start;
    max-width: none;
    overflow: visible;
}

.lectors-section .lectors-list img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 3px solid var(--color-secondary);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation types */
.animate-on-scroll.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.scale-up.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations for multiple elements */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }

/* Lectors Slider Styles */
.lectors-slider {
    position: relative;
    max-width: 100%;
    margin: 4rem auto 0;
    padding: 0 60px; /* Space for navigation arrows */
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lectors-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: var(--color-white);
}

.lectors-list {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lector-item {
    flex: 0 0 100%; /* Default: 1 slide visible on mobile */
    background: var(--color-white);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
}

.lector-item:hover {
    transform: translateY(-5px);
}

.lector-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--color-secondary);
    transition: transform var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lector-item:hover .lector-img {
    transform: scale(1.1);
}

.lector-item h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.lector-item p {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.lector-click-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
    transform: translateY(10px);
    flex-shrink: 0;
}

.lector-item:hover .lector-click-indicator {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.lector-click-indicator svg {
    transition: transform 0.3s ease;
}

.lector-item:hover .lector-click-indicator svg {
    transform: translateX(3px);
}

/* Slider Navigation Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 2px solid var(--color-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-secondary);
}

.slider-btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(243, 177, 124, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--color-surface);
    border-color: var(--color-muted);
    color: var(--color-muted);
}

.slider-btn:disabled:hover {
    transform: translateY(-50%);
    background: var(--color-surface);
    color: var(--color-muted);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(34, 48, 74, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider-dot:hover {
    background: rgba(243, 177, 124, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--color-secondary);
    transform: scale(1.3);
}

.slider-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    opacity: 0.3;
}

#contact{
    background-color: #2b2b2b;
    color: white;
}




/* Responsive Design */
@media (min-width: 768px) {
    .lector-item {
        flex: 0 0 50%; /* 2 slides visible on tablet */
    }
    
    .lectors-slider {
        padding: 0 70px;
        margin: 4rem auto 0;
    }
    
    .slider-btn {
        width: 55px;
        height: 55px;
    }
    
    .slider-btn svg {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 1024px) {
    .lector-item {
        flex: 0 0 33.333%; /* 3 slides visible on desktop */
    }
    
    .lectors-slider {
        padding: 0 80px;
        margin: 4rem auto 0;
    }
    
    .slider-btn {
        width: 60px;
        height: 60px;
    }
    
    .slider-btn svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 767px) {
    .lectors-slider {
        padding: 0 50px;
        margin: 3rem auto 0;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .slider-btn-prev {
        left: 5px;
    }
    
    .slider-btn-next {
        right: 5px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .lector-item {
        padding: 2rem 1rem;
        min-height: 320px;
    }
    
    .lector-img {
        width: 100px;
        height: 100px;
    }
    
    .lector-item h3 {
        font-size: 1.3rem;
    }
    
    .lector-item p {
        font-size: 1rem;
    }
    
    .lector-click-indicator {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        margin-top: 0.8rem;
        opacity: 1;
        transform: translateY(0);
    }
    
    .slider-dots {
        gap: 0.6rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}