/* Intro Slider Modal Styles */
.intro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none; /* Flex when active */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.intro-modal-overlay.show {
    opacity: 1;
}

.intro-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    height: 550px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
}

.intro-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.intro-close-btn:hover {
    color: #333;
}

.intro-slider-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.intro-slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.intro-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
}

.intro-slide.active {
    opacity: 1;
    visibility: visible;
}

.intro-icon {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.intro-image-container {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.intro-image {
    max-height: 100%;
    max-width: 80%;
    object-fit: contain;
    border-radius: 12px;
}

.intro-slide h2 {
    font-size: 24px;
    color: #1a73e8;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
}

.intro-slide p {
    font-size: 15px;
    color: #5f6368;
    line-height: 1.6;
    padding: 0 10px;
}

/* Navigation Buttons */
.intro-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, color 0.3s;
    z-index: 5;
}

.intro-nav-btn:hover {
    background: #1a73e8;
    color: white;
}

.intro-nav-btn.prev {
    left: 0;
}

.intro-nav-btn.next {
    right: 0;
}

/* Start Button */
.intro-start-btn {
    margin-top: 25px;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.intro-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* Dots */
.intro-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.intro-dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.intro-dot.active {
    background: #1a73e8;
    transform: scale(1.3);
}

@media (max-width: 480px) {
    .intro-modal-content {
        height: 85vh;
        padding: 20px;
    }
    .intro-icon {
        font-size: 60px;
    }
    .intro-slide h2 {
        font-size: 20px;
    }
    .intro-slide p {
        font-size: 14px;
    }
}
