* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
}

header {
  position: sticky;
  top: 0;
  background-color: #e0f0ff;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1440px;
  /* ✅ Limit container width */
  width: 100%;
  /* ✅ Full width up to max */
  margin: 0 auto;
  /* ✅ Center it */
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  height: 45px;
}

.logo span {
  letter-spacing: 1rem;
  font-size: 0.75rem;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  padding: 0.5rem;
  display: inline-block;
}

.nav-item>a.dropdown::after {
  content: '\f0d7';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 0.3rem;
  font-size: 0.75rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
}

.social-icons a {
  color: #333;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0077cc;
}

.menu-toggle {
  display: none;
  font-size: 2.0rem;
  cursor: pointer;
  margin-left: 1rem;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #f0f8ff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  gap: 1rem;
  transition: right 0.3s ease;
  z-index: 9999;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav .close-btn {
  align-self: flex-end;
  font-size: 2.5rem;
  cursor: pointer;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  width: 100%;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ccc;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-contact {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 2rem;
  color: #333;
}

.mobile-contact p {
  margin: 0.3rem 0;
  letter-spacing: 2px;
}

.mobile-social-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 2rem;
  margin-top: 1rem;
}

.mobile-dropdown {
  width: 100%;
}

.fab {
  font-size: 24px;
}

.mobile-dropdown-toggle {
  font-family: Arial, Helvetica, sans-serif;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  font-size: 1.6rem;
  font-weight: bold;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

.mobile-submenu {
  font-family: Arial, Helvetica, sans-serif;
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  line-height: 2.5rem;
  width: 100%;
}

.mobile-submenu a {
  padding: 0.5rem 0;
  color: #333;
  font-size: 1.2rem;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .social-icons.desktop-only {
    display: none;
  }
}

@media (min-width: 993px) {
  .social-icons.mobile-only {
    display: none;
  }
}

/* Slideshow Start */

.hero-slideshow {
  background: #000;
  margin-top: 0px; /* Adjust this if your header height differs */
}

.hero-slideshow .swiper {
  width: 100%;
  height: calc(100vh - 80px); /* Default height for desktop & landscape tablets */
}

.hero-slideshow .swiper-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10vh 5vw;
  overflow: hidden;
  color: #fff;
}

.hero-slideshow .slide-bg-video,
.hero-slideshow .slide-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default: desktop & landscape tablets */
  z-index: 0;
}

.hero-slideshow .slide-bg-image {
  background-size: cover;
  background-position: center;
}

.hero-slideshow .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-slideshow .slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-bottom: 5vh;
  transition: all 0.3s ease;
}

.hero-slideshow .slide-title {
  font-size: clamp(1.8rem, 4vh, 3.2rem);
  font-weight: 700;
  margin-bottom: 1vh;
}

.hero-slideshow .slide-desc {
  font-size: clamp(1rem, 2.5vh, 1.5rem);
  font-weight: 400;
  margin-bottom: 2vh;
}

.hero-slideshow .slide-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: clamp(0.9rem, 2vh, 1.1rem);
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-slideshow .slide-btn:hover {
  background-color: #f4f4f4;
}

.hero-slideshow .swiper-pagination {
  bottom: 20px !important;
}

.hero-slideshow .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.hero-slideshow .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Tablet portrait: prevent cropping & adjust height */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero-slideshow .swiper {
    height: 70vh; /* Reduce height to avoid black bars */
  }

  .hero-slideshow .slide-bg-video,
  .hero-slideshow .slide-bg-image {
    object-fit: contain !important;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
  }

  .hero-slideshow .swiper-slide {
    justify-content: center;
    align-items: center;
    padding: 5vh 5vw;
  }

  .hero-slideshow .slide-content {
    text-align: center;
    margin-bottom: 5vh;
  }
}

