@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.neon-theme {
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle, #0f0f23 30%, #080820 100%);
    color: #00ffea;
    overflow-x: hidden;
    position: relative;
}

/* Particle Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 50, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.navbar a {
    color: #00ffea;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.navbar a i {
    font-size: 16px;
}

.navbar a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid #00ffea;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
    object-fit: cover;
    margin-bottom: 20px;
}

.header h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 10px 0;
}

.header p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #2c0303;
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
     background: #810b57;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 15px #00ff43;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #ff00ff;
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #00ffea;
}


.bio-text p {
    font-family: 'Kurale', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #d4af37;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 12px 16px;
    border-left: 5px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card, .app-card {
    background: rgba(15, 15, 50, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px #00ffea;
    transition: transform 0.5s, box-shadow 0.5s;
    margin-bottom: 20px;
}

.card:hover, .app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #ff00ff;
}






/* App Cards with Flip Effect */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.app-card {
    perspective: 1000px;
    position: relative;
    height: 300px;
    cursor: pointer;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
}

/* Ensuring the image fully covers the card */
.card-front {
    transform: rotateY(0deg);
    overflow: hidden;
}



/* Back of card for descriptions */
.card-back {
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 50, 0.9);
    border-radius: 10px;
}

.app-card.flipped .card-front {
    transform: rotateY(-180deg);
}

.app-card.flipped .card-back {
    transform: rotateY(0deg);
}

/* Additional styling for text and buttons */
.app-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.app-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #e0e0e0;
}

.app-card a {
    margin-top: 10px;
    padding: 8px 16px;
    background: #ff00ff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 10px #ff00ff;
}

.app-card a:hover {
    background: #00ffea;
    box-shadow: 0 0 15px #00ffea;
}





/* Shimmer Effect */
/* Moving Shimmer Effect */
.card {
    position: relative; 
    overflow: hidden; 
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-15deg);
    animation: shimmerMove 2s infinite linear;
}

/* Keyframes for shimmer motion */
@keyframes shimmerMove {
    0% { left: -100%; }
    100% { left: 100%; }
}


.app-card {
    position: relative; 
    overflow: hidden; 
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-15deg);
    animation: shimmerMove 2s infinite linear;
}

/* Keyframes for shimmer motion */
@keyframes shimmerMove {
    0% { left: -100%; }
    100% { left: 100%; }
}






/* About Me - Shimmer Effect */
.bio-container {
    background: rgba(15, 15, 50, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ffea;
    position: relative; /* Ensures shimmer stays within the container */
    overflow: hidden; /* Prevents unwanted clipping */
}

.bio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-15deg);
    animation: shimmerMove 2.5s infinite linear;
}

/* Smooth Shimmer Animation */
@keyframes shimmerMove {
    0% { left: -100%; }
    100% { left: 100%; }
}























.card:hover::before, .app-card:hover::before {
    left: 125%;
}









/* Skills Grid */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-grid .card {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.skill-grid .card i {
    font-size: 20px;
    color: #ff00ff;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    font-size: 24px;
    color: #00ffea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #ff00ff;
    transform: scale(1.2);
    text-shadow: 0 0 10px #ff00ff;
}

/* Footer */
footer {
    padding: 20px;
    background: rgba(15, 15, 50, 0.9);
    text-align: center;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 15px;
    }

    .header h1 {
        font-size: 36px;
    }

    .header h2 {
        font-size: 20px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }









    .app-card {
        height: 150px;
		width: 150px;
    }

    .app-card img {
        height: 150px;
		width: 150px;
    }
}






.card-front img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    border-radius: 10px;
}





#visitor-counter {
    font-size: 14px;
    color: #00ffaa; /* Neon green to match your aesthetic */
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: 5px;
    right: 10px;
}







/* Header */
.header {
    padding: 60px 20px;
    background: linear-gradient(45deg, #0ff, #00f);
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    position: relative; /* Keeps everything positioned correctly */
    overflow: hidden; /* Prevents unwanted clipping */
    z-index: 2; /* Ensures header content stays visible */
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/earth1.png') 
    no-repeat center center / cover;
    z-index: -1; /* Sends the background behind everything */
    transform: translateY(0);
}

/* Glow Effect */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #64ffda;
    }
    100% {
        text-shadow: 0 0 20px #64ffda, 0 0 30px #64ffda;
    }
}



/* Parallax Background */
.parallax-bg2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/earth2.png') 
    no-repeat center center / cover;
    z-index: -1; /* Sends the background behind everything */
    transform: translateY(0);
}

/* Glow Effect */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #64ffda;
    }
    100% {
        text-shadow: 0 0 20px #64ffda, 0 0 30px #64ffda;
    }
}





















/* Corrected Shimmer Effect */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-15deg);
    animation: shimmerMove 2s infinite linear;
}






/* Keyframes for shimmer motion */
@keyframes shimmerMove {
    0% { left: -100%; }
    100% { left: 100%; }
}








.header h1 {
   font-size: 48px;
	color: #050b26;
    text-shadow: 0 0 15px #76344f;
}





h6 {
    font-family: "Reem Kufi", sans-serif; /* Kufic-style Arabic font */
    font-size: 48px;
    font-weight: 700;
    color: #D4AF37; /* Deep contrast */
    direction: rtl; /* Ensures proper Arabic text flow */
    text-align: center;
    letter-spacing: 1px; /* Slight spacing for clarity */
    margin-top: 5px;
}
