body {
    font-family: 'Fira Code', monospace;
    background-color: #ffffff;
    color: #000000;
}

.nav-item a{
    color: white !important;
}


/* her */

.hero-bg {
    background: linear-gradient(-45deg, #091a5c, #4e54c8, #8f94fb, #2c3e50);
    background-size: 400% 400%;
    animation: gradient 12s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 130px 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/7.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 1;
    filter: brightness(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(9, 26, 92, 0.85) 0%, rgba(9, 26, 92, 0.45) 50%, rgba(9, 26, 92, 0.1) 100%);
    z-index: 1;
}

.hero-image {
    height: 90vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 10px;
   
}
/* Particles container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none; /* so it doesn’t block clicks */
}


/* Background image */
.hero-bg {
    z-index: 0;
    /* already defined, no change */
}

/* Overlay with more transparency to show particles */
.hero-overlay {
    z-index: 2;
    background: linear-gradient(to right, rgba(9, 26, 92, 0.65) 0%, rgba(9, 26, 92, 0.35) 50%, rgba(9, 26, 92, 0.1) 100%);
}

/* Content */
.hero-section .container {
    position: relative;
    z-index: 3;
}



/* services */

.card-title {
    font-family: 'Fira Code', monospace;
    color:black !important;
}

.btn-outline-primary {
    border-color: #091a5c;
    color: #091a5c;
}

.btn-outline-primary:hover {
    background-color: #091a5c;
    color: white;
}

/* skills */
.skills-ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

.skills-ticker {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.skill-pill {
    display: inline-block;
    background-color: white;
    color: #091a5c;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    margin-right: 20px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.skill-pill:hover {
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
@media (max-width: 767px) {
    .hero-section {
        padding: 10px;
    }

    .hero-bg {
        background-position: center top; /* Optional tweak for mobile */
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #091a5c;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* WhatsApp green on hover */
}


/*blog */

.post-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.cover-image img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #222;
}

.post-header .text-muted {
    font-size: 1.1rem;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.gallery h2 {
    font-size: 1.8rem;
    color: #222;
}

.gallery-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.badge {
    font-size: 0.85rem;
    margin-right: 8px;
    padding: 5px 10px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }

    .cover-image img {
        max-height: 400px;
    }

    .gallery-img {
        max-height: 200px;
    }
}
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}
.post-content .alignleft {
    float: left;
    margin-right: 15px;
}
.post-content .alignright {
    float: right;
    margin-left: 15px;
}
.post-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-section {
    transition: all 0.3s ease;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}