/* ==========================================
   HOMEPAGE CUSTOM COMPONENT STYLES
   ========================================== */

/* 1. Hero Banner Slider */
.hero-panel.home-page-banner {
  margin-top: var(--header-height);
  position: relative;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 100px 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-panel.home-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65); /* Dark dimming overlay */
  z-index: 1;
}

.hero-slider_bgbox {
  width: 100%;
  position: relative;
  z-index: 2; /* Render on top of overlay */
}

.hero-contentbox {
  max-width: 750px;
  display: flex;
  flex-direction: column;
}

.hero-samlltitle {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 16px;
}

.bannr-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff; /* White text */
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.bannr-title .text-yellow {
  color: var(--primary);
}

.bannr-subtext {
  font-size: 17px;
  color: #e2e8f0; /* Light slate text */
  line-height: 1.7;
  margin-bottom: 30px;
}

/* 2. Yellow Strip Banner */
.yellow-strip {
  background-color: var(--primary);
  color: #ffffff;
  padding: 18px 0;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

/* 3. We Offer Tabs Section */
.we-offerpanel {
  padding: 90px 0;
  background-color: #ffffff;
}

.tbaingbox {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
  height: 100%;
}

.tbaingbox .nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tbaingbox .nav-tabs a {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 15px 20px;
  border-radius: 8px;
  background-color: var(--bg-alt);
  border: 1px solid transparent;
}

.tbaingbox .nav-tabs a span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.7;
}

.tbaingbox .nav-tabs a:hover {
  color: var(--dark-slate);
  background-color: #f1f5f9;
}

.tbaingbox .nav-tabs a.active {
  color: var(--dark-slate);
  background-color: #ffffff;
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}

.tbaingbox .nav-tabs a.active::after {
  content: '';
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 30px;
  background-color: var(--primary);
  border-radius: 3px 0 0 3px;
}

/* Tab Content Display */
.tab-contantpanel {
  padding-left: 40px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.title-logobox {
  margin-bottom: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 12px;
}

.title-logobox img {
  width: 26px;
  height: 26px;
}

.tab-titlname {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 800;
}

.tab-infopanel p {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 24px;
  line-height: 1.7;
}

.more-workbox {
  background-color: var(--bg-alt);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.more-workbox p {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 16px !important;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.works-list li {
  font-size: 13.5px;
  color: var(--text-muted);
}

.works-list li a {
  color: var(--dark-slate);
  font-weight: 600;
}

.works-list li a:hover {
  color: var(--primary);
}

.yellow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(251, 173, 24, 0.3);
}

.yellow-arrow:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateX(3px);
}

/* 4. Stats Panel styling */
.company-tastimonialpanel {
  background-color: var(--dark-slate);
  padding: 60px 0;
  color: #ffffff;
}

.company-tastimonialbox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.company-tastimonialinfo h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.company-tastimonialinfo p {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 5. Shaping Market Leaders */
.did-knowpanel {
  padding: 90px 0;
  background-color: var(--bg-alt);
}

.did-knowpanel.border-grey {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.did-knowbox {
  display: flex;
  gap: 24px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
}

.did-knowbox img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.did-knowinfo h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.did-knowinfo p {
  font-size: 14.5px;
  color: var(--text-color);
}

.home-list {
  display: grid;
  gap: 10px;
}

/* 6. Process/Strategy Steps Panel */
.strategy-panel {
  padding: 90px 0;
  background-color: #ffffff;
}

.strategy-stepbox {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  position: relative;
  margin-bottom: 60px;
}

/* Connector Line across elements */
.strategy-stepbox::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.strategy-box {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.strategy-imgbox {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.strategy-imgbox img {
  width: 32px;
  height: 32px;
}

.strategy-box p {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-slate);
}

.strategy-box:hover .strategy-imgbox {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: scale(1.08);
}

.strategy-bottombox {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: var(--bg-alt);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.strategy-bottombox .vector-woman {
  width: 60px;
  height: 60px;
}

.strategy-titlebox h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.strategy-titlebox .sub-texttitle {
  margin-bottom: 0;
}

/* 7. Portfolio Slider section */
.our-corepanel {
  padding: 90px 0;
  background-color: var(--bg-alt);
}

.our-coreleftbox {
  padding-right: 30px;
}

.our-coreleftbox p {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 24px;
}

.project-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-box {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-imgbox {
  height: 200px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.project-imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-box:hover .project-imgbox img {
  transform: scale(1.05);
}

.project-infobox {
  padding: 20px;
}

.project-namebox span, .project-technology span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.project-namebox p {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 10px;
}

.project-technology p {
  font-size: 13.5px;
  color: var(--text-color);
}

.get-projectbox {
  margin-top: 40px;
  background-color: var(--dark-slate);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #ffffff;
}

.get-projecttext p {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
}

/* 8. Testimonials Section */
.testimonial-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.video-testimonial {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f1f5f9;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-color);
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.1) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.brand-logo-mock {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.brand-logo-mock i {
  color: var(--primary);
  font-size: 22px;
}

.testimonial-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-title {
  color: #94a3b8;
  font-size: 12.5px;
}

.testimonial-graphic-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.2);
  z-index: 1;
}

.testimonial-graphic-btn i {
  font-size: 48px;
  color: #ffffff;
  opacity: 0.8;
  transition: all 0.25s ease;
}

.video-testimonial:hover .testimonial-graphic-btn i {
  opacity: 1;
  transform: scale(1.1);
  color: var(--primary);
}
