/********** Template CSS **********/
:root {
    --primary: #6244C5;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    /* display: none; */
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

body {
    padding-top: 0;
}

.body {
    padding-top: 80px;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.fixed-top {
    display: flex;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}


/*** Header ***/
#home {
    margin-bottom: 6rem;
    background: url(../img/bg-header.png) left top no-repeat;
}

.typed-cursor {
    font-size: 30px;
    color: var(--dark);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** About ***/
.about-box,
.about-skill {
    transition: all 0.3s ease;
}

.about-box:hover,
.about-skill:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}
/* About Section */
.about-section {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

/* Tag */
.about-tag {
  color: #4f46e5;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Description */
.about-desc {
  max-width: 700px;
  font-size: 1rem;
}

/* About Box */
.about-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
  transition: all 0.3s ease;
}

.about-box:hover {
  transform: translateY(-6px);
}

/* Skill Cards */
.about-skill {
  background: #fff;
  padding: 30px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.about-skill i {
  font-size: 32px;
  color: #4f46e5;
  margin-bottom: 12px;
}

.about-skill:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
}

.about-skill:hover i {
  color: #fff;
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border-radius: 50px;
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  color: #fff;
}


/*** Skills ***/

#skill .progress {
    height: 5px;
    border-radius: 5px;
}

#skill .progress .progress-bar {
    width: 0px;
    border-radius: 5px;
    transition: 3s;
}

#skill .nav-pills .nav-link {
    color: var(--dark);
}

#skill .nav-pills .nav-link.active {
    color: #FFFFFF;
}

#skill .tab-content hr {
    width: 30px;
}


/*** Service ***/
.service-title {
    color: #4f46e5;
}



.about-card {
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.1);
}

.about-card img {
    object-fit: cover;
    border: 4px solid #f1f1f1;
}

.service-item .bg-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-icon.png) center center no-repeat;
    background-size: cover;
}


.projects-section {
  padding: 80px 0;
  background-color: #f9fafb;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-body {
  padding: 20px;
}

.project-body h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.95rem;
  color: #6b7280;
}

.project-link {
  text-decoration: none;
  font-weight: 500;
  color: #4f46e5;
}

.project-link:hover {
  text-decoration: underline;
}

/*** Team ***/
/* Team Card */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.team-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover Effects */
.team-card:hover {
  transform: translateY(-10px);
}

.team-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.15),
    rgba(79, 70, 229, 0.9)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-overlay h5 {
  font-size: 20px;
  font-weight: 600;
}

.team-overlay span {
  font-size: 14px;
  opacity: 0.9;
}

/* Social Icons */
.team-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: #4f46e5;
  color: #fff;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    opacity: .7;
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1;
}

.team-item .team-text div {
    transition: .5s;
}

.team-item:hover .team-text div {
    margin-left: 30px;
}
.team-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.5rem 2.5rem rgba(0,0,0,.08);
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-item i {
    font-size: 1.2rem;
    color: #4f46e5;
    background: rgba(79,70,229,0.1);
    padding: 12px;
    border-radius: 50%;
}

.btn-icon {
    background: rgba(79,70,229,0.1);
    color: #4f46e5;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-icon:hover {
    background: #4f46e5;
    color: #fff;
}
.map-card {
    background: #fff;
}

.map-card iframe {
    filter: grayscale(20%);
}

.map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #4f46e5;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    z-index: 2;
    display: flex;
    align-items: center;
}

.map-badge i {
    font-size: 0.9rem;
}

.footer {
    font-size: 15px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #4f46e5;
}

.footer-icon {
    width: 42px;
    height: 42px;
    background: #4f46e5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    transition: 0.3s;
    text-decoration: none;
}

.footer-icon:hover {
    background: #fff;
    color: #4f46e5;
}
