* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    scroll-behavior: smooth;

    font-family: Poppins, sans-serif;

}

html {

    scroll-behavior: smooth;

}

body {

    padding-top: 85px;

    background: #f8f9fa;

    overflow-x: hidden;

}

section {

    padding: 100px 0;

    scroll-margin-top: 75px;

}

/*=========================
NAVBAR
=========================*/

.custom-navbar {

    background: rgba(13, 39, 110, .90);

    backdrop-filter: blur(15px);

    transition: .4s;

    padding: 15px 0;

    z-index: 999;

}

.custom-navbar.scrolled {

    background: #0f172a;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);

}

.navbar-brand {

    color: #fff !important;

    font-size: 28px;

    font-weight: 700;

    transition: .4s;

}

.navbar-brand:hover {

    color: #0dcaf0 !important;

    transform: scale(1.05);

}

.navbar-brand i {

    margin-right: 8px;

}

.navbar-nav .nav-link {

    position: relative;

    color: white !important;

    font-size: 17px;

    font-weight: 600;

    margin: 0 8px;

    padding: 10px 18px !important;

    border-radius: 30px;

    transition: .4s;

}

.navbar-nav .nav-link:hover {

    color: #0dcaf0 !important;

    background: rgba(255, 255, 255, .10);

}

.navbar-nav .nav-link::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 4px;

    width: 0;

    height: 3px;

    background: #0dcaf0;

    transition: .4s;

    transform: translateX(-50%);

    border-radius: 20px;

}

.navbar-nav .nav-link:hover::after {

    width: 70%;

}

.navbar-nav .nav-link.active {

    background: #0dcaf0;

    color: #000 !important;

    font-weight: 700;

}

.navbar-nav .nav-link.active::after {

    display: none;

}

.navbar .btn-warning {

    border-radius: 50px;

    padding: 10px 22px;

    font-weight: 600;

    transition: .4s;

}

.navbar .btn-warning:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(255, 193, 7, .4);

}

/*============================
Hero Section
============================*/

.hero-section {

    background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);

    background-size: 400% 400%;

    animation: gradient 10s infinite;

    color: white;

    overflow: hidden;

    position: relative;

    padding-top: 120px;

}

.hero-tag {

    background: rgba(255, 255, 255, .2);

    padding: 10px 25px;

    border-radius: 30px;

    backdrop-filter: blur(10px);

}

.hero-section h1 {

    font-size: 65px;

    margin-top: 15px;

}

.text-primary {
    color: #38bdf8 !important;
}

.typing-text {

    height: 60px;

    color: #ffc107;

    font-weight: bold;

}

.hero-section p {

    max-width: 650px;

}

.hero-image-box {

    width: 100%;

    max-width: 420px;

    aspect-ratio: 1/1;

    margin: auto;

}

.hero-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 50%;

}

.hero-subtitle {

    font-size: 22px;

    color: #dbeafe;

    margin-top: -5px;

    margin-bottom: 20px;

    text-shadow: 0 5px 15px rgba(0, 0, 0, .2);

}

.social-icons a {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 55px;

    height: 55px;

    background: white;

    color: #0d6efd;

    border-radius: 50%;

    margin-right: 15px;

    font-size: 24px;

    text-decoration: none;

    transition: .4s;

}

.social-icons a:hover {

    background: #ffc107;

    transform: translateY(-8px);

}

.experience-card {

    position: absolute;

    width: 180px;

    background: rgba(28, 35, 49, .95);

    color: #fff;

    padding: 18px;

    border-radius: 18px;

    text-align: center;

    backdrop-filter: blur(10px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);

    animation: floatCard 4s ease-in-out infinite;

    z-index: 5;

}

.experience-card i {

    font-size: 28px;

    color: #0dcaf0;

    margin-bottom: 8px;

}

.experience-card h6 {

    margin: 5px 0;

    font-weight: 700;

}

.experience-card small {

    color: #d9d9d9;

}

.card-one {

    top: 40px;

    right: -90px;

}

.card-two {

    bottom: 100px;

    left: -90px;

    animation-delay: 1s;

}

.card-three {

    bottom: -30px;

    right: 20px;

    animation-delay: 2s;

}

.scroll-down {

    position: absolute;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

}

.scroll-down a {

    font-size: 35px;

    color: white;

    animation: bounce 2s infinite;

}

.custom-navbar {
    padding: 15px 0;
}

@keyframes bounce {

    50% {

        transform: translateY(10px);

    }

}

@keyframes gradient {

    0% {

        background-position: 0% 50%;

    }

    50% {

        background-position: 100% 50%;

    }

    100% {

        background-position: 0% 50%;

    }

}

@keyframes float {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-12px);

    }

}

@keyframes floatCard {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-12px);

    }

}

@media(max-width:991px) {

    .experience-card {

        display: none;

    }

}

/*=========================
ABOUT SECTION
=========================*/

.about-section {

    background: #fff;

}

.about-image {

    width: 380px;

    height: 380px;

    margin: auto;

    border-radius: 50%;

    padding: 10px;

    background: linear-gradient(135deg, #0d6efd, #6610f2);

}

.about-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 8px solid white;

}