/* Mobile landscape: prevent cropping & adjust height */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-slideshow .swiper {
    height: 60vh;
  }

  .hero-slideshow .slide-bg-video,
  .hero-slideshow .slide-bg-image {
    object-fit: contain !important;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
  }

  .hero-slideshow .swiper-slide {
    justify-content: center;
    align-items: center;
    padding: 5vh 5vw;
  }

  .hero-slideshow .slide-content {
    text-align: center;
    margin-bottom: 5vh;
  }
}

/* Mobile portrait: prevent cropping & adjust height */
@media (max-width: 767px) and (orientation: portrait) {
  .hero-slideshow .swiper {
    height: 65vh;
  }

  .hero-slideshow .slide-bg-video,
  .hero-slideshow .slide-bg-image {
    object-fit: contain !important;
    background-size: contain !important;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
  }

  .hero-slideshow .swiper-slide {
    justify-content: center;
    align-items: center;
    padding: 5vh 5vw;
  }

  .hero-slideshow .slide-content {
    text-align: center;
    margin-bottom: 5vh;
  }
}


/* Slideshow end */



/* About us Section */
/* Boxed container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 20px;
  box-sizing: border-box;
}

/* Section base styles */
.earthwellness-section {
  width: 100%;

  padding: 60px 0;
  background-color: #fff;
}

.earthwellness-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Image side */
.earthwellness-section .image-composition {
  position: relative;
  width: 48%;
  min-width: 300px;
  box-sizing: border-box;
}

.earthwellness-section .image-composition img {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.earthwellness-section .image-composition .top-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
}

.earthwellness-section .image-composition .bottom-img {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  aspect-ratio: 16 / 10;
  z-index: 2;
}

/* Text side */
.earthwellness-section .text-info {
  width: 44%;
  min-width: 280px;
  box-sizing: border-box;
}

.earthwellness-section .text-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.earthwellness-section .text-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.earthwellness-section .text-info a {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.earthwellness-section .text-info a:hover {
  background-color: #111;
}

/* Responsive */
@media (max-width: 1024px) {
  .earthwellness-section .container {
    flex-direction: column;
    text-align: center;
  }

  .earthwellness-section .image-composition,
  .earthwellness-section .text-info {
    width: 100%;
  }

  .earthwellness-section .image-composition .bottom-img {
    position: static;
    margin-top: -40px;
    width: 80%;
  }

  .earthwellness-section .text-info h2 {
    font-size: 1.8rem;
  }
}



/* Services Section */
.niraamaya-boxed-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 20px;
}

.image-box-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  padding: 20px 20px;
}

.portrait-imgbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .portrait-imgbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portrait-imgbox-grid {
    grid-template-columns: 1fr;
  }
}

.portrait-imgbox-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.portrait-imgbox-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  transition: transform 0.3s ease;
  display: block;
}

.portrait-imgbox-item:hover img {
  transform: scale(1.05);
}

.portrait-imgbox-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  transition: all 0.4s ease;
}

.portrait-imgbox-title {
  font-weight: 600;
  font-size: 16px;
}

.portrait-imgbox-desc {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5rem;
}

.portrait-imgbox-item:hover .portrait-imgbox-desc {
  opacity: 1;
  max-height: 240px;
}

/* Override for small devices: show description by default */
@media (max-width: 1024px) {
  .portrait-imgbox-desc {
    opacity: 1 !important;
    max-height: 240px !important;
    overflow: visible;
    /* Optional */
  }
}


/* Image over text section */
.boxed-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.fullwidth-nature-section {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MzV8fGRpZ2l0YWwlMjBtYXJrZXRpbmd8ZW58MHx8MHx8fDA%3D') no-repeat center center / cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}

.fullwidth-nature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 4px;
}

.nature-text-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.nature-text-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
}

.nature-text-content p {
  font-size: clamp(0.95rem, 4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
}


/* Amenities Section */
.niraamaya-features {
  padding: 60px 20px;
}

.niraamaya-features .container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.niraamaya-features h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #2e2e2e;
  margin-bottom: 10px;
}

.niraamaya-features .section-description {
  font-size: 1.1rem;
  color: #666;
}

