.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-grow {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none !important;
    width: 120px;
    height: 120px;
}

.spinner-wrapper {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.spinner-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* View My Work - Primary Button */
.btn-viewwork {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
}

.btn-viewwork:hover {
  background: #fff;
  color: #007bff;
  border: 2px solid #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
  transform: translateY(-2px);
}

/* Contact Me - Outline Button */
.btn-contactme {
  border: 2px solid #6c757d;
  color: #6c757d;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-contactme:hover {
  background: #6c757d;
  color: #fff;
  border-color: #6c757d;
  transform: translateY(-2px);
}


/* --- LinkedIn Button --- */
.btn-custom {
  background-color: #0072B1;
  color: #fff;
  border: 2px solid #0072B1;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.btn-custom-icon {
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background-color: #fff;
  color: #0072B1;
  border-color: #0072B1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 114, 177, 0.3);
}
.btn-custom:hover .btn-custom-icon {
  color: #0072B1;
  transform: scale(1.1);
}

/* --- Download CV Button --- */
.btn-cv {
  background-color: #198754;
  color: #fff;
  border: 2px solid #198754;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.btn-cv-icon {
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-cv:hover {
  background-color: #fff;
  color: #198754;
  border-color: #198754;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}
.btn-cv:hover .btn-cv-icon {
  color: #198754;
  transform: scale(1.1);
}

.btn-cv:focus,
.btn-cv:active {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}


#mainContent {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#mainContent.visible {
    opacity: 1;
}

.waving-hand {
    display: inline-block;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}

.flip-horizontal {
    transform: scaleX(-1);
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

a {
    text-decoration: none
}


/*h4{text-align:center;margin:30px 0;color:#444}*/

a {
    text-decoration: none
}


/*h4{text-align:center;margin:30px 0;color:#444}*/

h1{
  text-align:center;
  margin-bottom:50px;
  margin-top:50px;
}
.blog-card-blog {
    margin-top: 30px;
}
.blog-card {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 6px;
    color: rgba(0, 0, 0, 0.87);
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.blog-card .blog-card-image {
    height: 60%;
    position: relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: -30px;
    border-radius: 6px;
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
.blog-card .blog-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    pointer-events: none;
}
.blog-card .blog-table {
    padding: 15px 30px;
}
.blog-table {
    margin-bottom: 0px;
}
.blog-category {
    position: relative;
    line-height: 0;
    margin: 15px 0;
}
.blog-text-success {
    color: #28a745!important;
}
.blog-card-blog .blog-card-caption {
    margin-top: 5px;
}
.blog-card-caption {
    font-weight: 700;
    font-family: "Roboto Slab", "Times New Roman", serif;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.blog-card-caption, .blog-card-caption a {
    color: #333;
    text-decoration: none;
}

p {
    color: #3C4857;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.blog-card .ftr {
    margin-top: 15px;
}
.blog-card .ftr .author {
    color: #888;
}

.blog-card .ftr div {
    display: inline-block;
}
.blog-card .author .avatar {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 5px;
}
.blog-card .ftr .stats {
    position: relative;
    top: 1px;
    font-size: 14px;
}
.blog-card .ftr .stats {
    float: right;
    line-height: 30px;
}

/* Base card appearance */
/* Ensure all cards in the same row have equal height */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* Makes all children equal height */
}

/* Make each column stretch fully */
.col-md-3 {
  display: flex;
}

/* Force the card to take full height of its column */
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-table {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card .blog-table {
  padding-bottom: 1rem;
}

.collapse {
  transition: height 0.03s ease;
}

/* LinkedIn-Style Primary Button (for Live Demo) */
.btn-primary {
  background-color: #0072B1;
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

/* Hover - Primary Button */
.btn-primary:hover {
  background-color: #005a90;
  color: #fff;
  border-color: #004f80;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 114, 177, 0.3);
  text-decoration: none;
}

/* Focus/Active States */
.btn-primary:focus,
.btn-primary:active {
  background-color: #0069a3;
  border-color: #005b8e;
  box-shadow: 0 0 0 0.2rem rgba(0, 114, 177, 0.25);
  color: #fff;
}

/* Icon in Buttons */
.btn i {
  font-size: 1.25rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

/* Dark Button (for View Code) */
.btn-dark {
  background-color: #212529;
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background-color: #000;
  color: #fff;
  border-color: #343a40;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.3);
  text-decoration: none;
}

/* Disabled state (for placeholders like Live Demo) */
.btn:disabled,
.btn.disabled,
.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Education section */
.main-timeline {
    position: relative
}

.main-timeline:before {
    content: "";
    width: 5px;
    height: 100%;
    border-radius: 20px;
    margin: 0 auto;
    background: #242922;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.main-timeline .timeline {
    display: inline-block;
    margin-bottom: 50px;
    position: relative
}

.main-timeline .timeline:before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #D81159;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%)
}

.main-timeline .timeline-icon {
    display: inline-block;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #D81159;
    padding: 13px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%)
}

.main-timeline .timeline-icon i {
    display: block;
    border-radius: 50%;
    background: #D81159;
    font-size: 64px;
    color: #fff;
    line-height: 100px;
    z-index: 1;
    position: relative
}

.main-timeline .timeline-icon:after,
.main-timeline .timeline-icon:before {
    content: "";
    width: 100px;
    height: 4px;
    background: #D81159;
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%)
}

.main-timeline .timeline-icon:after {
    width: 70px;
    height: 50px;
    background: white;
    top: 89px;
    right: -30px
}

.main-timeline .timeline-content {
    width: 50%;
    padding: 0 50px;
    margin: 52px 0 0;
    float: right;
    position: relative
}

.main-timeline .timeline-content:before {
    content: "";
    width: 70%;
    height: 100%;
    border: 3px solid #D81159;
    border-top: none;
    border-right: none;
    position: absolute;
    bottom: -13px;
    left: 35px
}

.main-timeline .timeline-content:after {
    content: "";
    width: 37px;
    height: 3px;
    background: #D81159;
    position: absolute;
    top: 13px;
    left: 0
}

.main-timeline .title {
    font-size: 20px;
    color: #D81159;
    text-transform: uppercase;
    margin: 0 0 5px
}

.main-timeline .description {
    display: inline-block;
    color: #404040;
    line-height: 20px;
    margin: 0
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
    left: auto;
    right: 30%
}

.main-timeline .timeline:nth-child(even) .timeline-icon:before {
    right: auto;
    left: -100px
}

.main-timeline .timeline:nth-child(even) .timeline-icon:after {
    right: auto;
    left: -30px
}

.main-timeline .timeline:nth-child(even) .timeline-content {
    float: left
}

.main-timeline .timeline:nth-child(even) .timeline-content:before {
    left: auto;
    right: 35px;
    transform: rotateY(180deg)
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
    left: auto;
    right: 0
}

.main-timeline .timeline:nth-child(2n) .timeline-content:after,
.main-timeline .timeline:nth-child(2n) .timeline-icon i,
.main-timeline .timeline:nth-child(2n) .timeline-icon:before,
.main-timeline .timeline:nth-child(2n):before {
    background: #F68657
}

.main-timeline .timeline:nth-child(2n) .timeline-icon {
    border-color: #F68657
}

.main-timeline .timeline:nth-child(2n) .title {
    color: #F68657
}

.main-timeline .timeline:nth-child(2n) .timeline-content:before {
    border-left-color: #F68657;
    border-bottom-color: #F68657
}

.main-timeline .timeline:nth-child(3n) .timeline-content:after,
.main-timeline .timeline:nth-child(3n) .timeline-icon i,
.main-timeline .timeline:nth-child(3n) .timeline-icon:before,
.main-timeline .timeline:nth-child(3n):before {
    background: #8fb800
}

.main-timeline .timeline:nth-child(3n) .timeline-icon {
    border-color: #8fb800
}

.main-timeline .timeline:nth-child(3n) .title {
    color: #8fb800
}

.main-timeline .timeline:nth-child(3n) .timeline-content:before {
    border-left-color: #8fb800;
    border-bottom-color: #8fb800
}

.main-timeline .timeline:nth-child(4n) .timeline-content:after,
.main-timeline .timeline:nth-child(4n) .timeline-icon i,
.main-timeline .timeline:nth-child(4n) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n):before {
    background: #2fcea5
}

.main-timeline .timeline:nth-child(4n) .timeline-icon {
    border-color: #2fcea5
}

.main-timeline .timeline:nth-child(4n) .title {
    color: #2fcea5
}

.main-timeline .timeline:nth-child(4n) .timeline-content:before {
    border-left-color: #2fcea5;
    border-bottom-color: #2fcea5
}

@media only screen and (max-width:1200px) {
    .main-timeline .timeline-icon:before {
        width: 50px;
        right: -50px
    }

    .main-timeline .timeline:nth-child(even) .timeline-icon:before {
        right: auto;
        left: -50px
    }

    .main-timeline .timeline-content {
        margin-top: 75px
    }
}

@media only screen and (max-width:990px) {
    .main-timeline .timeline {
        margin: 0 0 10px
    }

    .main-timeline .timeline-icon {
        left: 25%
    }

    .main-timeline .timeline:nth-child(even) .timeline-icon {
        right: 25%
    }

    .main-timeline .timeline-content {
        margin-top: 115px
    }
}

@media only screen and (max-width:767px) {
    .main-timeline {
        padding-top: 50px
    }

    .main-timeline:before {
        left: 80px;
        right: 0;
        margin: 0
    }

    .main-timeline .timeline {
        margin-bottom: 70px
    }

    .main-timeline .timeline:before {
        top: 0;
        left: 83px;
        right: 0;
        margin: 0
    }

    .main-timeline .timeline-icon {
        width: 60px;
        height: 60px;
        line-height: 40px;
        padding: 5px;
        top: 0;
        left: 0
    }

    .main-timeline .timeline:nth-child(even) .timeline-icon {
        left: 0;
        right: auto
    }

    .main-timeline .timeline-icon:before,
    .main-timeline .timeline:nth-child(even) .timeline-icon:before {
        width: 25px;
        left: auto;
        right: -25px
    }

    .main-timeline .timeline-icon:after,
    .main-timeline .timeline:nth-child(even) .timeline-icon:after {
        width: 25px;
        height: 30px;
        top: 44px;
        left: auto;
        right: -5px
    }

    .main-timeline .timeline-icon i {
        font-size: 30px;
        line-height: 45px
    }

    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content {
        width: 100%;
        margin-top: -15px;
        padding-left: 130px;
        padding-right: 5px
    }

    .main-timeline .timeline:nth-child(even) .timeline-content {
        float: right
    }

    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        width: 50%;
        left: 120px
    }

    .main-timeline .timeline:nth-child(even) .timeline-content:before {
        right: auto;
        transform: rotateY(0)
    }

    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(even) .timeline-content:after {
        left: 85px
    }
}

@media only screen and (max-width:479px) {

    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding-left: 110px
    }

    .main-timeline .timeline-content:before,
    .main-timeline .timeline:nth-child(2n) .timeline-content:before {
        left: 99px
    }

    .main-timeline .timeline-content:after,
    .main-timeline .timeline:nth-child(2n) .timeline-content:after {
        left: 65px
    }
}

/* Contacts Section*/
/* Base Feature Icon Style */
.feature-icon {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

a:hover h4 {
  color: var(--bs-primary);
  transition: color 0.3s ease;
}

.text-bg-primary { background-color: #0d6efd !important; }
.text-bg-success { background-color: #198754 !important; }
.text-bg-secondary { background-color: #6c757d !important; }

/* GitHub and LinkedIn custom brand effects */
.bi-github {
  fill: #171515;
  transition: all 0.3s ease;
}
.bi-github:hover {
  fill: #6e5494;
}

.bi-linkedin {
  fill: #0077b5;
  transition: all 0.3s ease;
}
.bi-linkedin:hover {
  fill: #005582;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    color: #fff;
}