/* Default logo (no background) */


.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #fff;
}

#page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* FIX */
}

#container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
  transform-style: preserve-3d;
  transform: translateZ(0);
}


#h3 {
  color: rgb(82, 79, 79);
  font-size: 2em;
  font-weight: bold;
  position: relative;
  z-index: 10;
}

.ring {
  width: 190px;
  height: 190px;
  border: 1px solid transparent;
  border-radius: 50%;
  position: absolute;
}

.ring:nth-child(1) {
  border-bottom: 8px solid rgb(240, 42, 230);
  animation: rotate1 2s linear infinite;
}

@keyframes rotate1 {
  from { transform: rotateX(50deg) rotateZ(110deg); }
  to { transform: rotateX(50deg) rotateZ(470deg); }
}

.ring:nth-child(2) {
  border-bottom: 8px solid rgb(240, 19, 67);
  animation: rotate2 2s linear infinite;
}

@keyframes rotate2 {
  from { transform: rotateX(20deg) rotateY(50deg) rotateZ(20deg); }
  to { transform: rotateX(20deg) rotateY(50deg) rotateZ(380deg); }
}

.ring:nth-child(3) {
  border-bottom: 8px solid rgb(3, 170, 170);
  animation: rotate3 2s linear infinite;
}

@keyframes rotate3 {
  from { transform: rotateX(40deg) rotateY(130deg) rotateZ(450deg); }
  to { transform: rotateX(40deg) rotateY(130deg) rotateZ(90deg); }
}

.ring:nth-child(4) {
  border-bottom: 8px solid rgb(207, 135, 1);
  animation: rotate4 2s linear infinite;
}

@keyframes rotate4 {
  from { transform: rotateX(70deg) rotateZ(270deg); }
  to { transform: rotateX(70deg) rotateZ(630deg); }
}

/* For Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}

.marquee-content {
  display: inline-flex;
  animation: scroll 5s linear infinite;
}

.marquee-content img {
  height: 60px;
  width: auto;
  margin: 0 40px;
  object-fit: contain;
}

/* Continuous loop animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* For Service */

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h6 {
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff6600;
}

.section-heading h4 {
    font-size: 32px;
    font-weight: 700;
}

.section-heading h4 em {
    color: #ff6600;
    font-style: normal;
}

.line-dec {
    width: 60px;
    height: 3px;
    margin: 20px auto 0;
    background: #ff6600;
    border-radius: 3px;
}

/* Tab Menu */
.naccs .menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.naccs .menu .thumb {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.naccs .menu .thumb:hover {
    transform: translateY(-3px);
}

.naccs .menu .active .thumb,
.naccs .menu .thumb.active {
    background: #ff6600;
    color: #fff;
}

.naccs .menu .thumb .icon {
    margin-right: 12px;
    font-size: 20px;
}

/* Tabs Content */
.nacc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nacc li {
    display: none;
}

.nacc li.active {
    display: block;
}

.nacc .thumb {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
}

/* Left text */
.left-text h4 {
    font-size: 28px;
    margin-bottom: 15px;
}

.ticks-list span {
    display: inline-block;
    margin: 5px 15px 5px 0;
}

.ticks-list i {
    color: #ff6600;
    margin-right: 5px;
}

/* Right image */
.right-image img {
    width: 100%;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .naccs .menu {
        gap: 10px;
    }

    .naccs .menu .thumb {
        padding: 10px 15px;
        font-size: 14px;
    }

    .left-text h4 {
        font-size: 22px;
    }
}





/* for protfolio */


/* ---------- Section Title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 34px;
  margin: 0 0 8px;
  font-weight: 700;
}
.section-title .description-title {
  font-weight: 700;
  color: #ff6600;
  margin-left: 6px;
}
.section-title p {
  margin-top: 12px;
  color: #666;
}

/* ---------- Filters ---------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
  flex-wrap: wrap;
}
.portfolio-filters li {
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all .25s ease;
  font-weight: 600;
}
.portfolio-filters li:hover {
  transform: translateY(-3px);
}
.portfolio-filters .filter-active {
  background: #ff6600;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255,102,0,0.18);
}

/* ---------- Grid (Bootstrap col layout used) ---------- */
.portfolio-item {
  padding: 8px;
}
.portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  transition: transform .35s ease;
}
.portfolio-content img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

/* scale on hover */
.portfolio-content:hover img {
  transform: scale(1.06);
}
.portfolio-content:hover {
  transform: translateY(-6px);
}

/* ---------- overlay / info icons ---------- */
.portfolio-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.45) 100%);
  transition: opacity .25s ease;
}
.portfolio-content:hover .portfolio-info {
  opacity: 1;
}
.portfolio-info .preview-link,
.portfolio-info .details-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.45);
  text-decoration: none;
  font-size: 18px;
  transition: transform .15s ease, background .15s ease;
}
.portfolio-info .preview-link:hover,
.portfolio-info .details-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.15);
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 991px) {
  .portfolio-content img { height: 230px; }
}
@media (max-width: 575px) {
  .portfolio-content img { height: 180px; }
  .portfolio-filters li { padding: 8px 12px; }
}

/* ---------- Simple Lightbox Modal ---------- */
#simple-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  background: rgba(0,0,0,0.75);
}
#simple-lightbox .lb-inner {
  max-width: 90%;
  max-height: 90%;
}
#simple-lightbox img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
#simple-lightbox .lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 6px 10px;
}


/* For Team */

.team .member {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}
.team .member img {
  width: 100%;
  display: block;
}
.team .member-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 20px;
  transition: bottom 0.3s;
}
.team .member-info-content h4 {
  margin: 0 0 5px 0;
}
.team .member-info-content span {
  font-size: 14px;
  color: #f0f0f0;
}
.team .member:hover .member-info {
  bottom: 0;
}
.team .social {
  margin-top: 10px;
}
.team .social a {
  color: #fff;
  margin: 0 5px;
  font-size: 16px;
  transition: color 0.3s;
}
.team .social a:hover {
  color: #ff6b6b;
}

.team .member-info-content h4 {
  margin: 0 0 5px 0;
  color: orange; /* Member name color */
}



/* For Blog */

/* Section title */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading h6 {
    font-size: 16px;
    color: #FF7F00; /* Orange small title */
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-heading h4 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}
.section-heading h4 em {
    color: #FF7F00; /* Emphasized text in orange */
}
.line-dec {
    width: 70px;
    height: 3px;
    background: #FF7F00;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Blog Post */
.blog-post, .post-item {
    background: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post:hover, .post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Blog images */
.blog-post img, .post-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content styling */
.down-content, .right-content {
    padding: 20px;
}
.down-content .category, .right-content .category {
    font-size: 12px;
    font-weight: 700;
    color: #FF7F00;
    text-transform: uppercase;
    margin-right: 10px;
}
.down-content .date, .right-content .date {
    font-size: 12px;
    color: #999;
}
.down-content h4, .right-content h4 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}
.down-content p, .right-content p {
    font-size: 14px;
    color: #555;
}

/* Author and button */
.down-content .author {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.down-content .author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}
.border-first-button a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #FF7F00;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.border-first-button a:hover {
    background: #e56c00;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .col-lg-6 {
        margin-bottom: 30px;
    }
}


/* For Round Preloader */

/* Preloader Container */
#preloader-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main preloader animation circle */
.preloader-circle {
    width: 80px;
    height: 80px;
    border: 6px solid #f0f0f0;
    border-top: 6px solid #ff6600; /* loader color */
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

/* Center logo */
.preloader-img img {
    width: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animation */
@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}