 body {
        background: #1d1f23;
        font-family: "Poppins", sans-serif;
        color: #fff;
    }
    .navbar-logo {
    width: 45px;  /* Adjust this value to get the perfect size */
    height: 45px; /* Keep width and height equal for a circle */
    
}
/* Removes the outline/border when the logo is clicked or focused */
.navbar-brand, .navbar-brand:focus, .navbar-brand:active {
    outline: none !important;
    border: none !important;
    text-decoration: none;
}

/* Ensures the image itself doesn't have a border */
.navbar-logo {
    border: none !important;
    outline: none !important;
}
/* Ensure the text "Portfolio" aligns perfectly with the logo */
.navbar-brand span {
    font-size: 1.25rem;
    line-height: 1;
}

    /* NAVIGATION */
    .navbar {
    /* Sticky Position */
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* Eye-catching Dark Background */
    background: rgba(29, 31, 35, 0.95) !important; /* Your color family */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    
    /* Bottom accent for depth */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    
    transition: all 0.3s ease;
}

/* Make nav-links pop */
.nav-link {
    color: #a0a8b3 !important; /* Subtle grey */
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ff014f !important; /* Eye-catching accent color (e.g., pink/red) */
}

/* Logo image size fix */
.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #ff014f; /* Matches hover color */
}

    /* LEFT HERO TEXT */
    .hero-title {
        font-size: 54px;
        font-weight: 700;
        line-height: 1.2;
    }
    .hero-title span {
        color: #ff004d;
    }

    /* TYPING ANIMATION */
   .typing-box {
    display: flex;
    gap: 8px;
    font-size: 40px;
    font-weight: 700;
    margin-top: 10px;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 8s steps(18) infinite, blink .7s infinite;
}

/* Dynamic content */
.typing-text::before {
    content: "professional coder";
    animation: switchWords 8s steps(1) infinite;
}

/* Typing animation */
@keyframes typing {
    0%,10% { width: 0; }
    25%,35% { width: 18ch; } /* stop exactly at end of text */
    50%,60% { width: 0; }    /* erase text */
    75%,85% { width: 15ch; } /* second phrase length */
    100% { width: 0; }
}

/* Cursor blink */
@keyframes blink {
    50% { border-color: transparent; }
}

/* Switch content */
@keyframes switchWords {
    0%,49% { content: "professional coder"; }
    50%,100% { content: "UI/UX designer"; }
}


    /* RIGHT IMAGE */
    .profile-img {
    width: 100%;       /* Takes up the full width of the col-lg-6 container */
    max-width: 350px;  /* Prevents it from getting too large on big screens */
    height: auto;      /* Keeps the original aspect ratio so it doesn't look stretched */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.profile-img img{
  height: 150px;
}
/* Base Image Styles */

/* Animation Trigger Class */
.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Keyframes for the Smooth Slide-In */
@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}
    /* SOCIAL ICONS */
    .icon-box {
        width: 55px;
        height: 55px;
        border-radius: 12px;
        background: #22262b;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        cursor: pointer;
    }
    .icon-box:hover {
        background: #2d323a;
    }

    .skill-box {
        width: 55px;
        height: 55px;
        border-radius: 12px;
        background: #22262b;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 15px;
    }
.profile-border {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    padding: 5px; /* border thickness */
    background-size: 600% 600%;
    animation: gradientBorder 8s ease infinite;
}

.profile-img {
    display: block;
    border-radius: 12px;
    width: 420px;
    height: auto;
}