.niraamaya-features .features-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}

.niraamaya-features .feature-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.niraamaya-features .feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.niraamaya-features .feature-box i {
  font-size: 2rem;
  color: #000;
  margin-bottom: 16px;
}

.niraamaya-features .feature-box h4 {
  color: #000;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.niraamaya-features .feature-box p {
  color: #555;
  font-size: 0.95rem;
}

.niraamaya-features .cta-button {
  display: inline-block;
  margin-top: 40px;
  background: #000;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(59, 124, 91, 0.3);
  transition: background 0.3s ease;
}

.niraamaya-features .cta-button:hover {
  background: #000;
  color: #ffffff;
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1024px) {
  .niraamaya-features .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 4 columns */
@media (min-width: 1025px) {
  .niraamaya-features .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* Contact Us Section */
.cu-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.contact-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  padding: 10px 10px;
}

.cu-form-container {
  flex: 1 1 55%;
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  box-sizing: border-box;
}

.cu-map-container {
  flex: 1 1 40%;
  min-height: 100%;
}

.cu-map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 8px;
}

.cu-form-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.cu-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cu-form-group {
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
}

.cu-form-group-full {
  flex: 1 1 100%;
}

.cu-form-group label {
  margin-bottom: 6px;
  font-weight: 500;
}

.cu-form-group input,
.cu-form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.cu-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.cu-submit-btn {
  background-color: #000;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;
  font-size: 16px;
}

.cu-message {
  margin-top: 15px;
  font-size: 14px;
  color: green;
}

.cu-error {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .cu-form-group {
    flex: 1 1 100%;
  }

  .cu-container {
    flex-direction: column;
  }

  .cu-map-container iframe {
    min-height: 300px;
  }
}

/* footer styling */
.modfooter-wrapper {
  background-color: #111;
  color: #f1f1f1;
  padding: 40px 20px;
}

.modfooter-container {
  max-width: 1440px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.modfooter-col {
  width: 25%;
  padding: 0 15px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .modfooter-col {
    width: 100%;
  }

  .modfooter-container {
    flex-direction: column;
  }
}

.modfooter-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.modfooter-col ul {
  list-style: none;
}

.modfooter-col ul li {
  margin-bottom: 10px;
}

.modfooter-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.modfooter-col ul li a:hover {
  color: #fff;
}

.modfooter-social a {
  margin-right: 15px;
  font-size: 18px;
  color: #bbb;
  transition: 0.3s;
}

.modfooter-social a:hover {
  color: #fff;
}

.modfooter-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #888;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .modfooter-container {
    flex-direction: column;
  }
}

/* go-to-top styling */
.go-top-btn-unique {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #000;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.go-top-btn-unique:hover {
  background-color: #111;
}


/* Our Team Page */
.team-section {
  margin: 60px 20px;
  margin-bottom: 4rem;
  text-align: center;
}

.team-container {
  max-width: 1200px;
  margin: auto;
}

.team-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  color: #222;
}

.team-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.team-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.25rem;
  color: #333;
  margin: 10px 0 5px;
}

.team-role {
  color: #007bff;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 0.9rem;
  color: #666;
}

.team-social {
  margin-top: 10px;
}

.team-social a {
  color: #555;
  margin: 0 8px;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.team-social a:hover {
  color: #007bff;
}

/* Stats Section */
.team-stats {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  flex-wrap: wrap;
}

.team-stats div {
  flex: 1;
  min-width: 150px;
  margin: 10px;
}

.team-stats h3 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #000;
}

.team-stats p {
  font-size: 1rem;
  font-weight: bold;
  color: #555;
}

/* Call to Action */
.team-cta {
  margin-top: 40px;
}

.cta-btn {
  display: inline-block;
  background: #000;
  color: white;
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #e0f0ff;
  color: #000;
  font-weight: bold;
}

/* Our Journey Page */
/* =========================
           Our Journey — oj- Styles
           ========================= */

.sj-timeline-heading {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  margin: 60px 20px;
  color: #222;
}

