/*************************************** Desktop devices (width: 769px and above) *********************************/
@media (min-width: 769px) {

* {box-sizing: border-box;}

.mobile-version {
    display: none;
}

.Desktop{
    display: block;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
    color: #ffffff;
    overflow-x: hidden;
}

/* NEW DESKTOP PORTFOLIO STYLES */
.desktop-portfolio {
    display: block;
    width: 100%;
    min-height: 100vh;
}

/* Hide mobile elements on desktop */
.mobile-menu-toggle,
.mobile-menu {
    display: none !important;
}

/* Show/Hide Hero Sections */
.desktop-hero {
    display: block !important; /* Show desktop hero on desktop */
}

.mobile-hero {
    display: none !important; /* Hide mobile hero on desktop */
}

/* Ensure desktop layout works properly - Stronger overrides */
.hero-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.hero-left {
    flex: 1 !important;
    text-align: left !important;
    z-index: 2 !important;
}

.hero-right {
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding-left: 80px !important; /* Move content significantly more to the right */
}

.about-content,
.contact-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 60px !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Show desktop nav links and hide mobile elements */
.nav-menu,
.nav-links {
    display: flex !important;
    gap: 30px !important;
}

.mobile-menu-toggle,
.mobile-menu,
.mobile-menu-overlay {
    display: none !important;
}

/* Desktop navigation styling */
.nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    font-size: 16px !important;
}

.nav-link:hover,
.nav-link.active {
    color: #00ff88 !important;
    background: rgba(0, 255, 136, 0.1) !important;
}

/* Desktop brand styling */
.brand-text {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #00ff88 !important;
    letter-spacing: 2px !important;
}

.brand-subtitle {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: -5px !important;
}