/* Animate the gradient around the border */
@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.section-title {
  text-align: left;
  margin-left: 90px;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #FF0033; /* updated color */
}
/* Service card icons */
.service-icon {
  color: #FF0033;      /* Icon color */
  font-size: 2rem;     /* Equivalent to fa-2x */
  margin-bottom: 1rem; /* Space below icon */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Optional: hover effect */
.service-icon:hover {
  transform: scale(1.2);
  color: #ff3366; /* Slightly different red on hover */
}

    /* Trigger class for the animation */
    .shutter-in-left {
        animation: shutter-in-left 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    @keyframes shutter-in-left {
        0% {
            transform: rotateY(100deg);
            transform-origin: left;
            opacity: 0;
        }
        100% {
            transform: rotateY(0);
            transform-origin: left;
            opacity: 1;
        }
    }

    /* Staggering delays for each card */
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }
    .delay-5 { animation-delay: 0.5s; }
    .delay-6 { animation-delay: 0.6s; }

    /* Ensure parent container has perspective for 3D effect */
    .row {
        perspective: 1000px;
    }

    .service-card {
      position: relative;
      background: #1e2129;
      border-radius: 15px;
      padding: 30px;
      overflow: hidden;
      transition: all 0.5s ease;
      cursor: pointer;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    }

    /* Gradient blur border */

/* Blur border effect with subtle radial gradient */
.service-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.2), rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  filter: blur(10px);
  z-index: 0;
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}


    .service-card .icon {
      font-size: 1rem;
      color: #ff0063;
      margin-bottom: 15px;
      z-index: 1;
      position: relative;
      transition: transform 0.4s, color 0.4s;
    }

    .service-card:hover .icon {
      transform: scale(1.2);
      color: #00d4ff;
    }

    .service-card h5 {
      z-index: 1;
      position: relative;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .service-card p {
      z-index: 1;
      position: relative;
      font-size: 0.95rem;
      line-height: 1.5;
    }

    .service-card:hover {
      transform: translateY(-10px);
      background: #1b1e26;
    }

    @media (max-width: 768px) {
      .service-card {
        margin-bottom: 30px;
      }
    }
           
        .portfolio-title {
            text-align: center;
            margin: 40px 0 20px 0;
        }
        .portfolio-subtitle {
            text-align: center;
            color: #FF0033;
            margin-bottom: 10px;
            font-size: 14px;
        }
        .portfolio-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }
        .portfolio-filters button {
            background-color: #22262f;
            color: #cfd8dc;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            transition: 0.3s;
        }
        .portfolio-filters button.active,
        .portfolio-filters button:hover {
            background-color: #FF0033;
            color: #fff;
        }
        .portfolio-card {
            background-color: #22262f;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .portfolio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 25px rgba(255, 0, 51, 0.4);
        }
        .portfolio-card img {
            width: 100%;
            height: auto;
            display: block;
        }
        .portfolio-card-body {
            padding: 15px;
        }
        .portfolio-card-body h5 {
            transition: color 0.3s;
        }
        .portfolio-card:hover .portfolio-card-body h5 {
            color: #FF0033;
        }
        .portfolio-card .likes {
            font-size: 12px;
            color: #cfd8dc;
            float: right;
        }
        a {
            text-decoration: none;
        }
        .section-title {
            font-size: 28px;
            font-weight: 600;
            color: #FF0033;
        }

        .timeline-line {
            width: 3px;
            background: #222;
            margin: 0 auto;
            height: 100%;
        }

        .timeline-dot {
            width: 16px;
            height: 16px;
            background: #0d0f14;
            border: 3px solid #ff0033;
            border-radius: 50%;
            margin: 0 auto;
        }

        .resume-card {
            background: #151820;
            border-radius: 12px;
            padding: 25px;
            border: 1px solid rgba(255,255,255,0.1);
            transition: .3s ease;
        }

        .resume-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 25px rgba(255,0,51,0.2);
        }

        .badge-custom {
            background: #ff0033;
        }
        .progress-gradient {
  background: linear-gradient(90deg, #ff0033, #ff3366);
  width: 0%;
  height: 100%;
}

/* Keyframe animations */
@keyframes fill-photoshop { from { width: 0%; } to { width: 50%; } }
@keyframes fill-figma { from { width: 0%; } to { width: 95%; } }
@keyframes fill-xd { from { width: 0%; } to { width: 60%; } }
@keyframes fill-html { from { width: 0%; } to { width: 100%; } }
@keyframes fill-css { from { width: 0%; } to { width: 95%; } }

/* Assign animation to each bar */
.photoshop { animation: fill-photoshop 2s forwards; }
.figma { animation: fill-figma 2s forwards; }
.xd { animation: fill-xd 2s forwards; }
.html { animation: fill-html 2s forwards; }
.css { animation: fill-css 2s forwards; }
.progress-gradient {
    /* Define the new gradient: Red -> Blue -> Pink -> Green */
    background: linear-gradient(to right, #0000FF, #FF1493, violet);
    /* Ensure the gradient covers the bar */
    background-size: 100% 100%; 
    box-shadow: none; 
    /* The transition property is key for the "loading" animation effect */
    transition: width 1.5s ease-in-out; 
}

/* Ensure progress bars start at 0% when the tab is hidden to make the animation visible when the tab is shown */
.progress-bar {
    width: 0%; 
}

    .blog-card {
      background:#1a1c20;
      border-radius:20px;
      overflow:hidden;
      transition:0.4s;
      cursor:pointer;
    }

    .blog-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 25px rgba(255,0,51,0.4);
    }

    .blog-img {
      height:230px;
      object-fit:cover;
      width:100%;
    }

    .category-tag {
      color:#FF0033;
      font-size:12px;
      text-transform:uppercase;
      font-weight:600;
    }
    
    .section-title{
      color:#FF0033;
      text-align:center;
      margin-top:40px;
      letter-spacing:2px;
    }

    .contact-container{
      margin-top:40px;
      padding:20px;
    }

    .profile-card{
      background:#252a30;
      border-radius:15px;
      padding:25px;
      box-shadow:0 0 20px rgba(0,0,0,0.4);
    }

    .profile-card img{
      width:100%;
      height:auto;
      border-radius:10px;
    }

    .social-icons a{
      width:40px;
      height:40px;
      background:#1b1f24;
      display:flex;
      align-items:center;
      justify-content:center;
      border-radius:8px;
      margin-right:10px;
      transition:0.3s;
    }

    .social-icons a:hover{
      background:#FF0033;
    }

    .form-control, .form-control:focus{
      background:#1b1f24;
      color:#fff;
      border:1px solid #333;
    }

    .send-btn{
      background:#FF0033;
      color:#fff;
      border:none;
      padding:14px;
      width:100%;
      border-radius:8px;
      margin-top:15px;
      letter-spacing:1px;
      transition:0.3s;
    }
    .send-btn:hover{
      background:#cc022a;
    }
   
    .form-control {
    background: #1e1e1e;
    border: 1px solid #333;
    color: white;
}
.form-control:focus {
    background: #252525;
    color: white;
    border-color: #ff014f; /* Example accent color */
}