.sj-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Central vertical line */
.sj-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(180deg, #000 0%, #111 100%);
  border-radius: 2px;
}

/* Timeline item base */
.sj-timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Left side animation start */
.sj-timeline-item.sj-left {
  left: 0;
  text-align: right;
  transform: translateX(-80px);
}

/* Right side animation start */
.sj-timeline-item.sj-right {
  left: 50%;
  text-align: left;
  transform: translateX(80px);
}

/* Visible state */
.sj-timeline-item.visible.sj-left {
  opacity: 1;
  transform: translateX(0);
}

.sj-timeline-item.visible.sj-right {
  opacity: 1;
  transform: translateX(0);
}

/* Content box */
.sj-timeline-content {
  background: white;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Arrow marker */
.sj-timeline-arrow {
  position: absolute;
  top: 28px;
  width: 20px;
  height: 20px;
  background: #000;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
  z-index: 10;
}

/* Position arrow on left and right */
.sj-timeline-item.sj-left .sj-timeline-arrow {
  right: -30px;
  transform: rotate(45deg);
}

.sj-timeline-item.sj-right .sj-timeline-arrow {
  left: -30px;
  transform: rotate(-135deg);
}

/* Titles and dates */
.sj-timeline-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: #000;
}

.sj-timeline-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 12px;
  font-style: italic;
}

/* Description */
.sj-timeline-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .sj-timeline::before {
    left: 20px;
  }

  .sj-timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 25px;
    margin-bottom: 30px;
    text-align: left !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    left: 0 !important;
  }

  .sj-timeline-arrow {
    display: none;
  }

  .sj-timeline-content {
    padding: 15px 20px 15px 40px;
    box-shadow: none;
    border-left: 4px solid #000;
    border-radius: 0 8px 8px 0;
  }
}

