/* ===================
   MOBILE MENU STYLES
   =================== */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #1e90ff;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    margin-bottom: 50px;
}

.mobile-nav-links li {
    margin: 20px 0;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 15px 30px;
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.mobile-nav-links a:hover::after {
    width: 60px;
}

.mobile-nav-links a:hover {
    color: #1e90ff;
    transform: scale(1.1);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease 0.6s;
}

.mobile-menu.active .mobile-contact {
    transform: translateY(0);
    opacity: 1;
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 15px 25px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-phone:hover,
.mobile-email:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: #1e90ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
}

.mobile-phone i,
.mobile-email i {
    font-size: 1.2rem;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Media Queries for Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-contact {
        flex-direction: column;
    }
    
    .mobile-phone,
    .mobile-email {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-header {
        padding: 15px 20px;
    }
    
    .mobile-nav {
        padding: 30px 20px;
    }
    
    .mobile-nav-links a {
        font-size: 1.3rem;
        padding: 12px 20px;
    }
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 100px auto 20px; 
    padding: 0 20px;
    font-size: 1.2em;
    color: #222;
    line-height: 1.6;
     animation: slideInDown 1s ease-out;
}


.section-description h2 {
    font-size: 2.5em;
    color: #1e90ff;
    margin-bottom: 15px;
    font-weight: 300;
}


.section-heading {
    font-size: 3.5em;
    color: #1e90ff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
}

.slide-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(30, 144, 255, 0.1);
    flex: 0 0 400px;
    padding: 25px;
    text-align: center;
    color: #222222;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.2);
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.slide-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.5);
}
.slide-card p {
    font-size: 1.3em;
    font-weight: 600;
    color: #1e90ff;
    margin-top: auto;
}



.software-card {
    position: relative;
    background: #ffffff;
}




.software-card h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    color: #1e90ff;
    font-weight: 600;
}

.website-thumbnail {
    width: 100%;
    height: 220px;
    background: #f0f4f8;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.website-thumbnail:hover {
    border-color: rgba(30, 144, 255, 0.6);
    transform: scale(1.02);
}

.thumbnail-icon {
    font-size: 4em;
    color: #1e90ff;
    opacity: 0.7;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, #1e90ff, #00bfff);
    border: none;
    color: #ffffff;
    font-size: 2.5em;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.5);
}


.preview-btn {
    background: linear-gradient(145deg, #1e90ff, #00bfff);
    border: none;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    margin-top: auto;
}
.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.5);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 144, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: linear-gradient(145deg, #1e90ff, #00bfff);
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(30, 144, 255, 0.5),
        0 0 30px rgba(30, 144, 255, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(30, 144, 255, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    color: #222222;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2em;
    color: #222222;
    cursor: pointer;
    user-select: none;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}



.close-btn:hover {
    background-color: rgba(30, 144, 255, 0.1);
    transform: scale(1.1);
}

#preview-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: #f0f4f8;
}


/* Projects section */
.projects-section {
    margin: 80px auto;
    max-width: 1400px;
    padding: 0 20px;
     animation: slideInDown 1s ease-out;
}

.section-heading {
    font-size: 3.5em;
    color: #1e90ff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
}

/* Slider container */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px 60px;
}

/* Slider track */
.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 30px;
    align-items: stretch;
}

/* Enhanced slide cards */
.slide-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(161, 232, 95, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    flex: 0 0 400px;
    padding: 25px;
    text-align: center;
    color: #fff;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(8, 21, 74, 0.2);
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.slide-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(18, 74, 127, 0.3);
    border-color: rgba(56, 109, 183, 0.5);
}

.slide-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(44, 112, 196, 0.3);
    transition: all 0.3s ease;
}

.slide-card:hover img {
    border-color: rgba(11, 93, 106, 0.6);
    transform: scale(1.02);
}

.slide-card p {
    font-size: 1.3em;
    font-weight: 600;
    color: #5fd1e8;
    margin-top: auto;
}

/* Enhanced software cards */
.software-card {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
}

.software-card h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    color: #10679a;
    font-weight: 600;
}

.website-thumbnail {
    width: 100%;
    height: 220px;
    background: linear-gradient(45deg, #2d2d2d, #3d3d3d);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(64, 123, 187, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.website-thumbnail:hover {
    border-color: rgba(37, 109, 218, 0.6);
    transform: scale(1.02);
}

.thumbnail-icon {
    font-size: 4em;
    color: #5fc8e8;
    opacity: 0.7;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    color: #fff;
    font-size: 0.9em;
}



.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


/* Enhanced modal styles */

.close-btn {
    background: none;
    border: none;
    font-size: 2em;
    color: #03001C;
    cursor: pointer;
    user-select: none;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(3, 0, 28, 0.1);
    transform: scale(1.1);
}



/* Responsive design */
@media (max-width: 768px) {
    .slider-container {
        padding: 20px 30px;
    }

    .slide-card {
        flex: 0 0 300px;
        min-height: 400px;
    }

    .section-heading {
        font-size: 2.5em;
    }

    .section-description h2 {
        font-size: 2em;
    }

    .section-description {
        font-size: 1em;
    }

    .modal-content {
        width: 98%;
        height: 95vh;
    }
}

@media (max-width: 480px) {
    .slide-card {
        flex: 0 0 280px;
    }

    .slider-btn {
        font-size: 2em;
        padding: 10px 15px;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Loading animation for thumbnails */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active section with fade-in animation */
.active-section {
     animation: slideInDown 1s ease-out;
}
/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #1e90ff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}

.cursor-bubble {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    background: rgba(30, 144, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Hover effects for interactive elements */
a:hover~.custom-cursor,
button:hover~.custom-cursor,
input:hover~.custom-cursor,
textarea:hover~.custom-cursor,
select:hover~.custom-cursor,
[onclick]:hover~.custom-cursor {
    width: 30px;
    height: 30px;
    background: #000000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

a:hover~.cursor-bubble,
button:hover~.cursor-bubble,
input:hover~.cursor-bubble,
textarea:hover~.cursor-bubble,
select:hover~.cursor-bubble,
[onclick]:hover~.cursor-bubble {
    width: 60px;
    height: 60px;
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
/* Removed media query that hides custom cursor on mobile to enable bubble cursor animations on mobile */
/* @media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    .custom-cursor,
    .cursor-bubble {
        display: none;
    }
} */

