/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}


/* Fix Carousel Overlay Blocking Issue */
.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: none !important; /* Remove dark overlay */
    padding: 0;
    z-index: 3;	
}
.carousel-item img {
    height: 100vh;
	object-position: center;
}


@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}





.service-item {
    position: relative;
    overflow: hidden;
    min-height: 350px; /* responsive */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.icon-hover {
    transition: all 0.4s;
}

.service-item:hover .icon-hover {
    background-color: #0d6efd; /* Primary color */
    color: #fff;
    transform: scale(1.2);
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: #f8f9fa; /* fallback for var(--light) */
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: 0.5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: 0.3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}


.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

/*category section*/
.cat-item {
    transition: 0.4s;
    cursor: pointer;
    min-width: 220px;
}
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    margin: 0 auto;
}
.cat-item:hover {
    transform: translateY(-10px);
}
.cat-item:hover .icon-box {
    background: #F3525A; /* Primary color */
    color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/*gallery section*/
   /* Height Fix */
    .gallery-img {
        height: 260px; /* Aap chahe to 280px / 300px bhi kar sakte ho */
        object-fit: cover;
        transition: transform 0.5s ease-in-out;
    }

    /* Hover Zoom Effect */
    .gallery-item:hover .gallery-img {
        transform: scale(1.08);
    }
	
	
/* Section Styles */
.mission-vision {
    background: #ffffff;
}

/* Description Paragraph */
.mission-vision .description {
    color: #000;
    font-size: 17px;
}

/* Box Styles */
.box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.box-text {
    color: #000;
    font-size: 16px;
    line-height: 1.7;
}

/* Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    background:#F3525A ;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Hover effect on card */
.box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    transition: all 0.3s ease; /* Smooth transition */
}

.box:hover {
    background: #F3525A; /* Background color on hover */
    transform: translateY(-8px); /* Slight lift effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Change heading and paragraph text color on hover */
.box:hover h3,
.box:hover .box-text {
    color: #fff;
}

/* Icon circle changes on hover */
.box:hover .icon-circle {
    background: #fff;
    color:#F3525A ;
}



/*why choose ytmp*/
/* Section Background */
.container-fluid.bg-white {
    background: #ffffff;
}
	
/* Choose Card Styles */
.choose-card {
    background: #f8f9fa; /* Light gray */
    color: #000; /* All text black */
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease; /* Smooth hover */
}

/* Card Icon */
.choose-card .icon i {
    color: #0d6efd; /* Blue icon */
    transition: all 0.3s ease;
}

/* Card Heading */
.choose-card h4 {
    color: #000; /* Heading black */
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Card Paragraph */
.choose-card p {
    color: #000; /* Paragraph black */
    transition: color 0.3s ease;
}

/* Hover Effect on Card */
.choose-card:hover {
    background: #0d6efd; /* Blue background on hover */
    transform: translateY(-8px); /* Slight lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Change text and icon color on hover */
.choose-card:hover p,
.choose-card:hover .icon i {
    color: #fff; /* White text and icon */
}


/* Expertise  */
.expert-card {
    background: #f8f9fa; /* Light gray background */
    color: #000; /* Default text black */
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease; /* Smooth hover effect */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Card Icon */
.expert-card .icon-box i {
    color: #0d6efd; /* Blue icon */
    transition: all 0.3s ease;
}

/* Card Heading */
.expert-card h4 {
    color: #000; /* Heading black */
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Card Paragraph */
.expert-card p {
    color: #555; /* Paragraph dark gray */
    transition: color 0.3s ease;
}

/* Hover Effect */
.expert-card:hover {
    transform: translateY(-8px); /* Slight lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Change text color on hover */
.expert-card:hover h4,
.expert-card:hover p {

}

/* Icon hover effect */
.expert-card:hover .icon-box i {
    color: #0d6efd; /* Icon white */
    transform: scale(1.2); /* Slight grow */
}


/* Achievement Card */
.achievement-card {
    background: #fff;
    padding: 35px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
    border: 1px solid #f1f1f1;
}

/* Icon Box */
.achievement-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f3525a; /* pinkish red */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 15px;
    font-size: 30px;
    color: #fff;
    transition: all 0.3s ease;
}

/* Number */
.achievement-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    transition: color 0.3s ease;
}

/* Text */
.achievement-card p {
    font-size: 16px;
    color: #555;
    transition: color 0.3s ease;
}

/* Hover Effect */
.achievement-card:hover {
    background: #f3525a;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.achievement-card:hover .icon-box {
    background: #fff;
    color: #f3525a;
    transform: scale(1.15);
}

.achievement-card:hover h3,
.achievement-card:hover p {
    color: #fff;
}


/* Container */
.category-section {
  overflow: hidden;
  background: #fff;
  padding: 18px 10px;
}

/* Track that moves */
.category-track {
  display: flex;
  gap: 24px;
  align-items: center;
  /* animation moves track to left (normal). To move right, set animation-direction: reverse; */
  animation: scroll-left 18s linear infinite;
}

/* Item */
.category-item {
  flex: 0 0 auto;
  width: 140px;
  max-width: 18%;
  min-width: 110px;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .25s ease, background .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Icon */
.category-item i {
  font-size: 28px;
  color: #0d6efd; /* default icon color */
  transition: transform .25s ease, color .25s ease;
}

/* Label */
.category-item span {
  font-size: 14px;
  color: #111;
  font-weight: 600;
}

/* Hover effect */
.category-item:hover {
  transform: translateY(-6px) scale(1.03);
  background: #ff2e63; /* pinkish-red hover background (change if needed) */
}
.category-item:hover i {
  color: #ffffff; /* icon becomes white on hover */
  transform: scale(1.18) rotate(-6deg);
}
.category-item:hover span {
  color: #fff;
}

/* Pause animation on hover over track or item */
.category-section:hover .category-track,
.category-item:hover ~ .category-track {
  animation-play-state: paused;
  
}

/* Continuous scroll keyframes (left direction) */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% because we duplicated items */
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .category-item { width: 120px; min-width: 100px; }	
}
@media (max-width: 576px) {
  .category-track { gap: 14px; }
  .category-item { width: 100px; min-width: 90px; padding: 10px; }
  .category-item i { font-size: 22px; }
}




/*process*/
.process-card {
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FF3B6A; /*pin*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    color: white;
    font-size: 28px;
    transition: 0.3s ease;
}

.process-card:hover .process-icon {
    background:#FF3B6A ;
    transform: rotate(10deg) scale(1.1);
}

