/* ! Banner */
.banner {
  background-image: url(/assets/banner-136.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 17rem 2rem;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 62.5rem;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

.banner-text-h1,
.banner-text-h2 {
  display: block;
  text-align: center;
  color: var(--light-bg-color);
  margin: 0.5rem 0;
  line-height: 1.4;
  opacity: 0;
}

.banner-text-h1 {
  font-size: 3rem;
  animation: fadeUp 1s ease-out 0.2s forwards;
}

.banner-text-h2 {
  font-size: 1.7rem;
  animation: fadeUp 1s ease-out 0.4s forwards;
}

.banner-text-h1 .highlight-jp,
.banner-text-h1 .highlight-as,
.banner-text-h2 .highlight-jp,
.banner-text-h2 .highlight-as {
  display: inline;
}

.highlight-jp {
  color: red;
  font-weight: bold;
}

.highlight-as {
  color: #f9e300;
  font-weight: bold;
}

/* Banner Link */
.banner-link {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.6s forwards;
}

.banner-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.banner-link a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-link a i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.banner-link a:hover i {
  transform: scale(1.1);
}

/* ! Promo Banners */
.promo-banner-section {
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  background-color: #fff;
}

.promo-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.promo-card {
  width: 100%;
  max-width: 500px;
  height: 140px;
  background: #fff;
  border: 3px solid var(--primary-color);
  border-radius: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 25px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0px var(--primary-color);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0px var(--primary-hover-color);
}

.promo-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-text-side {
  flex: 1;
  color: var(--primary-color);
}

.promo-text-main {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.promo-text-main .highlight {
  font-size: 1.8rem;
  display: block;
  margin-top: 5px;
  letter-spacing: -1px;
}

.promo-tagline {
  background: var(--primary-color);
  color: #fff;
  display: inline-block;
  padding: 2px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: bold;
}

.promo-image-side {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-image-side img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 2;
}

.sparkle {
  position: absolute;
  color: #ffd700;
  font-size: 1.5rem;
  z-index: 1;
  animation: twinkle 1.5s infinite;
}

.s1 {
  top: 0;
  right: -5px;
}
.s2 {
  bottom: 10px;
  left: -10px;
  animation-delay: 0.5s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/*! About Us Section */
.about-section {
  padding: 2rem 2rem;
  border: black;
}

.about-container {
  max-width: 60rem;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 1px;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgb(209, 29, 35, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header img {
  width: 200px;
  height: 200px;
}

.section-header p {
  font-size: 1.1rem;
  color: black;
  margin-top: 0.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header b {
  font-weight: 700;
  color: var(--primary-color);
}

/* Read More BTN */
.read-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0.7rem;
  padding: 0.5rem 0;
  transition:
    color 0.3s ease,
    padding 0.3s ease;
}

.read-more-link:hover {
  color: var(--primary-hover-color);
  padding-left: 0.2rem;
}

.read-more-link .icon {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.read-more-link:hover .icon {
  transform: translateX(4px);
}

/* ! Service Section */
.specialty-section {
  padding: 2rem 1rem;
  margin-top: 1rem;
}

.specialty-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--light-text);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.specialty-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(209, 29, 35, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 15px rgb(209, 29, 35, 0.5);
}

.card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.specialty-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1rem;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--dark-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-title a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.card-description {
  color: var(--light-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ! View More BTN */
.go-to {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background-color: var(--primary-color);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-btn:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.view-btn:active {
  transform: translateY(-1px);
}

.view-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-btn:hover i {
  transform: translateX(5px);
}

/* ! Portfolio Slideshow */
.port-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.slideshow-section {
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slideshow-container {
  max-width: 900px;
  width: 100%;
  position: relative;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgb(209, 29, 35, 0.5);
  overflow: hidden;
}

.slide-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  display: none;
  position: relative;
  animation: fadeIn 1s ease-in-out;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 30px 20px 20px;
  font-size: clamp(16px, 4vw, 24px);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgb(209, 29, 35, 0.5);
}

.dots-container {
  text-align: center;
  padding: 20px;
  background: white;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: var(--primary-color-gradient);
  transform: scale(1.3);
}

.dot:hover {
  background-color: var(--primary-hover-color);
}

/* ! Client Carousel Section*/
.clients-section {
  width: 100%;
  padding: 60px 20px;
  background-color: none;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
}

.client-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
}

.client-subtitle {
  text-align: center;
  color: black;
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

.carousel-container {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.client-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  box-shadow: 0 5px 20px rgb(209, 29, 35, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex: 0 0 calc(33.333% - 20px);
  border: 2px solid var(--primary-color);
}

.client-name {
  max-width: 200px;
  max-height: 200px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background: var(--primary-color);
  box-shadow: 0 8px 20px rgba(209, 29, 35, 0.3);
}

.carousel-button:hover::after {
  border-color: white;
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

.carousel-button::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--primary-color);
  border-right: 3px solid var(--primary-color);
  transition: border-color 0.3s ease;
}

.carousel-button.prev::after {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.carousel-button.next::after {
  transform: rotate(45deg);
  margin-right: 4px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.carousel-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ! Address Section */
.address-section {
  width: 100%;
  padding: 40px 10px;
  margin-bottom: 2rem;
  background-color: none;
}

.address-container {
  max-width: 1000px;
  margin: 0 auto;
}

.info-item h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.address-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(209, 29, 35, 0.5);
}

.address-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 14px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-value {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.info-value a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-value i {
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-value a:hover {
  color: var(--primary-hover-color);
  text-decoration: underline;
}

.map-container {
  position: relative;
  min-height: 400px;
  background: #e0e0e0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: 400px;
}

/* ! Fade in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ! Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-350%);
  }
}

/* ! Fade Up Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ! Responsive */
@media (max-width: 968px) {
  /* Address Section */
  .address-content {
    grid-template-columns: 1fr;
  }

  .address-info {
    padding: 40px 30px;
  }

  .map-container {
    min-height: 350px;
  }

  /* Client Section */
  .client-card {
    flex: 0 0 calc(50% - 15px) !important;
  }

  .carousel-wrapper {
    padding: 0 50px;
  }

  .carousel-button {
    width: 45px;
    height: 45px;
  }
}

@media screen and (max-width: 768px) {
  /* Banner Section */
  .banner {
    padding: 10rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
    gap: 0.5rem;
  }

  h2 {
    font-size: 1.3rem;
    gap: 0.5rem;
  }

  .banner-link {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .banner-link a {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    width: 80%;
    max-width: 300px;
    justify-content: center;
  }

  /* About us Section*/
  .about-section {
    padding: 1.5rem 1rem;
  }

  .about-container {
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0.75rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 2rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Service Section */
  .section-title h2 {
    font-size: 2rem;
  }

  .specialty-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .card-image {
    height: 220px;
  }

  .card-content {
    padding: 1.2rem;
  }

  .view-service {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  /* PortFolio Section */
  .slideshow-section {
    padding: 40px 10px;
  }

  .slideshow-container {
    max-width: 100%;
    border-radius: 15px;
  }

  .slide img {
    height: 400px;
  }

  .title {
    margin-bottom: 20px;
  }

  .slide-caption {
    padding: 20px 15px 15px;
  }

  .dots-container {
    padding: 15px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
  }

  /* Client Section */
  .clients-section {
    padding: 60px 15px;
  }

  .section-subtitle {
    margin-bottom: 40px;
  }

  .carousel-wrapper {
    padding: 0 45px;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-button::after {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  /* Address Section */
  .address-section {
    padding: 40px 15px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .address-content {
    gap: 0;
    border-radius: 15px;
  }

  .address-info {
    padding: 30px 20px;
  }

  .info-item {
    margin-bottom: 25px;
  }

  .info-value {
    font-size: 16px;
  }

  .map-container {
    min-height: 300px;
  }
}

@media screen and (max-width: 480px) {
  /* Banner Section */
  .banner {
    padding: 8rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
    gap: 0.3rem;
  }

  h2 {
    font-size: 1.1rem;
    gap: 0.3rem;
  }

  .banner-link {
    padding-top: 1.5rem;
  }

  .banner-link a {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    width: 90%;
  }

  .banner-link a i {
    font-size: 1.1rem;
  }

  /* About us Section */
  .about-section {
    padding: 1.5rem 1.5rem;
  }

  .about-container {
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 3px rgb(209, 29, 35, 0.5);
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Service Section */
  .section-title h2 {
    font-size: 1.75rem;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-image {
    height: 200px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .view-service {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  /* PortFolio Section */
  .slideshow-section {
    padding: 30px 5px;
  }

  .slide img {
    height: 300px;
  }

  .slideshow-container {
    border-radius: 10px;
  }

  .title {
    margin-bottom: 15px;
  }

  .dots-container {
    padding: 12px;
  }

  /* Client Section */
  .clients-section {
    padding: 40px 10px;
  }

  .client-card {
    flex: 0 0 100% !important;
    padding: 30px 20px;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-wrapper {
    padding: 0 40px;
  }

  .carousel-button {
    width: 35px;
    height: 35px;
  }

  .client-name {
    font-size: 18px;
  }

  /* Address Section */
  .address-section {
    padding: 30px 10px;
  }

  .address-info {
    padding: 25px 15px;
  }

  .directions-button {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .promo-card {
    height: auto;
    padding: 20px;
  }
  .promo-text-main .highlight {
    font-size: 1.4rem;
  }
  .promo-image-side {
    width: 80px;
    height: 80px;
  }
}