.about-tag {

    background: #0d6efd;

    color: white;

    padding: 8px 18px;

    border-radius: 30px;

    font-weight: 600;

}

.about-text {

    margin-top: 20px;

    font-size: 18px;

    line-height: 1.8;

    color: #555;

}

.info-card {

    display: flex;

    align-items: center;

    background: #f8f9fa;

    padding: 15px;

    border-radius: 15px;

    transition: .3s;

}

.info-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);

}

.info-card i {

    font-size: 28px;

    color: #0d6efd;

    margin-right: 15px;

}

.info-card h6 {

    margin-bottom: 3px;

    font-weight: 700;

}

.info-card p {

    margin: 0;

    color: #666;

}

.counter-box {

    background: #0d6efd;

    color: white;

    padding: 20px;

    border-radius: 15px;

    transition: .3s;

}

.counter-box:hover {

    background: #6610f2;

    transform: translateY(-5px);

}

.counter-box h3 {

    font-weight: bold;

    margin-bottom: 5px;

}

.counter-box p {

    margin: 0;

}

.services {
    background: #f8f9fa;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #666;
}

/*=========================
TECH STACK
==========================*/

.tech-stack {

    background: #f8f9fa;

}

.tech-card {

    background: #fff;

    border-radius: 20px;

    padding: 30px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .4s;

    height: 100%;

}

.tech-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

}

.tech-card img {

    width: 70px;

    height: 70px;

    margin-bottom: 20px;

    transition: .4s;

}

.tech-card:hover img {

    transform: scale(1.15) rotate(5deg);

}

.tech-card h5 {

    font-weight: 700;

    margin: 0;

}

/*=========================
SKILLS SECTION
=========================*/

.skills-section {

    background: #ffffff;

}

.skill-box {

    background: #fff;

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}

.progress {

    height: 10px;

    border-radius: 20px;

    background: #e9ecef;

}

.progress-bar {

    border-radius: 20px;

}

.bg-purple {

    background: #6f42c1;

}

/* Progress Width */

.html {

    width: 95%;

}

.css {

    width: 90%;

}

.bootstrap {

    width: 90%;

}

.javascript {

    width: 80%;

}

.python {

    width: 95%;

}

.django {

    width: 88%;

}

.mysql {

    width: 85%;

}

.git {

    width: 80%;

}

.skill-box:hover {

    transform: translateY(-8px);

    transition: .4s;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

}

/*=========================
PROJECT SECTION
==========================*/

/* .projects-section{

    background:#f8f9fa;

}

.project-card{

    width:100%;

    max-width: 380px;

    margin: auto;

    height:100%;

    border-radius:18px;

    overflow:hidden;

    background:#fff;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.20);

}

.badge{

    padding:8px 12px;

    border-radius:30px;

    font-size:13px;

    margin-bottom:8px;

}

.project-img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

}

.project-card:hover .project-img{

    transform:scale(1.05);

}

.project-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:20px;

}

.project-content .d-flex{

    margin-top:auto;

}

.project-content h4{

    font-weight:700;

}

.filter-btn{

    margin:5px;

}

.project-item{

    display:flex;

} */

.projects-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.project-card {

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);

    transition: .4s;

    height: 100%;

}

.project-card:hover {

    transform: translateY(-8px);

}

.project-img {

    width: 100%;

    height: 220px;

    object-fit: cover;

    display: block;

}

.project-content {

    padding: 20px;

}

.project-features {

    list-style: none;

    padding-left: 0;

}

.project-features li {

    margin-bottom: 6px;

}

/*==============================
EDUCATION SECTION
===============================*/

.education-section {

    background: #fff;

}

.timeline {

    position: relative;

    border-left: 4px solid #0d6efd;

    padding-left: 40px;

}

.timeline-item {

    position: relative;

    margin-bottom: 45px;

}

.timeline-icon {

    position: absolute;

    left: -62px;

    width: 45px;

    height: 45px;

    background: #0d6efd;

    color: #fff;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 20px;

}

.timeline-content {

    background: #f8f9fa;

    padding: 25px;

    border-radius: 15px;

    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);

    transition: .4s;

}

.timeline-content:hover {

    transform: translateY(-6px);

}

.timeline-content h4 {

    font-weight: 700;

}

.timeline-content span {

    color: #0d6efd;

    font-weight: 600;

}

.certificate-card {

    background: #fff;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .4s;

}

.certificate-card:hover {

    transform: translateY(-8px);

}

.certificate-card i {

    font-size: 50px;

    color: #0d6efd;

    margin-bottom: 20px;

    display: block;

    text-align: center;

}

/*=========================
CONTACT SECTION
==========================*/

.contact-section {

    background: #f8f9fa;

}

.contact-info-card,
.contact-form-card {

    background: white;

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    height: 100%;

}

.contact-item {

    display: flex;

    margin-bottom: 25px;

    align-items: center;

}

.contact-item i {

    width: 60px;

    height: 60px;

    background: #0d6efd;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    font-size: 22px;

    margin-right: 20px;

}

