
        /* Smooth scrolling behavior */
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: radial-gradient(circle at top left, #001e3c, #000);
            color: #e0e0e0;
            overflow-x: hidden;
        }

        .nav-link {
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #38bdf8;
            transition: width 0.3s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #38bdf8;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .hero-text-animation {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-text-animation:nth-child(1) {
            animation-delay: 0.2s;
        }

        .hero-text-animation:nth-child(2) {
            animation-delay: 0.4s;
        }

        .hero-text-animation:nth-child(3) {
            animation-delay: 0.6s;
        }

        .hero-text-animation:nth-child(4) {
            animation-delay: 0.8s;
        }

        .profile-image-container {
            position: relative;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #0d3a61, #001e3c);
            box-shadow: 0 0 25px rgba(0, 154, 154, 0.2), inset 0 0 15px rgba(0, 0, 0, 0.5);
            animation: float 4s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-15px);
            }
        }

        .profile-image {
            width: 95%;
            height: 95%;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #38bdf8;
        }

        .download-cv-btn {
            transition: all 0.3s ease;
        }

        .download-cv-btn:hover {
            background-color: #38bdf8;
            color: #001e3c;
            box-shadow: 0 0 15px #38bdf8;
        }

        /* Section fade-in animation */
        .section-hidden {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .section-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Portfolio Tab Styles */
        .portfolio-tab {
            transition: all 0.3s ease;
            color: #9ca3af;
            /* gray-400 */
        }

        .portfolio-tab.active {
            color: #ffffff;
            /* white */
            background-color: #1f2937;
            /* gray-800 */
        }

        .portfolio-tab:hover {
            background-color: #374151;
            /* gray-700 */
            color: #ffffff;
        }

        .project-card {
            border-radius: 1rem;
            background-color: #111827;
            /* gray-900 */
            border: 1px solid #39475d;
            /* gray-700 */
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 220, 255, 0.1);
        }

        .tech-card {
            background-color: #111827;
            /* gray-900 */
            border: 1px solid #374151;
            /* gray-700 */
            transition: all 0.3s ease;
        }

        .tech-card:hover {
            transform: translateY(-5px);
            border-color: #38bdf8;
            color: #38bdf8;
        }

        .experience-card {
            background-color: #0c1a2e;
            border: 1px solid #1e3a5f;
            border-radius: 1rem;
            padding: 2rem;
            transition: all 0.3s ease;
        }

        .experience-card:hover {
            box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
        }

        /* === LOADER STYLES === */
        #welcome-loader {
            position: fixed;
            inset: 0;
            background: radial-gradient(circle at top left, #001e3c, #000);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            perspective: 1000px;
        }

        .loader-box {
            position: relative;
            transform-style: preserve-3d;
            animation: rotate 7s infinite ease-in-out alternate;
        }

        .loader-box span {
            position: absolute;
            transform-style: preserve-3d;
            font-size: 2.5em;
            font-weight: bold;
            color: white;
            white-space: nowrap;
            transform: translate(-50%, -50%) rotateX(calc(var(--i) * 22.5deg)) translateZ(120px);
            text-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        }

        .loader-box span i:nth-child(1) {
            color: #5c5fc4;
            font-style: normal;
        }

        .loader-box span i:nth-child(2) {
            color: #c4c15c;
            font-style: normal;
        }

        @keyframes rotate {
            0% {
                transform: perspective(500px) rotateX(0deg) rotateY(10deg);
            }

            100% {
                transform: perspective(500px) rotateX(360deg) rotateY(10deg);
            }
        }

        /* === FADE OUT === */
        .fade-out {
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        @media (max-width: 600px) {
            .loader-box span {
                font-size: 1.4em;
            }
        }

/* === Loding  ===
body {
    background-color: #f0f2f5;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
*/
.loading-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 9999;
}
.loading-text{
    font-size: 0.8em;
    
}
.loading-bar {
    width: 300px;
    height: 20px;
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress {
    height: 100%;
    width: 0;
    background: radial-gradient(circle at top left, #001e3c, #251769);
    border-radius: 10px;
    transition: width 5s ease-in-out;
    animation: fill-progress 5s forwards;
}

@keyframes fill-progress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Webkit Scrollbar for Chrome, Edge, Android */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #000; /* Dark background */
}

::-webkit-scrollbar-thumb {
  background: #000; /* Purple scrollbar */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000; /* Lighter on hover */
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: #000 #000; /* thumb color track color */
}




@import url('https://fonts.googleapis.com/css?family=Lato');

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  
}

.flip-card-container {
  --hue: 150;
  --primary: hsl(var(--hue), 50%, 50%);
  --white-1: hsl(0, 0%, 90%);
  --white-2: hsl(0, 0%, 80%);
  --dark: hsl(var(--hue), 25%, 10%);
  --grey: hsl(0, 0%, 50%);

  width: 310px;
  height: 500px;
  margin: 40px;
  perspective: 1000px;

  animation: fadeInUp 0.6s ease both;
  animation-delay: calc(var(--i, 1) * 0.1s);
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card-container.clicked .flip-card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: var(--dark);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.card-back {
  transform: rotateY(180deg);
  z-index: 1;
}

figure,
.img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img {
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}
button {
  font-family: inherit;
  font-weight: bold;
  color: var(--white-1);
  letter-spacing: 2px;
  padding: 9px 20px;
  border: 1px solid var(--grey);
  border-radius: 1000px;
  background: transparent;
  transition: 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

button:hover {
  color: var(--primary);
  background: hsla(var(--hue), 25%, 10%, .2);
  border-color: currentColor;
  box-shadow: 0 0 12px var(--primary);
}

button:active {
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .flip-card-container {
    width: 90%;
    height: 400px;
    margin: 20px auto;
  }

  
}