/* Boxed gallery container */
.gallery-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.gallery-title {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  margin: 60px 20px;
  color: #222;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 1:1 Aspect Ratio */
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  background: #f8f8f8;
  transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.lightbox.active {
  display: flex;
}

/* Container for image and buttons */
.lightbox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.lightbox-content {
  width: 600px;
  height: 600px;
  max-width: 90vw;
  max-height: 90vw;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  touch-action: pan-y;
  /* allow vertical scroll but capture horizontal swipe */
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Navigation buttons */
.lightbox-btn {
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  border-radius: 10%;
  font-size: 32px;
  color: #111;
  user-select: none;
  transition: background-color 0.3s ease;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

/* Desktop: buttons outside image container */
.lightbox-prev {
  margin-right: 20px;
}

.lightbox-next {
  margin-left: 20px;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

/* Swipe hint */
.swipe-hint {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  pointer-events: none;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: fadeOut 6s forwards;
}

.swipe-arrow {
  font-size: 22px;
  opacity: 0.5;
  user-select: none;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}

/* Hide swipe hint on desktop */
@media (min-width: 1001px) {
  .swipe-hint {
    display: none !important;
  }
}

/* Responsive */

@media (max-width: 1000px) {

  /* Hide prev/next buttons on tablet/mobile */
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-content {
    width: 80vw;
    height: 80vw;
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .lightbox-content {
    width: 90vw;
    height: 90vw;
    border-radius: 8px;
  }

  /* Close button smaller on mobile */
  .lightbox-close {
    font-size: 28px;
    top: 5px;
    right: 10px;
  }
}

/* about us page */

.uniq-aboutus-section {
  padding: 60px 20px;
  background: #fff;
  color: #323a4a;
}

.uniq-aboutus-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.uniq-aboutus-text {
  flex: 1 1 450px;
  max-width: 480px;
}

.uniq-aboutus-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: #6e7383;
  margin-bottom: 12px;
  display: block;
}

.uniq-aboutus-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.uniq-highlight {
  position: relative;
  color: #324e40;
}

.uniq-highlight::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 12px;
  background: #b8d8c1;
  bottom: 4px;
  left: 0;
  border-radius: 3px;
  z-index: -1;
  opacity: 0.7;
}

.uniq-aboutus-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #505867;
  margin-bottom: 30px;
}

.uniq-aboutus-image-wrapper {
  position: relative;
  flex: 1 1 450px;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uniq-aboutus-image {
  width: 100%;
  border-radius: 40% 60% 30% 70% / 50% 30% 70% 50%;
  object-fit: cover;
  z-index: 10;
  position: relative;
  box-shadow: 0 10px 25px rgba(50, 58, 74, 0.2);
}

.uniq-shape-bg {
  position: absolute;
  width: 200px;
  height: 280px;
  background-color: #324e40;
  border-radius: 80% 20% 60% 40% / 50% 70% 30% 50%;
  left: -60px;
  top: 40px;
  z-index: 5;
}

.uniq-dots-pattern {
  position: absolute;
  width: 150px;
  height: 100px;
  background: radial-gradient(#b8d8c1 3px, transparent 4px);
  background-size: 14px 14px;
  bottom: -10px;
  right: 20px;
  opacity: 0.5;
  z-index: 7;
  border-radius: 20px;
  transform: rotate(10deg);
}

/* mission & vision */

.sv-main-heading {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-top: 60px;
  margin-bottom: 60px;
  color: #1a202c;
}

.sv-container {
  max-width: 1300px;
  margin: 0 auto;
  overflow-x: hidden;
  display: flex;
  justify-content: space-around;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.sv-card {
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  max-width: 42%;
  flex: 1 1 42%;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  box-shadow:
    0 12px 24px rgba(66, 153, 225, 0.15),
    inset 0 0 0 0 rgba(66, 153, 225, 0);
  cursor: default;
}

.sv-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: block;
}

.sv-content {
  padding: 30px 25px 40px;
  text-align: center;
}

.sv-card h2 {
  font-weight: 600;
  font-size: 1.8rem;
  margin: 15px 0 10px;
  color: #2c5282;
  position: relative;
}

.sv-card h2::after {
  content: '';
  width: 50px;
  height: 3px;
  background-color: #3182ce;
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
}

.sv-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-top: 12px;
}

/* Animation initial states */
.sv-slide-left {
  transform: translateX(-130px);
}

.sv-slide-right {
  transform: translateX(130px);
}

/* Animation active */
.sv-card.sv-active {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 700px) {
  .sv-container {
    flex-direction: column;
    max-width: 100%;
    align-items: center;
  }

  .sv-card {
    max-width: 90%;
    margin-bottom: 60px;
  }
}

/* Our History About Us Page */

.history-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  color: #333333;
}

.history-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.history-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 24px;
  color: #000;
  font-weight: 600;
}

.history-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #555555;
}

/* countdown timer */

.sandeep-animated-countdown-section {
  background: linear-gradient(135deg, #a4a5aa, #000000);
  padding: 20px 20px;
  color: #fff;
  text-align: center;
}

.sandeep-animated-countdown-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 50px;
  flex-wrap: wrap;
}

.sandeep-animated-countdown-item {
  flex: 1 1 200px;
}

.sandeep-animated-countdown-number {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  animation: sandeep-pulse 2s infinite alternate;
}

.sandeep-animated-countdown-number::after {
  content: "+";
  color: #ffd700;
  font-weight: 700;
  margin-left: 6px;
  font-size: 48px;
  vertical-align: middle;
}

.sandeep-animated-countdown-label {
  font-size: 18px;
  margin-top: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e0dede;
}

@keyframes sandeep-pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 5px #ffd700;
  }

  100% {
    transform: scale(1.1);
    text-shadow: 0 0 20px #ffd700;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .sandeep-animated-countdown-container {
    flex-direction: column;
    gap: 30px;
  }
}


/* about us team */

.sandeep-team-section {
  padding: 60px 20px;
  background-color: #f5f7fa;
  color: #2c3e50;
  text-align: center;
}

.sandeep-team-container {
  max-width: 1300px;
  margin: 0 auto;
}