.contact-item p {

    margin: 0;

}

.social-contact a {

    width: 50px;

    height: 50px;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    background: #0d6efd;

    color: white;

    border-radius: 50%;

    margin-right: 10px;

    font-size: 22px;

    transition: .4s;

    text-decoration: none;

}

.social-contact a:hover {

    background: #ffc107;

    color: black;

    transform: translateY(-6px);

}

.form-control {

    padding: 15px;

    border-radius: 12px;

}

/*=========================
FOOTER
==========================*/

.footer {

    background: #0f172a;

    color: white;

    padding: 70px 0 20px;

}

.footer-logo {

    font-weight: 700;

    margin-bottom: 20px;

}

.footer-logo i {

    color: #0dcaf0;

}

.footer-text {

    color: #cbd5e1;

    line-height: 1.8;

}

.footer h4 {

    margin-bottom: 20px;

    font-weight: 700;

}

.footer-links {

    list-style: none;

    padding: 0;

}

.footer-links li {

    margin-bottom: 12px;

}

.footer-links a {

    text-decoration: none;

    color: #cbd5e1;

    transition: .3s;

}

.footer-links a:hover {

    color: #0dcaf0;

    padding-left: 8px;

}

.footer-social a {

    width: 45px;

    height: 45px;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    background: #1e293b;

    border-radius: 50%;

    color: white;

    font-size: 20px;

    margin-right: 10px;

    transition: .4s;

    text-decoration: none;

}

.footer-social a:hover {

    background: #0dcaf0;

    color: #000;

    transform: translateY(-6px);

}

.footer-line {

    margin: 40px 0 20px;

    border-color: #334155;

}

.footer-bottom {

    text-align: center;

    color: #94a3b8;

}

#topBtn {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 55px;

    height: 55px;

    border: none;

    border-radius: 50%;

    background: #0d6efd;

    color: white;

    font-size: 22px;

    cursor: pointer;

    display: none;

    z-index: 999;

    transition: .3s;

}

#topBtn:hover {

    background: #0dcaf0;

    color: black;

    transform: translateY(-5px);

}

/* ================= MOBILE ================= */

@media (max-width:768px) {

    .hero-section {

        padding-top: 120px;

        text-align: center;

    }

    .hero-section .row {

        flex-direction: column;

    }

    .hero-image-box {

        width: 100%;

        max-width: 220px;

        aspect-ratio: 1/1;

        margin: 20px auto;

    }

    .hero-image {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }

    .hero-section h1 {

        font-size: 2.2rem;

        line-height: 1.2;

    }

    .typing-text {

        font-size: 1.3rem;

        height: 35px;

    }

    .hero-cta-group {

        display: flex;

        flex-direction: column;

        gap: 15px;

        align-items: center;
    }

    .hero-cta-group .btn {

        width: 250px;

        margin: 0 !important;

    }

    .counter-box {

        margin-bottom: 20px;

        text-align: center;

    }

    .navbar-collapse {

        background: #111827;

        padding: 20px;

        margin-top: 15px;

        border-radius: 15px;

    }

    .navbar-nav {

        gap: 8px;

    }

    .navbar-nav .nav-link {

        display: block;

        text-align: center;

    }

    .resume-btn {

        width: 100%;

        margin-top: 10px;

    }


    .social-icons {

        display: flex;

        justify-content: center;

        gap: 15px;

        margin-top: 30px;
    }

    .experience-card {

        display: none;

    }

    .hero-section p {

        max-width: 100%;

        padding: 0 15px;

    }
}

/* ================= TABLET ================= */

@media(min-width:577px) and (max-width:991px) {

    .hero-image-box {

        max-width: 320px;

    }

    .hero-section {

        text-align: center;

    }

}

.experience-card {

    display: none;

}

.about-img {

    width: 330px;

    margin: auto;

    margin-bottom: 40px;

}

.about-content {

    text-align: center;

}

.project-img {

    height: 220px;

}

.service-card {

    margin-bottom: 25px;

}

.tech-card {

    margin-bottom: 25px;

}

.contact-info {

    margin-bottom: 30px;

}

.footer {

    text-align: center;

}


/* ================= LAPTOP ================= */

@media (min-width:992px) and (max-width:1200px) {

    .hero-section h1 {

        font-size: 3.5rem;

    }

    .hero-image {

        width: 420px;

    }

    .project-img {

        height: 230px;

    }

    .section-title {

        font-size: 2.5rem;

    }

}

/* ================= DESKTOP ================= */

@media (min-width:1201px) {

    .container {

        max-width: 1320px;

    }

    .hero-image {

        width: 470px;

    }

}

@media (max-width:991px) {

    .custom-navbar {

        padding: 12px 0;

    }

    .navbar-collapse {

        background: #111827;

        padding: 20px;

        border-radius: 15px;

        margin-top: 15px;

    }

    .navbar-nav .nav-link {

        padding: 12px;

        font-size: 18px;

    }

    .resume-btn {

        width: 100%;

        margin-top: 15px;

    }

    .dark-btn {

        margin-bottom: 15px;

    }

}