/* Workshops Page Specific Styles */
.workshops-hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.workshops-section {
    padding: 100px 0;
    position: relative;
}

.upcoming-workshops {
    background: white;
}

.past-workshops {
    background: linear-gradient(135deg, #f9faff 0%, #f0f3ff 100%);
}

/* No Events Message */
.no-events {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.no-events i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.no-events h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.no-events p {
    margin-bottom: 25px;
    color: var(--gray-color);
}

/* Workshops Grid */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.workshop-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.workshop-image {
    height: 200px;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-image img {
    transform: scale(1.05);
}

.workshop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-light);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.workshop-badge[data-type="seminar"] {
    background: var(--accent-color);
}

.workshop-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workshop-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.workshop-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.workshop-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.workshop-description {
    margin-bottom: 25px;
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(3px);
}

/* Workshop Modal */
.workshop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.workshop-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker overlay for better contrast */
    backdrop-filter: blur(2px);
}
   

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.modal-badge {
    background: var(--primary-light);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-badge[data-type="seminar"] {
    background: var(--accent-color);
}

.modal-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.speaker-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: 8px;
}

.speaker-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h4 {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.speaker-info p {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.modal-section ul {
    padding-left: 20px;
}

.modal-section li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.resource-item {
    padding: 15px;
    border-radius: 8px;
    background: rgba(108, 99, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
}

.resource-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.resource-item p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.modal-footer {
    margin-top: 30px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: color 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .workshops-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .workshops-section {
        padding: 80px 0;
    }
    
    .workshops-hero {
        padding-top: 150px;
    }
    
    .modal-meta {
        grid-template-columns: 1fr;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .workshops-grid {
        grid-template-columns: 1fr;
    }
    
   .modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* This creates the glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border */
    border-radius: 12px;
    padding: 40px;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); /* Soft shadow */
}
    
    .workshop-meta {
        flex-direction: column;
        gap: 8px;
    }
}

.modal-content {
    position: relative;
    z-index: 1;
}

.modal-title {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#modal-title {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modal-section h3 {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-section p, 
.modal-section li,
.modal-date,
.meta-item {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-close {
    color: white;
}

.modal-close:hover {
    color: var(--primary-light);
}

/* Add this to your :root variables if not already present */
:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px);
}

/* Modal Container - Glass Effect */
.modal-container {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    color: white !important;
}

/* Modal Content */
.modal-content {
    color: white !important;
}

/* All text elements inside modal */
.modal-title,
.modal-section h3,
.modal-section p,
.modal-section li,
.modal-date,
.meta-item {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Overlay - Darker for better contrast */
.modal-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

/* Badge styling */
.modal-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    backdrop-filter: blur(5px) !important;
}


/* Upcoming Events Container */
.upcoming-events-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Left Panel - Events List */
.events-list-panel {
    background: #f8f9ff;
    border-right: 1px solid rgba(108, 99, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.events-list-header {
    padding: 20px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    background: white;
}

.events-list-header h3 {
    margin: 0 0 5px 0;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.events-count {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.events-scroll-container {
    flex: 1;
    overflow-y: auto;
    max-height: 500px;
}

.events-list {
    padding: 10px;
}

.event-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.event-list-item:hover {
    background: rgba(108, 99, 255, 0.05);
    transform: translateX(5px);
}

.event-list-item.active {
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--primary-color);
    position: relative;
}

.event-list-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 3px 0 0 3px;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.event-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-top: 2px;
}

.event-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.event-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Right Panel - Event Details */
.event-details-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.event-details-content {
    flex: 1;
}

.event-header {
    margin-bottom: 2px;
}

.event-type-badge {
    background: var(--primary-light);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.event-header h3 {
    margin: 0 0 15px 0;
    color: var(--dark-color);
    font-size: 1.6rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-description {
    margin-bottom: 15px;
}

.event-description h4 {
    margin: 15px 0 5px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.event-description p {
    line-height: 1.4;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.event-description ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.event-description li {
    margin-bottom: 8px;
    color: var(--gray-color);
    line-height: 1.2;
}

.notify-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Notify Me Modal */
.notify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notify-modal.active {
    opacity: 1;
    visibility: visible;
}

.notify-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.notify-modal-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notify-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.notify-modal-header h3 {
    margin: 0 0 10px 0;
    color: var(--dark-color);
}

.notify-modal-header p {
    color: var(--gray-color);
    margin: 0;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.notify-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.notify-modal-footer .btn {
    flex: 1;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .upcoming-events-container {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 768px) {
    .upcoming-events-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .events-list-panel {
        border-right: none;
        border-bottom: 1px solid rgba(108, 99, 255, 0.1);
        max-height: 300px;
    }
    
    .events-scroll-container {
        max-height: 250px;
    }
    
    .event-details-panel {
        padding: 20px;
    }
    
    .event-header h3 {
        font-size: 1.5rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .events-list-panel {
        max-height: 250px;
    }
    
    .events-scroll-container {
        max-height: 200px;
    }
    
    .event-list-item {
        padding: 12px;
    }
    
    .event-date-badge {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .event-info h4 {
        font-size: 0.9rem;
    }
    
    .event-details-panel {
        padding: 15px;
    }
    
    .event-header h3 {
        font-size: 1.3rem;
    }
    
    .notify-modal-container {
        padding: 20px;
        margin: 20px;
    }
}


/* Gallery Modal - Glass Effect */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gallery-modal-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.gallery-modal-header h3 {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.gallery-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(108, 99, 255, 0.3) 0%,
        rgba(76, 70, 180, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1.2);
}

/* Scrollbar Styling */
.gallery-modal-container::-webkit-scrollbar {
    width: 8px;
}

.gallery-modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery-modal-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gallery-modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .gallery-modal-container {
        padding: 30px;
        width: 90%;
    }
    
    .gallery-modal-header h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-modal-container {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .gallery-modal-close {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        top: 20px;
        right: 20px;
    }
    
    .gallery-modal-header h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
    }
    
    .gallery-modal-container {
        padding: 20px 15px;
        border-radius: 16px;
        width: 95%;
    }
    
    .gallery-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        top: 15px;
        right: 15px;
    }
    
    .gallery-modal-header {
        margin-bottom: 20px;
    }
    
    .gallery-modal-header h3 {
        font-size: 1.4rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
}