.sandeep-team-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
  color: #000;
}

.sandeep-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.sandeep-team-member {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sandeep-team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.sandeep-team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #667eea;
}

.sandeep-team-name {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 700;
}

.sandeep-team-role {
  font-size: 16px;
  color: #7f8c8d;
  font-weight: 600;
  letter-spacing: 0.5px;
}


/* Our services page */
.yearnsoft-services-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  color: #333;
  text-align: center;
}

.yearnsoft-services-container {
  max-width: 1300px;
  margin: 0 auto;
}

.yearnsoft-services-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 50px;
  color: #2c3e50;
  letter-spacing: 1.5px;
}

.yearnsoft-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.yearnsoft-service-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yearnsoft-service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.yearnsoft-service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #667eea;
}

.yearnsoft-service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #34495e;
}

.yearnsoft-service-description {
  font-size: 16px;
  color: #6c7a89;
  line-height: 1.5;
}


/* career page css */
.careerPage-container {
  width: 100%;
  max-width: 1300px;
  border-radius: 14px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

/* Job listing grid */
.careerPage-job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

@media (max-width: 768px) {
  .careerPage-job-list {
    grid-template-columns: 1fr;
    gap: 1.75rem 0;
  }
}

/* Job item card */
.careerPage-job-item {
  background: #f9fbfd;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgb(46 58 89 / 0.1);
  padding: 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.careerPage-job-item:hover,
.careerPage-job-item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgb(46 58 89 / 0.2);
  outline: none;
}

.careerPage-job-info {
  margin-bottom: 1.25rem;
}

.careerPage-job-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #000;
  line-height: 1.2;
}

.careerPage-job-location {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.careerPage-job-description {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.4;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Apply button */
.careerPage-apply-btn {
  align-self: flex-start;
  background-color: #000;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease;
  box-shadow: 0 3px 7px rgb(37 99 235 / 0.45);
  user-select: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.careerPage-apply-btn:hover,
.careerPage-apply-btn:focus {
  background-color: #000;
  outline: none;
  box-shadow: 0 6px 18px rgb(37 99 235 / 0.7);
}

/* Modal overlay */
.careerPage-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(46, 58, 89, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 1rem;
  overflow-y: auto;
}

.careerPage-modal-overlay.careerPage-active {
  display: flex;
}

/* Modal content */
.careerPage-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 540px;
  padding: 1rem 1rem 2rem 1rem;
  box-shadow: 0 8px 24px rgb(46 58 89 / 0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  font-size: 1rem;
}

.careerPage-modal h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.careerPage-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: #64748b;
  transition: color 0.3s ease;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  user-select: none;
}

.careerPage-close-btn:hover,
.careerPage-close-btn:focus {
  color: #1e40af;
  outline: none;
}

/* Form styling */
form.careerPage-apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
}

label {
  font-weight: 600;
  color: #334155;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1.8px solid #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  font-family: inherit;
  outline-offset: 2px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
textarea:focus {
  border-color: #e0f0ff;
  box-shadow: 0 0 8px #2563ebaa;
  outline: none;
}

input[readonly] {
  background-color: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

textarea {
  min-height: 130px;
}

button.careerPage-submit-btn {
  background-color: #000;
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 0.9rem 1.6rem;
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 16px rgb(30 64 175 / 0.75);
  user-select: none;
  letter-spacing: 0.04em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button.careerPage-submit-btn:hover,
button.careerPage-submit-btn:focus {
  background-color: #000;
  box-shadow: 0 8px 24px rgb(37 99 235 / 0.85);
  outline: none;
}

/* Required field indicator */
.careerPage-required {
  color: #dc2626;
  margin-left: 0.15rem;
}

/* Validation message spans */
.careerPage-validation-msg {
  font-size: 0.875rem;
  color: #dc2626;
  margin-top: 0.25rem;
  min-height: 0.25em;
  display: block;
  font-weight: 600;
}

.careerPage-validation-msg.careerPage-success {
  color: #16a34a;
}

/* rich text section */

.st-richtext-container {
  max-width: 850px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
}

.st-richtext-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  color: #222;
}

.st-richtext-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #555;
}

.st-richtext-description p {
  margin-bottom: 1rem;
}

.st-richtext-description a {
  color: #007BFF;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.st-richtext-description a:hover,
.st-richtext-description a:focus {
  border-color: #007BFF;
  outline: none;
}

.st-richtext-description strong {
  font-weight: 600;
}

.st-richtext-description em {
  font-style: italic;
}

.get-in-touch-heading {
  text-align: center;
  font-size: 2.5rem;
  margin: 60px 20px;
}

/* contact us page */
.ts-getintouch-section {
  padding: 48px 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  color: #12202b;
}

.ts-getintouch-inner {
  max-width: 1390px;
  margin: 0 auto;
}

.ts-contact-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 36, 66, 0.06);
  border: 1px solid rgba(11, 113, 255, 0.04);
}

.ts-section-title {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.ts-section-sub {
  margin: 0 0 18px;
  color: #6b7b86;
  font-size: 0.95rem;
}

.ts-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.ts-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  transition: transform .16s ease, box-shadow .16s ease;
  background: linear-gradient(180deg, rgba(11, 113, 255, 0.02), transparent);
}

.ts-contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11, 113, 255, 0.06);
}

