/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('../images/bg.jpg') center/cover no-repeat;
}
.hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.hero-content {
    position: relative;
    z-index: 10;
}
.skill-box:hover {
    background: #f8f9fa;
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}
.cta {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
}
.card img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.card {
  transition: all 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card img {
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}
.card {
  transition: all 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card img {
  height: 240px;
  object-fit: cover;
  cursor: zoom-in;
}
.card-body {
  background: #fff;
}
.card-hover:hover {
  transform: translateY(-6px);
  transition: 0.3s;
}
.btn {
  transition: 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.text-glow {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
.hover-scale {
  transition: 0.3s ease-in-out;
}
.hover-scale:hover {
  transform: translateY(-8px);
  background: #f8f9fa;
}
.hover-zoom img {
  transition: transform 0.4s ease;
}
.hover-zoom:hover img {
  transform: scale(1.08);
}
.hero {
  min-height: 100vh;
  position: relative;
}
.hero .overlay {
  z-index: 0;
}
.hero-content {
  z-index: 2;
  position: relative;
}
.cta {
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  position: relative;
  overflow: hidden;
}
.award-card {
    transition: all 0.4s ease;
    background: #fff;
}
.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.award-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.award-card:hover .award-img {
    transform: scale(1.08);
}
.project-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.project-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-card:hover .project-img {
    transform: scale(1.05);
}
.modal-content {
    border: none;
    border-radius: 1rem;
}
.modal-body img {
    max-height: 400px;
    object-fit: cover;
}
#skills {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.skill-item {
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateX(5px);
}

.skill-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    border-radius: 50px;
}


#Recent Projects
.project-card {
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wow {
    animation: fadeInUp 1s ease;
}

/* ===== HERO SECTION ===== */
.project-hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.project-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

/* ===== PROJECT CARD ===== */
.project-card {
    background: #fff;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== PROJECT IMAGE ===== */
.project-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #f1f1f1;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.95);
}
.project-card:hover .project-img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* ===== OVERLAY ===== */
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none; /* ✅ Fix for button click */
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

/* ===== BUTTON ===== */
.btn-warning {
    background: linear-gradient(45deg, #f4b000, #ffcb05);
    border: none;
    color: #222;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.4);
}
.btn-warning:hover {
    background: linear-gradient(45deg, #ffd200, #ffe670);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.6);
    color: #000;
}

/* ===== GLOW EFFECT ===== */
.glow-btn {
    position: relative;
    overflow: hidden;
}
.glow-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-btn:hover::after {
    opacity: 1;
}

/* ===== MODAL ===== */
.modal-header {
    background: #0d6efd;
    color: #fff;
}
.modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .project-img {
        height: 200px;
    }
}

/* ===== FOOTER DESIGN ===== */
.footer {
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

.footer p {
    color: #aaa;
    font-size: 15px;
}

/* ===== SOCIAL ICONS ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffcb05;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.2);
}

.social-icon:hover {
    background: #ffcb05;
    color: #111;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.7);
    transform: translateY(-4px);
}

/* ===== GLOW ANIMATION ===== */
.footer::before, .footer::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15), transparent 70%);
    z-index: 0;
    animation: glow 6s infinite alternate;
}
.footer::before {
    top: -50px;
    left: -60px;
}
.footer::after {
    bottom: -50px;
    right: -60px;
    animation-delay: 3s;
}

@keyframes glow {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 1; transform: scale(1.2); }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffcb05, #f4b000);
    color: #111;
    font-size: 24px;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(45deg, #ffd93b, #ffe45e);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.8);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .social-links {
        gap: 10px;
    }
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}
/* ===== FOOTER TEXT COLOR FIX ===== */
.footer-title {
    color: #f8f9fa; /* হালকা সাদা রঙ */
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.footer-title span:hover {
    color: #ffcb05; /* Hover করলে গোল্ড কালার */
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffcb05 !important;
}

.navbar-brand:hover {
    color: #ffd93b !important;
}

.nav-link {
    color: #ddd !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #ffcb05;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffcb05 !important;
}

/* Shrink on Scroll */
.navbar.scrolled {
    background: #000 !important;
    padding: 6px 0 !important;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-nav {
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    .nav-link {
        margin: 8px 0;
    }
}

/* ===== SUCCESS ANIMATION ===== */
.success-popup {
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checkmark animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    border: 4px solid #28a745;
    position: relative;
}
.success-checkmark .check-icon {
    position: absolute;
    top: 10px;
    left: 8px;
    width: 60px;
    height: 60px;
}
.line-tip {
    height: 5px;
    width: 25px;
    background-color: #28a745;
    display: block;
    position: absolute;
    left: 14px;
    top: 36px;
    transform: rotate(45deg);
    border-radius: 2px;
    animation: icon-line-tip 0.4s ease forwards;
}
.line-long {
    height: 5px;
    width: 45px;
    background-color: #28a745;
    display: block;
    position: absolute;
    right: 8px;
    top: 28px;
    transform: rotate(-45deg);
    border-radius: 2px;
    animation: icon-line-long 0.4s ease forwards 0.2s;
}
@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    100% { width: 25px; left: 14px; top: 36px; }
}
@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    100% { width: 45px; right: 8px; top: 28px; }
}

/* Circle animation */
.icon-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid rgba(40, 167, 69, 0.3);
}


