/* CHZ Lighting Index Page Stylesheet */

/* --- General Utilities & Variables --- */
body {
  background-color: var(--soft);
  overflow-x: hidden;
}



/* --- Hero Swiper Section --- */
.hero-swiper-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}

.swiper-slide-active .hero-slide-img {
  transform: scale(1.05);
}

/* --- Hero Swiper Navigation Buttons --- */
.hero-swiper-section .swiper-button-prev,
.hero-swiper-section .swiper-button-next {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 54px !important;
  height: 54px !important;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.hero-swiper-section .swiper-button-prev {
  left: 40px !important;
}

.hero-swiper-section .swiper-button-next {
  right: 40px !important;
}

.hero-swiper-section .swiper-button-prev::after,
.hero-swiper-section .swiper-button-next::after {
  font-size: 18px !important;
  font-weight: 700;
}

.hero-swiper-section .swiper-button-prev:hover,
.hero-swiper-section .swiper-button-next:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 20px rgba(12, 79, 180, 0.5) !important;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .hero-swiper-section .swiper-button-prev,
  .hero-swiper-section .swiper-button-next {
    display: none !important;
  }
}

/* --- Company Profile Section (Replaces Products Collection) --- */
.company-profile-section {
  background-color: white;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.profile-image-column {
  width: 100%;
}

.profile-image-wrapper {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  background-color: #fafbfc;
  margin-bottom: 20px; /* leave space for the offset badge */
}

.profile-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.6s ease;
}

.profile-image-wrapper:hover img {
  transform: scale(1.02);
}

.profile-image-badge {
  position: absolute;
  bottom: -20px;
  right: 25px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(12, 79, 180, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-number {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.badge-text {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.95;
}

.profile-text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-heading {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 800;
  color: #1a202c;
  line-height: 1.25;
  margin-bottom: 8px;
  margin-top: 0;
}

.profile-subheading {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 25px;
}

.profile-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.profile-feature-icon-wrapper {
  background-color: rgba(12, 79, 180, 0.08);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.profile-feature-item:hover .profile-feature-icon-wrapper {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(12, 79, 180, 0.2);
}

.profile-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.profile-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.profile-feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Applications Section (Swiper) --- */
.applications-section {
  background-color: var(--primary-dark);
  background-image: url('../images/scale100.png');
  background-repeat: repeat;
  background-size: 7px 7px;
  color: white;
  position: relative;
  overflow: hidden;
}

.applications-section .section-header {
  text-align: center;
}

.applications-section .section-title {
  color: white;
  margin-bottom: 12px;
}

.section-subtitle-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.applications-swiper {
  position: relative;
  width: 100%;
  padding-bottom: 50px;
  overflow: visible !important; /* Allow slides to peek on the edges */
}

.applications-swiper .swiper-slide {
  opacity: 0.4;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-radius: 8px;
  overflow: hidden;
}

.applications-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.app-slide-content {
  position: relative;
  height: 520px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.app-slide-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 23, 48, 0.9) 0%, rgba(11, 23, 48, 0) 50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 40px;
  box-sizing: border-box;
}

.app-slide-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  color: white;
}

.applications-swiper .swiper-button-prev,
.applications-swiper .swiper-button-next {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.15);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  z-index: 10;
}

.applications-swiper .swiper-button-prev {
  left: 21%;
}

.applications-swiper .swiper-button-next {
  right: 21%;
}

.applications-swiper .swiper-button-prev:hover,
.applications-swiper .swiper-button-next:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(240, 100, 34, 0.4);
}

.applications-swiper .swiper-button-prev::after,
.applications-swiper .swiper-button-next::after {
  font-size: 18px !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

/* --- Featured Products --- */
.featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 30px;
}

.featured-title-desc {
  max-width: 75%;
}

.featured-module-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  margin-top: 0;
}

.featured-module-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.btn-featured-more {
  background-color: var(--accent);
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: inline-block;
  text-align: center;
}

.btn-featured-more:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 15px rgba(240, 100, 34, 0.4);
  transform: translateY(-2px);
}

.featured-tabs-wrapper {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 35px;
  width: 100%;
}

.featured-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  gap: 70px;
}