/* Desktop navigation positioning */
.desktop-nav {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    padding: 20px 50px !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Desktop hero section */
.hero-section {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 100px 50px 50px !important; /* Restored to original 100px */
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Desktop typography */
.hero-name {
    font-size: 4rem !important;
    font-weight: bold !important;
    background: linear-gradient(135deg, #00ff88, #00bf63) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 20px !important;
}

.greeting {
    font-size: 1.5rem !important;
    color: #888 !important;
    margin-bottom: 10px !important;
}

.typing-animation {
    font-size: 2rem !important;
    color: #00ff88 !important;
    margin-bottom: 30px !important;
    min-height: 80px !important;
}

.hero-description {
    font-size: 1.2rem !important;
    color: #ccc !important;
    margin-bottom: 40px !important;
    line-height: 1.8 !important;
}

/* Desktop section styling */
.section-title {
    font-size: 3rem !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #00ff88, #00bf63) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.section-subtitle {
    font-size: 1.2rem !important;
    color: #888 !important;
    margin-bottom: 50px !important;
    text-align: center !important;
}

/* Hero profile image positioning for desktop */
.profile-image {
    width: 300px !important;
    height: 300px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #00ff88 !important;
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    /* Remove margin to keep image centered in container */
}

.hero-visual {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.profile-container {
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    /* Keep container tight around image and rings */
}

/* Profile rings positioning for desktop */
.profile-ring {
    position: absolute !important;
    border: 2px solid rgba(0, 255, 136, 0.3) !important;
    border-radius: 50% !important;
    animation: rotate 10s linear infinite !important;
    /* Ensure rings stay centered with the moved image */
}

.profile-ring:first-of-type {
    width: 320px !important;
    height: 320px !important;
    top: -10px !important;
    left: -10px !important; /* Rings stay relative to their container */
}

.ring-2 {
    width: 350px !important;
    height: 350px !important;
    top: -25px !important;
    left: -25px !important;
}

.ring-3 {
    width: 380px !important;
    height: 380px !important;
    top: -40px !important;
    left: -40px !important;
}

/* Desktop sections padding */
section {
    padding: 100px 50px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.about-section {
    padding: 100px 50px !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.skills-section {
    padding: 100px 50px !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

.projects-section,
.projects-preview {
    padding: 100px 50px !important;
}

.history-section {
    padding: 100px 50px !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

.contact-section {
    padding: 100px 50px !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Desktop Navigation Styles (using overrides above) */

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 28px;
    font-weight: bold;
    color: #00ff88;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 12px;
    color: #888;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 50px 50px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

.hero-left {
    flex: 1;
    z-index: 2;
}

.hero-intro {
    margin-bottom: 30px;
}

.greeting {
    color: #888;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.hero-name {
    font-size: 60px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    margin: 20px 0;
}

.title-prefix {
    font-size: 24px;
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
}

.typing-animation {
    height: 40px;
    overflow: hidden;
}

.specialty-text {
    font-size: 20px;
    color: #00ff88;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc;
    margin: 30px 0;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #00ff88;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00ff88;
}

.btn-secondary:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00ff88;
    transform: translateY(-5px);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link.email {
    font-size: 24px;
    color: #ffffff;
}

/* Hero Right Side */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-top: -80px;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-container {
    position: relative;
    z-index: 2;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00ff88;
    position: relative;
    z-index: 3;
}

.profile-ring {
    position: absolute;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.profile-ring {
    width: 320px;
    height: 320px;
    top: -10px;
    left: -10px;
}

.ring-2 {
    width: 350px;
    height: 350px;
    top: -25px;
    left: -25px;
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Tech Elements */
.floating-tech {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Adjust positioning to account for the moved profile image */
    left: 80px; /* Match the padding-left of hero-right */
    top: 330px;
}

.tech-item {
    position: absolute;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

.tech-item:nth-child(even) {
    animation-delay: 3s;
}

.tech-item span {
    font-size: 20px;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.tech-item label {
    font-size: 12px;
    color: #00ff88;
    display: block;
    text-align: center;
}

.tech-item:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #888;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.scroll-arrow {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Enhanced About Section */
.about-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #16213e, #0a0a0a);
}

.about-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 60px;
}

.tab-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tab-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.tab-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tab-option:hover .tab-image {
    border-color: rgba(0, 255, 136, 0.5);
    transform: scale(1.05);
}

.tab-option:hover .tab-image::after {
    background: rgba(0, 0, 0, 0.1);
}

.tab-btn.active + .tab-image,
.tab-option:has(.tab-btn.active) .tab-image,
.tab-image.active {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: scale(1.1);
}

.tab-btn.active + .tab-image::after,
.tab-option:has(.tab-btn.active) .tab-image::after,
.tab-image.active::after {
    background: rgba(0, 255, 136, 0.1);
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.3s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.tab-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.tab-header {
    text-align: center;
    margin-bottom: 50px;
}

.tab-header h3 {
    color: #00ff88;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.tab-header p {
    color: #b3b3b3;
    font-size: 18px;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Section */
.overview-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: #888;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.card-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.overview-card:hover .card-image {
    border-color: #00ff88;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.overview-card:hover .card-image img {
    transform: scale(1.1);
}

.overview-card h3 {
    color: #00ff88;
    font-size: 24px;
    margin: 0 0 20px 0;
}

.overview-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Projects Section */
.projects-preview {
    padding: 100px 50px;
    background: linear-gradient(135deg, #0a0a0a, #16213e);
}

.projects-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.project-highlight:hover {
    transform: translateX(10px);
    border-color: #00ff88;
}

.project-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.project-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.project-status {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.project-details h3 {
    color: #00ff88;
    font-size: 28px;
    margin: 0 0 15px 0;
    text-align: center;
}

.project-details p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-badge {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-3px);
}

/* Skills Section */
.skills-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #1a1a2e, #0a0a0a);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #00ff88;
    font-size: 24px;
    margin: 0 0 25px 0;
    text-align: center;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.skill-item {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    transform: scale(1.05);
    color: #00ff88;
}

/* History Section */
.history-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.history-item {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.history-item:hover {
    border-color: #00ff88;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.history-image {
    flex: 0 0 120px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.history-item:hover .history-image img {
    border-color: #00ff88;
    transform: scale(1.1);
}

.history-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-years {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.history-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.history-role {
    color: #b3b3b3;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

.history-description {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.history-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cert-button {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-button:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-color: #00ff88;
    color: #00ff88;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.cert-button span {
    font-size: 14px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #00ff88, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-item:hover::before {
    opacity: 1;
}

/* Contact Section */
.contact-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, #16213e, #0a0a0a);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left {
    padding-right: 40px;
}

.contact-intro h3 {
    color: #00ff88;
    font-size: 32px;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.contact-intro p {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 255, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text strong {
    color: #00ff88;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #00ff88;
}

.contact-text span {
    color: #cccccc;
    font-size: 15px;
}

.expertise-highlights {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 30px;
}

.expertise-highlights h4 {
    color: #00ff88;
    font-size: 20px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.expertise-list li {
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.expertise-list li:hover {
    color: #00ff88;
}

.contact-right {
    padding-left: 40px;
}

.message-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.message-form h3 {
    color: #00ff88;
    font-size: 28px;
    margin: 0 0 30px 0;
    text-align: center;
    font-weight: bold;
}

.enhanced-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group input,
.input-group select,
.input-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 18px 20px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.input-group label {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.input-group input:focus + label,
.input-group select:focus + label,
.input-group textarea:focus + label {
    color: #00ff88;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #666;
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.submit-button {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.contact-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.contact-footer p {
    color: #888;
    font-size: 14px;
    margin: 0;
}
/************************************************ SlideShow ************************************************/
.section {
    display: block;
    }

.section.active {
    display: block;
    }

.slideshow-container {
    position: relative;
    margin: auto;
    width: 1000px;
    height: 800px;
    border-radius: 3%;
    border: 3px solid rgb(0, 0, 0);
    background: linear-gradient(135deg, #004d40, #00796b, #48a999);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 6px 6px rgba(0, 0, 0, 0.6);
    }
    
.slide {
    display: block;
    width: 100%;
    }
        
.fade {
    animation: fadeEffect 1.5s ease-in-out;
    }
    
@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
    }

.prev, .next, .prev_About, .next_About, .prev_History{
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    z-index: 1000;
    transform: translateY(-50%);
  }
  
.prev {
    margin-left: 30px;
    }

.next {
    margin-left: 900px;
    text-decoration: none;
  }
  
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

/****************************************************** Navbar ******************************************************/
.navbar {
    width: 990px;
    color: white;
    margin-top: 20px;
    padding-left: 100px;
  }
  .navSpacing{
    padding-left: 0px;
  }
  
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
  }
  
  .navbar-menu {
    list-style: none;
    display: flex;
    gap: 80px;
  }
  
  .navbar-link {
    text-decoration: none;
    color: white;
    font-size: 28px;
    transition: color 0.3s ease;
  }
  
  .navbar-link:hover {
    color: #00bcd4;
  }

/****************************************************** Landing ******************************************************/
    .landing {
        display: block;
    }

    .headerContainer{
        display: flex;
    }

    .element_1{
        width:350px ;
        position: absolute;
        margin: 15px 0px 0px 15px;
    }

    .element_2{
        width:200px;
        position: absolute;
        margin: 15px 0px 0px 790px;
    }
    
    .header{
        display: flex;
        margin-top: 45px;
        margin-left: 90px;
    }
    
    .headerText{
        color: #FFFFFF;
        font-size: 50px;
        margin-left: 30px;
    }
    
    .headerImg{
        width: 150px;
        height: 140px;
        border-radius: 50%;
        margin-left: 553px;
    }
    
    /************ Career Introduction ************/
    .introduction{
       color: #FFFFFF; 
       margin-left: 100px;
       font-size: 25px;
       line-height: 3px;
    }
    
    .myName{
        font-size: 40px;
        margin-left: 20px;
    }
    
    .careerIntro{
        margin-left: 20px;
    }
    
    .careerName{
        font-size: 30px;
        font-weight: bold;
        color: #ffde59;
        padding-left: 2px;
    }
    
    /************ Introduction Text ************/
    .introductionText{
        width: 520px;
        color:#FFFFFF;
        font-size: 20px;
        margin-top: 40px;
        margin-left: 120px;
    }
    
    /************ Buttons ************/
    .landingButtons {
        display: flex;
        gap: 20px;
        margin-top: 30px;
        margin-left: 120px;
    }
    
    button {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease; 
    }
    
    .resumeBtn {
        background: linear-gradient(135deg, #25f78e, #089437);
        color: #fff; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    }
    .resumeBtnText{
        text-decoration: none;
        color: #FFFFFF;
        padding: 0px;
        margin: 0;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease; 
    }
    
    .resumeBtn:hover {
        background: linear-gradient(135deg, #057426, #03b10c); 
        transform: scale(1.05); 
    }
    
    .projectsBtn {
        background: linear-gradient(135deg, #ffffff, #ffffff);
        color: #00bf63;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .projectsBtn:hover {
        background: linear-gradient(135deg, #e9dedd, #ebe7e7);
        transform: scale(1.05);
    }
    
    /************ Social Icons ************/
    .social{
        display: flex;
    }

    .socialInfo{
        display: flex;
        margin-top: 180px;
        margin-left: 75px;
        left:0;
    }
    
    .phoneImg , .facebookImg, .linkedinImg{
        width:52px;
        height:52px;
        margin-left: 25px;
        background-color: black;
        padding: 10px;
        border-radius: 50px;
        border: 4px solid #FFFFFF;
    }
    
    .linkedinImg{
        width:52px;
        height:52px;
        padding: 0;
    }

    .element_3{
        width:340px;
        margin-left: 270px;
    }
    
/********************************************************* About  *********************************************************/
    .About{
        display: block;
        align-items: center;
        height: 780px;
        overflow: auto;
        scrollbar-width: none;
    }
    .navAbout{
        color: #43dd43;
    }

    .prev_About {
        margin-right: 900px;
        text-decoration: none;
        }
    
    .next_About {
        margin-left: 900px;
        text-decoration: none;
      }

    .about{
        display: block;
    }

    .aboutContainer{
        margin-top: 50px;
        margin-left: 50px;
    }

    .aboutMeInfo{
        display: flex;
        margin-left: 50px;
    }

    .aboutImg{
        width: 150px;
        border-radius: 50%;
    }

    .aboutMeDescr{
        width: 500px;
        color: #FFFFFF;
        margin-top: 30px;
        margin-left: 50px;
    }

    .interest{
        width: 830px;
        color: white;
        margin-top: 30px;
        margin-left: 33px;
        background-color:rgb(17, 24, 31);
        border-radius: 2%;
    }

    .row{
        display: flex;
    }

    .interestItem{
        width: 236px;
        height:450px;
        margin-top: 15px;
        margin-bottom: 20px;
        margin-left: 40px;
    }

    .first{
        margin-left: 20px;
    }

    .interestImg{
        width: 100%;
        height: 160px;
        border-radius: 5%;
    }

    .title{
        text-align: center;
        font-size: 20px;
        font-weight: bold;
    }

    .subject{
        text-align: start;
        font-size: 15px;
        width: 100%;
    }

/******************************************* Skills  *******************************************/
    .Skills{
        display: block;
        align-items: center;
        height: 780px;
        overflow: auto;
        scrollbar-width: none;
        position: absolute;
    }
    .navSkills{
        color: #43dd43;
    }
    .hardSkills{
        display: flex;
        align-items:center ;
        margin-left: 80px;
    }
    .softSkills{
        margin-top: 60px;
        display: flex;
        align-items:center ;
        margin-left: 80px;
        margin-bottom: 80px;
    }
    .skillsContainer{
        width: 700px;
        color: #FFFFFF;
        margin-left: 40px;
    }
    .firstRowSkills{
        display: flex;
        margin-top: 50px;
    }
    .skillsBoxing{
        margin-top: 30px;
    }

    .skillsContainerTitle{
        writing-mode: vertical-rl; 
        transform: rotate(180deg); 
        text-align: center;
        margin: 0;
        height: 180px;
        font-size: 35px;
        color: #FFFFFF;
        margin-left: 20px;
        border-left:2px solid yellow ;
    }
    .softTitle{
        height: 155px;
    }

    .skillsBox{
        width: 50%;
        height: 150px;
        border-radius: 5%;
        margin-right: 20px;
        box-shadow: 4px black;
        border: 2px solid black;
        background-color: rgba(5, 5, 5, 0.938);

    }
    .skillImg{
        width: 70%;
        height: 50%;
        margin-left: 20px;
        margin-top: 20px;
    }

    .skillName{
        font-size: 15px;
        text-align: center;
    }
    .mediumSkillName{
        font-size: 13px;
    }
    .smallSkillName{
        font-size: 12px;
    }


    /**************************************** History  ****************************************/
    .History{
        display: block;
        align-items: center;
        height: 780px;
        overflow: auto;
        scrollbar-width: none;
        position: absolute;
    }
    .navHistory{
        color: #43dd43;
    }
    .prev_History{
        margin-left: 20px;
        text-decoration: none;
    }
    .historyContainer{
        margin-top: 50px;
        margin-left: 120px;
    }
    
    .historyJobContainer{
        display: flex;
        margin-bottom: 80px;
        align-items: center;
    }
    .historyImg{
        width:200px ;
        height: 200px;
        border-radius: 50%;
    }
    .DegreeImg{
        border-radius: 0%;
    }
    .historyInfo{
        margin-left: 60px;
        text-align: center;
    }
     .ENE{
        font-size: 17px;
     }

    .certificate{
        width:50px ;
        height: 50px;
        cursor: pointer;
    }

    .historyInfoJobTitle{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .historyJobDescr{
        width: 520px;
        text-align: start;
        color: #FFFFFF;
    }

    
    
    /******************* Contact  *******************/
    .Contact{
        display: block;

    }
    .navContact{
        color: #43dd43;
    }
    .Contact{
        margin-left: 100px;
    }
    .form-group{
        width: 700px;
    }
    .contactHeader{
        display: flex;
        width: 800px;
        margin-bottom: 120px;
    }
    .element_15{
        position: absolute;
    }
    .contactTitle{
        position: absolute;
        margin-left: 270px;
        margin-top: 45px;
        padding: 10px;
        border-radius: 2%;
        color: #FFFFFF;
        font-size: 45px;
    }
    .contactProfessionImg{
        display: flex;
    }
    .contactImg{
        width: 100px;
        height: 100px;
        margin-top: 25px;
        margin-left: 700px;
        border-radius: 50%;
    }
    
    .contact-form {
        padding: 0px 40px;
        position: absolute;
        width: 300px;
        max-width: 400px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    label{
        padding-top: 20px;
        color: #ffffff;
    }
    
    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .high{
        width: 700px;
    }
    .name{
        width: 49%;
        margin-right: 2%;
    }
    .email{
        width: 49%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }
    
    .form-group textarea {
        resize: none;
        height: 100px;
    }
    
    .submitBtn {
        background-color: #FFFFFF;
        color: #00bf63;
        border: none;
        margin-top: 30px;
        margin-left: 300px;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
        width: 50%;
    }
    
    .submitBtn:hover {
        background-color: #089437;
    }
    
    .contactSocial{
        margin-top: 430px;
        margin-left: 145px;
    }

/* Projects Section Styles */
.projects-preview {
    padding: 100px 50px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    position: relative;
    overflow: hidden;
}

.projects-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.projects-showcase {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.project-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.project-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.project-highlight:hover::before {
    transform: translateX(100%);
}

.project-highlight:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.project-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 20px;
}

.project-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-highlight:hover .project-icon {
    border-color: #00ff88;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.project-highlight:hover .project-image {
    transform: scale(1.05);
}

.project-status {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.project-details h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

.project-details p {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.tech-badge {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 255, 136, 0.25);
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    min-width: 90px;
    justify-content: center;
}

.project-link:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.link-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(65%) saturate(1435%) hue-rotate(120deg) brightness(102%) contrast(102%);
}

.project-link:hover .link-icon {
    filter: brightness(0) saturate(100%) invert(67%) sepia(65%) saturate(1435%) hue-rotate(120deg) brightness(120%) contrast(120%);
    transform: scale(1.1);
}

/* Specific link type styling */
.video-link {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.video-link:hover {
    background: rgba(220, 53, 69, 0.2);
}

.video-link .link-icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(89%) saturate(2094%) hue-rotate(340deg) brightness(91%) contrast(89%);
}

.github-link {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border-color: rgba(108, 117, 125, 0.3);
}

.github-link:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
}

.github-link .link-icon {
    filter: brightness(0) saturate(100%) invert(50%) sepia(7%) saturate(455%) hue-rotate(181deg) brightness(93%) contrast(87%);
}

.images-link {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.images-link:hover {
    background: rgba(255, 193, 7, 0.2);
    color: #e0a800;
}

.images-link .link-icon {
    filter: brightness(0) saturate(100%) invert(84%) sepia(84%) saturate(2705%) hue-rotate(334deg) brightness(103%) contrast(101%);
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline:hover {
    background: #00ff88;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-highlight {
        padding: 20px;
    }
    
    .project-visual {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        text-align: center;
        justify-content: center;
    }
}

/* Project Slideshow Overlay Styles */
.slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-in-out;
}

.slideshow-overlay.show {
    display: flex;
}

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

.slideshow-container {
    width: 70%;
    max-width: 700px;
    height: 700px;
    max-height: 85vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.slideshow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slideshow-header h3 {
    margin: 0;
    font-size: 24px;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-slideshow-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-slideshow-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    color: #ff4757;
}

.slideshow-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.slideshow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 200px;
    margin-bottom: 15px;
}

.slideshow-images {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 250px;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.slideshow-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #64b5f6;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

.slideshow-controls {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    flex-shrink: 0;
    height: 80px;
}

.slideshow-counter {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    max-width: 200px;
}

.slideshow-nav {
    background: linear-gradient(135deg, #64b5f6, #42a5f5) !important;
    border: none !important;
    color: white !important;
    font-size: 32px !important;
    padding: 15px 20px !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(100, 181, 246, 0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 60px !important;
    min-height: 60px !important;
}

.slideshow-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(100, 181, 246, 0.5);
    background: linear-gradient(135deg, #42a5f5, #1976d2);
}

.slideshow-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.slideshow-nav:disabled:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(100, 181, 246, 0.3);
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
}

.slideshow-counter {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
}

.slideshow-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: auto;
    padding: 10px 0;
    flex-shrink: 0;
}

.thumbnail-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.thumbnail-img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail-img.active {
    opacity: 1;
    border-color: #64b5f6;
    box-shadow: 0 5px 20px rgba(100, 181, 246, 0.4);
}

/* Responsive adjustments for slideshow */
@media (max-width: 768px) {
    .slideshow-container {
        width: 90%;
        padding: 15px;
    }
    
    .slideshow-header h3 {
        font-size: 20px;
    }
    
    .close-slideshow-btn {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }
    
    .slideshow-nav {
        font-size: 24px !important;
        width: 50px !important;
        height: 50px !important;
        padding: 10px !important;
    }
    
    .slideshow-images {
        max-height: 300px;
    }
    
    .thumbnail-img {
        width: 60px;
        height: 45px;
    }
    
    .slideshow-thumbnails {
        gap: 8px;
    }
    
    .slideshow-controls {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Force visibility of slideshow controls */
.slideshow-overlay .slideshow-controls {
    display: flex !important;
    visibility: visible !important;
}

/* Wavey Video Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.custom-modal[style*="display: block"], 
.custom-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 40px 30px 30px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 8px 32px rgba(0, 255, 136, 0.2);
    max-width: 600px;
    width: 90vw;
    max-height: 80vh;
    text-align: center;
    position: relative;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-modal-content h2 {
    color: #00ff88;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
}

.custom-modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2.2rem;
    color: #00ff88;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.custom-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.wavey-video-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wavey-video-list li {
    margin-bottom: 0;
}

.wavey-video-list button {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.wavey-video-list button:hover {
    background: linear-gradient(135deg, #00ccff, #00ff88);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

#waveyVideoPlayer {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    width: 100%;
    max-width: 100%;
}

/* Video Player Modal Styles */
.video-modal-content {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 20px;
    padding: 40px 35px 60px 35px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 10px 40px rgba(0, 255, 136, 0.3);
    max-width: 85vw;
    max-height: 80vh;
    width: auto;
    text-align: center;
    position: relative;
    overflow: visible;
    animation: modalSlideIn 0.4s ease-out;
}

.video-modal-content h3 {
    color: #00ff88;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 255, 136, 0.4);
}

#modalVideoPlayer {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    background: #000;
    width: 100%;
    max-width: 700px;
    max-height: 50vh;
    height: auto;
    outline: none;
}

#modalVideoPlayer:focus {
    outline: 2px solid rgba(0, 255, 136, 0.5);
    outline-offset: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .custom-modal-content {
        padding: 30px 20px 25px 20px;
        max-width: 95vw;
        margin: 20px;
    }
    
    .custom-modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .wavey-video-list button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .custom-modal-close {
        font-size: 1.8rem;
        width: 30px;
        height: 30px;
        top: 15px;
        right: 20px;
    }

    .video-modal-content {
        padding: 30px 20px 35px 20px;
        max-width: 95vw;
        margin: 10px;
    }
    
    .video-modal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    #modalVideoPlayer {
        max-width: 100%;
    }
}
}