.ts-contact-icon {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #000;
  background: rgba(11, 113, 255, 0.06);
  border-radius: 10px;
}

.ts-contact-heading {
  margin: 0 0 6px;
  font-size: 0.99rem;
}

.ts-address,
.ts-small {
  margin: 0;
  color: #6b7b86;
  font-size: 0.9rem;
}

.ts-contact-link {
  display: inline-block;
  margin: 4px 0 6px;
  color: #12202b;
  font-weight: 600;
  text-decoration: none;
}

.ts-cta-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(11, 113, 255, 0.12);
}

.ts-copy-btn {
  margin-top: 8px;
  padding: 6px 10px;
  background: transparent;
  border: 1px dashed rgba(11, 113, 255, 0.12);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #000;
  cursor: pointer;
}

.ts-social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ts-social {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(16, 24, 40, 0.04);
  color: #12202b;
  background: #fff;
}

@media (max-width: 500px) {
  .ts-section-title {
    font-size: 1.4rem;
  }
}

/* floating icons*/
/* Wrapper */
.myapp-floating-wrapper {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000;
}
@media (max-width: 768px) {
  .myapp-floating-wrapper {
    display: none;
  }
}

/* Floating Icons */
.myapp-floating-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: opacity 0.3s, visibility 0.3s;
}
.myapp-floating-icons.myapp-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Individual icon */
.myapp-floating-icons .myapp-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50% 0 0 50%;
  background: #25D366;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Colors */