.featured-tabs li {
  margin: 0;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 0;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.tab-btn:hover,
.tab-btn.active {
  color: #1a202c;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #1a202c;
  transition: width 0.3s ease;
}

.tab-btn.active::after {
  width: 100%;
}

.featured-swiper {
  width: 100%;
  padding-bottom: 40px;
  overflow: hidden;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-img-wrapper {
  background-color: #fbfbfb;
  /* padding: 25px; */
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.product-info {
  padding: 15px 20px;
  text-align: center;
}

.product-name {
  font-size: 14px;
  color: #1a202c;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-swiper .swiper-pagination {
  bottom: 0px !important;
  display: flex;
  justify-content: center;
}

.featured-swiper .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.15) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 5px !important;
  transition: background 0.3s ease;
}

.featured-swiper .swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/* --- Why CHZ Lighting --- */
.why-section {
  background-color: var(--primary-dark);
  background-image: url('../images/index-choose.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: white;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.why-module-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  margin-top: 0;
  line-height: 1.2;
}

.why-module-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 35px 0;
}

.why-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.why-btn-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: rgba(35, 56, 106, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 18px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.why-btn-card:hover {
  background-color: rgba(48, 73, 133, 1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.why-btn-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.why-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-btn-left i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.why-btn-left span {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.why-btn-plus {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.why-btn-card:hover .why-btn-plus {
  color: white;
}

.why-btn-content {
  display: none;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.why-btn-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-btn-content li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-align: left;
  position: relative;
  padding-left: 14px;
}

.why-btn-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  top: 0px;
}

.why-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.why-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  border-top: none;
  padding-top: 0;
}

.stat-card {
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 15px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number span.counter {
  color: white;
}

.stat-plus-sign {
  color: white;
  font-size: 22px;
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}



/* --- Service Advantages --- */
.service-section {
  background-color: white;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.service-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
  width: 100%;
  height: auto;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.service-feature-icon {
  background-color: var(--primary);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.service-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.service-feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Testimonials Section (Swiper) --- */
.testimonials-section {
  background-image: linear-gradient(rgba(0, 34, 92, 0.25), rgba(0, 34, 92, 0.25)), url('../images/index-testimonialsn.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  position: relative;
  overflow: hidden;
}

.testimonials-swiper-container {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 80px;
}

.testimonials-swiper {
  position: relative;
  width: 100%;
  padding-bottom: 40px;
  overflow: hidden;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 4fr 6fr;
  background-color: rgba(35, 56, 106, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  padding: 30px;
  gap: 35px;
  align-items: center;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-img-side {
  width: 100%;
  height: 250px;
  border-radius: 6px;
  overflow: hidden;
}

.testimonial-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text-side {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.testimonials-swiper-container .swiper-button-prev,
.testimonials-swiper-container .swiper-button-next {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.4);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-swiper-container .swiper-button-prev {
  left: 15px;
}

.testimonials-swiper-container .swiper-button-next {
  right: 15px;
}

.testimonials-swiper-container .swiper-button-prev:hover,
.testimonials-swiper-container .swiper-button-next:hover {
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(240, 100, 34, 0.4);
}

.testimonials-swiper-container .swiper-button-prev::after,
.testimonials-swiper-container .swiper-button-next::after {
  font-size: 16px !important;
  font-weight: bold;
}

.testimonials-swiper .swiper-pagination {
  bottom: 0px !important;
  display: flex;
  justify-content: center;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 5px !important;
  transition: background 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

@media (max-width: 768px) {
  .testimonial-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .testimonial-img-side {
    height: 200px;
  }
  .testimonials-swiper-container {
    padding: 0 45px;
  }
  .testimonials-swiper-container .swiper-button-prev {
    left: 0;
  }
  .testimonials-swiper-container .swiper-button-next {
    right: 0;
  }
}

/* --- News Section --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(15, 34, 74, 0.05);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(9, 21, 48, 0.1);
}

.news-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
  transform: scale(1.08);
}

.news-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--accent);
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.news-info {
  padding: 24px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  height: 63px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.news-card:hover .news-link {
  color: var(--accent);
}

/* --- Contact Us & Form --- */
.contact-section {
  background-image: linear-gradient(rgba(0, 34, 92, 0.25), rgba(0, 34, 92, 0.25)), url('../images/index-contact.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: white;
}

.contact-section .section-title {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-column {
  padding-right: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.contact-info-content {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.contact-info-content a:hover {
  color: var(--accent);
}

.inquiry-form-container {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.inquiry-form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(15, 34, 74, 0.15);
  border-radius: 4px;
  font-size: 14px;
  background-color: #fafbfc;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(240, 100, 34, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-form-submit {
  width: 100%;
  background-color: var(--accent);
  color: white;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.btn-form-submit:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 5px 15px rgba(240, 100, 34, 0.3);
}



/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.show {
  right: 30px;
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-image-wrapper img {
    height: 380px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .why-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-image {
    order: 2;
  }
  .testimonial-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .testimonial-img-side {
    height: 250px;
  }
  .testimonial-text-side {
    padding: 0px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .applications-swiper .swiper-button-prev {
    left: 15px;
  }
  .applications-swiper .swiper-button-next {
    right: 15px;
  }
  .app-slide-content {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .featured-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .btn-featured-more {
    align-self: flex-start;
  }
  .featured-tabs-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    width: 100%;
  }
  .featured-tabs {
    gap: 35px;
    padding-bottom: 5px;
  }
  .tab-btn {
    white-space: nowrap;
    padding: 10px 0;
  }
  .profile-image-badge {
    bottom: -15px;
    right: 15px;
    padding: 10px 16px;
  }
  .badge-number {
    font-size: 18px;
  }
  
  /* Why Choose Us Mobile Optimization */
  .why-buttons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    margin-top: 40px;
    padding-top: 30px;
  }
  .stat-number {
    font-size: 32px !important;
  }
  .stat-label {
    font-size: 11px !important;
  }

  /* Testimonials Mobile Optimization */
  .testimonials-swiper-container {
    padding: 0 !important;
  }
  .testimonials-swiper-container .swiper-button-prev,
  .testimonials-swiper-container .swiper-button-next {
    display: none !important;
  }
  .testimonial-card {
    padding: 20px;
    gap: 20px;
  }
  .testimonial-img-side {
    height: 200px;
  }
  .testimonial-quote {
    font-size: 14.5px !important;
    line-height: 1.5;
  }
}

@media (max-width: 575px) {
  .featured-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .inquiry-form-container {
    padding: 24px;
  }
  .profile-image-wrapper img {
    height: 280px;
  }
}
