/* Developer Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Developer Card */
.dev-info-card {
    background: linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .dev-info-card {
    transform: scale(1);
}

.dev-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, #00bfff, #49a760);
    opacity: 0.1;
    border-radius: 25px 25px 0 0;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

/* Developer Avatar */
.dev-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00bfff, #49a760);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.3);
    position: relative;
    z-index: 2;
}

.dev-avatar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #05e03a, #02c832);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Developer Info */
.dev-name {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.dev-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: 500;
}

.dev-company {
    font-size: 14px;
    color: #00bfff;
    margin-bottom: 10px;
    font-weight: 600;
}

.dev-age {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Skills Tags */
.dev-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.skill-tag {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 191, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.2);
}

/* Company Link */
.dev-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00bfff85, #28a745);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dev-website:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .dev-info-card {
        padding: 30px 20px;
        margin: 20px;
    }

    .dev-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .dev-name {
        font-size: 24px;
    }
}


/* Events Section */
.e-video-one {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(181deg, #667eea 0%, #28a745f7 76%);
    min-height: 100vh;
}

.e-video-one__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

.e-video-one .e-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.e-section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.e-section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #49a760, #00bfff);
    border-radius: 2px;
}

.e-section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Events Slider Container */
.e-events-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Events Slider */
.e-events-slider {
    position: relative;
    height: 600px;
}

/* Event Slide */
.e-event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    transform: translateX(30px);
}

.e-event-slide.e-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Event Media Container */
.e-event-media-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
    min-width: 300px;
    transition: flex 0.3s ease;
}

.e-event-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.e-event-slide:hover .e-event-media {
    transform: scale(1.05);
}

.e-event-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Drag Resize Handle */
.e-resize-handle {
    width: 8px;
    background: linear-gradient(180deg, #49a760, #00bfff);
    cursor: col-resize;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.e-resize-handle:hover {
    width: 12px;
    background: linear-gradient(180deg, #28a745, #00bfff);
    box-shadow: 0 0 15px rgba(73, 167, 96, 0.4);
}

.e-resize-handle::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    left: 1px;
}

.e-resize-handle:not(:hover)::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    left: 4px;
}

.e-resize-handle.e-dragging {
    background: linear-gradient(180deg, #20c997, #00bfff);
    box-shadow: 0 0 20px rgba(32, 201, 151, 0.6);
    width: 15px;
}

.e-resize-handle.e-dragging::before,
.e-resize-handle.e-dragging::after {
    background: rgba(255, 255, 255, 0.8);
    height: 40px;
}

/* Play Button */
.e-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #49a760;
    color: white;
    border: none;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 6;
    box-shadow: 0 8px 25px rgba(73, 167, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.e-play-button:hover {
    background: #28a745;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(73, 167, 96, 0.6);
}

.e-play-button i {
    margin-left: 3px;
}

.e-play-button.e-hidden {
    display: none !important;
}

/* Media Overlay */
.e-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%
    );
}

/* Project Count Badge */
.e-project-count {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #49a760;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(73, 167, 96, 0.3);
}

/* Event Details */
.e-event-details {
    flex: 1;
    padding: 50px 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: #2c3e50;
    min-width: 350px;
    transition: flex 0.3s ease;
    overflow-y: auto;
}

/* Event Date Badge */
.e-event-date-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #49a760, #00bfff);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(73, 167, 96, 0.3);
    min-width: 80px;
}

.e-event-date-badge .e-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.e-event-date-badge .e-month {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    margin: 5px 0;
    font-weight: 500;
}

.e-event-date-badge .e-year {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* Event Info */
.e-event-info {
    padding-right: 120px;
}

.e-event-category {
    color: #49a760;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.e-event-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.3;
}

.e-event-info p {
    color: #6c757d;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Event Meta */
.e-event-meta {
    margin-bottom: 30px;
}

.e-event-meta span {
    display: block;
    color: #495057;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

.e-event-meta i {
    color: #49a760;
    margin-right: 10px;
    width: 18px;
    font-size: 16px;
}

/* Event Actions */
.e-event-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.e-event-actions .e-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.e-event-actions .e-btn-primary {
    background: linear-gradient(135deg, #49a760, #00bfff);
    color: white;
    box-shadow: 0 5px 15px rgba(73, 167, 96, 0.3);
}

.e-event-actions .e-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(73, 167, 96, 0.4);
}

.e-event-actions .e-btn-outline {
    background: transparent;
    color: #49a760;
    border: 2px solid #49a760;
}

.e-event-actions .e-btn-outline:hover {
    background: #49a760;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(73, 167, 96, 0.3);
}

/* Slider Controls */
.e-events-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.e-slider-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    pointer-events: all;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    color: #2c3e50;
    font-size: 18px;
}

.e-slider-btn:hover {
    background: #49a760;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(73, 167, 96, 0.4);
}

/* Slider Pagination */
.e-events-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.e-pagination-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e7e7e7;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.e-pagination-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: #49a760;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.e-pagination-dot.e-active::before,
.e-pagination-dot:hover::before {
    width: 100%;
    height: 100%;
}

.e-pagination-dot.e-active {
    background: #49a760;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(73, 167, 96, 0.5);
}

/* Animations */
@keyframes e-logoGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.6);
    }
}

@keyframes e-titleGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(40, 167, 69, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(40, 167, 69, 0.6));
    }
}

@keyframes e-slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    .e-video-one {
        padding: 60px 0;
    }

    .e-section-title h2 {
        font-size: 28px;
    }

    .e-section-title p {
        font-size: 16px;
        padding: 0 20px;
    }

    .e-events-slider-container {
        margin: 0 15px;
        border-radius: 15px;
    }

    .e-events-slider {
        height: auto;
        min-height: 500px;
    }

    .e-event-slide {
        flex-direction: column;
    }

    .e-event-media-container {
        height: 250px;
        flex: none;
        min-width: auto;
    }

    .e-resize-handle {
        display: none;
    }

    .e-event-details {
        padding: 30px 20px;
    }

    .e-event-date-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        display: inline-block;
    }

    .e-event-info {
        padding-right: 0;
    }

    .e-event-info h3 {
        font-size: 24px;
    }

    .e-event-info p {
        font-size: 15px;
    }

    .e-events-slider-controls {
        display: none;
    }

    .e-event-actions {
        flex-direction: column;
        gap: 15px;
    }

    .e-event-actions .e-btn {
        justify-content: center;
        width: 100%;
        padding: 12px 25px;
    }
}