.myapp-floating-icons .myapp-icon.call { background: #dddcdc; }
.myapp-floating-icons .myapp-icon.email { background: #ff5722; }

/* Icon images */
.myapp-floating-icons .myapp-icon img { width: 24px; height: 24px; z-index: 2; }

/* Label */
.myapp-floating-icons .myapp-icon .myapp-label {
  position: absolute;
  right: 100%;
  margin-right: 10px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(10px);
  font-family: sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

/* Hover effects */
.myapp-floating-icons .myapp-icon:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.myapp-floating-icons .myapp-icon:hover .myapp-label {
  opacity: 1;
  transform: translateX(0);
}

/* Toggle button */
.myapp-toggle-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  font-size: 18px;
  transition: top 0.3s, right 0.3s, background 0.3s;
  z-index: 1001;
  margin-bottom: 10px; /* space between toggle and icons */
}
.myapp-toggle-btn:hover { background: #555; }

/* Adjust toggle when icons are hidden */
.myapp-floating-wrapper.myapp-hidden {
  top: 50%;
  transform: translateY(-50%);
}
.myapp-floating-wrapper.myapp-hidden .myapp-toggle-btn {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .myapp-floating-icons .myapp-icon { width: 40px; height: 40px; }
  .myapp-floating-icons .myapp-icon img { width: 20px; height: 20px; }
  .myapp-floating-icons .myapp-icon .myapp-label { font-size: 12px; }
  .myapp-toggle-btn { padding: 8px 12px; font-size: 16px; }
}



/* Project Page CSS */

/* Unique CSS for projects section */
.projects-section-header {
  text-align: center;
  padding: 60px 20px 40px;
  color: black;
}

.projects-section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.projects-section-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Filter buttons */
.projects-section-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px auto 20px;
  max-width: 1440px;
  padding: 0 20px;
}
.projects-section-filter-btn {
  padding: 10px 20px;
  border: none;
  font-size: clamp(0.875rem, 1vw, 1rem);
  border-radius: 8px;
  background-color: #e0e7ff;
  color: #000000;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}
.projects-section-filter-btn.active,
.projects-section-filter-btn:hover {
  background-color: #000000;
  color: white;
}

/* Projects container */
.projects-section-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 0 20px;
  justify-content: center;
}

/* Project card */
.projects-section-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.projects-section-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.projects-section-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

/* .projects-section-card:hover img {
  transform: scale(1.05);
} */

.projects-section-content {
  padding: 20px;
}

.projects-section-content h3 {
  color: #000000;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.projects-section-content .projects-section-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 12px;
  display: block;
}

.projects-section-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.projects-section-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.projects-section-tech-tags span {
  background-color: #000000;
  color: #ffffff;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 12px;
}

.projects-section-content a {
  text-decoration: none;
  color: white;
  background-color: #000000;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s;
}

.projects-section-content a:hover {
  background-color: #4a08a0;
}

/* Responsive columns */
@media (max-width: 1024px) {
  .projects-section-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects-section-container {
    grid-template-columns: 1fr;
  }
  .projects-section-header h2 {
    font-size: 2rem;
  }
}

/* Homepage Testimonial Section CSS */

.yearnsoft-testimonial-heading {
font-size: clamp(1.8rem, 4vw, 2.5rem);
text-align:center; 
margin-top:30px;
}

  .testimonial-wrapper {
    width: 90%;
    max-width: 700px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 50px auto;
  }

  .testimonial-item {
    display: none;
    transition: opacity 0.6s ease;
    opacity: 0;
  }

  .testimonial-item.active {
    display: block;
    opacity: 1;
  }

  .testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
  }

  .testimonial-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
  }

  .testimonial-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
  }

  .testimonial-item span {
    font-size: 0.9rem;
    color: #999;
  }

  .testimonial-rating {
    margin: 10px 0;
  }

  .testimonial-rating span {
    color: gold;
    font-size: 1.2rem;
    margin: 0 2px;
  }

  .testimonial-dots {
    text-align: center;
    margin-top: 20px;
  }

  .testimonial-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
  }

  .testimonial-dot.active {
    background: #333;
  }

  /* Mobile responsive padding */
  @media (max-width: 768px) {
    .testimonial-wrapper {
      padding: 30px 15px;
    }
  }

  /* Our Clients Logo Section */

  .clients-slider-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.clients-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0;
  color: #000;
}

.clients-subtitle {
  color: #000;
  margin-bottom: 40px;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100px;
}

.slide-track {
  display: flex;
  width: calc(250px * 12); /* 12 slides (6 x 2) */
  animation: scroll 25s linear infinite;
}

.slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 250px;
  flex-shrink: 0;
}

.slide img {
  max-width: 180px;
  max-height: 180px;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.slide img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 6)); } /* move by half (first 6 logos) */
}

/* Pause on hover */
.slider:hover .slide-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide {
    width: 180px;
  }
  .slide img {
    max-width: 120px;
  }
  .slide-track {
    width: calc(180px * 12);
    animation: scrollMobile 25s linear infinite;
  }
  @keyframes scrollMobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 6)); }
  }
}
