/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
    .card {
        margin-bottom: 1.5rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-toggler {
        border: none;
    }
}

/* General spacing improvements */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hero Section Styling */
.hero-section {
    padding: 4rem 1rem;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0062E6 0%, #33AEFF 100%);
}

/* Navbar tweaks for better mobile experience */
.navbar {
    padding: 1rem 1rem;
}

.navbar-collapse {
    text-align: center;
}

  .navbar-nav .nav-link:hover {
    color: #ffe600 !important;
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  .navbar-toggler {
    filter: invert(1);
  }

/* Smooth button hover */
.btn-primary {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #004bbd;
    box-shadow: 0 0 8px rgba(0,75,189,0.6);
    outline: none;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 999;
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    line-height: 35px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    background-color: #0062E6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#scrollTopBtn:hover {
    background-color: #004bbd;
    transform: scale(1.1);
}

/* Enable smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
/* Portfolio Timeline Style */
.timeline-item {
    border-left: 3px solid #0d6efd;
    padding-left: 15px;
    margin-left: 10px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #0d6efd;
    border-radius: 50%;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}