/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding-top: 120px;
    color: #fff;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.gallery-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: brightness(0.7);
}
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 10px;
}
.gallery-item:hover .overlay {
    opacity: 1;
}
.zoom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.8);
    color: #111;
    transition: all 0.3s ease;
}
.zoom-icon:hover {
    background: #ffcb05;
    transform: scale(1.1);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-img {
        height: 180px;
    }
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    background: url('/images/bg-hero.jpg') center center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Particles.js Background */
.hero #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

/* Dark overlay */
.hero::before,
.hero .overlay {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Text Styling */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}

#typed-text {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffcb05;
}

.cursor {
    display: inline-block;
    background-color: #ffcb05;
    width: 3px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* Buttons */
.btn-warning {
    background: linear-gradient(45deg, #f4b000, #ffcb05);
    border: none;
    color: #111;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-warning:hover {
    background: linear-gradient(45deg, #ffd93b, #ffe16a);
    transform: translateY(-3px);
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    #typed-text { font-size: 1.2rem; }
}
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}
.project-card:hover .project-img {
    transform: scale(1.08);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.overlay-content h5 {
    color: #ffcb05;
    font-weight: 600;
}
<style>
/* Hero Section Enhancements */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,193,7,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,0,150,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0,150,255,0.1) 0%, transparent 50%);
    animation: pattern-float 20s ease-in-out infinite;
}
@keyframes pattern-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='20' r='2' fill='rgba(255,193,7,0.6)'/%3E%3Ccircle cx='80' cy='80' r='3' fill='rgba(255,0,150,0.6)'/%3E%3Ccircle cx='50' cy='10' r='1' fill='rgba(0,150,255,0.6)'/%3E%3C/svg%3E") repeat;
    animation: float 15s linear infinite;
    pointer-events: none;
}
.floating-elements::after {
    animation-delay: -7.5s;
    opacity: 0.5;
}
@keyframes float {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-100vh) rotate(360deg); }
}
.text-glow {
    text-shadow: 0 0 20px rgba(255,193,7,0.8), 0 0 40px rgba(255,0,150,0.6), 0 0 60px rgba(0,150,255,0.4);
    animation: glow-pulse 3s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
    from { text-shadow: 0 0 20px rgba(255,193,7,0.8), 0 0 40px rgba(255,0,150,0.6), 0 0 60px rgba(0,150,255,0.4); }
    to { text-shadow: 0 0 30px rgba(255,193,7,1), 0 0 50px rgba(255,0,150,0.8), 0 0 70px rgba(0,150,255,0.6); }
}
.gradient-text {
    background: linear-gradient(45deg, #ffc107, #ff69b4, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-btn-primary {
    background: linear-gradient(45deg, #ffc107, #ff69b4, #00bfff);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.gradient-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255,193,7,0.6);
    background: linear-gradient(45deg, #ff69b4, #00bfff, #ffc107);
}
.gradient-btn-primary .btn-glow {
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.gradient-btn-primary:hover .btn-glow {
    transform: translateX(100%);
}
.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #ffc107, #ff69b4) border-box;
    color: white;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.gradient-border:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)) padding-box, linear-gradient(45deg, #ff69b4, #00bfff) border-box;
}
.gradient-border .btn-glow {
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.gradient-border:hover .btn-glow {
    transform: translateX(100%);
}
.scroll-indicator {
    color: rgba(255,255,255,0.7);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .display-3 {
        font-size: 2.5rem !important;
    }
    .lead {
        font-size: 1.2rem !important;
    }
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}
</style>





