/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #240046, #3a0ca3 40%, #a100f2 70%, #7209b7);
  color: #fff;
  overflow-x: hidden; /* Added to prevent horizontal shaking on mobile */
}

/* 🟣 HERO SECTION */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  animation: fadeIn 1s ease-in;
  padding: 0 20px;
}

.subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  letter-spacing: 0.8px;
  max-width: 800px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
}

.hero h1 span {
  color: #c77dff;
}

.hero h2 {
  font-size: 58px;
  font-weight: 600;
  margin-top: 5px;
}

.highlight {
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 8px;
}

.highlight.purple {
  background: linear-gradient(90deg, #a100f2, #7209b7);
}

.highlight.dark {
  background: linear-gradient(90deg, #240046, #3a0ca3);
}

.scroll-down {
  margin-top: 45px;
  font-size: 62px;
  opacity: 0.7;
  animation: bounce 1.2s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.scroll-down:hover {
    transform: translateY(10px);
}

/* 🟣 AWARDS & MOVING BRAND SECTION */
.awards {
  background: #fff;
  color: #111;
  padding: 80px 60px;
  text-align: left;
}

.awards-text {
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.awards-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}

/* Logo Slider */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(180px * 2 * 10 + 80px * 2 * 10);
  animation: scroll 40s linear infinite;
}

.logo-track img {
  width: 180px;
  min-width: 180px;
  height: auto;
  margin: 0 40px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 🟣 Digital Transformation Section */
.digital-transform {
  background: #0d0d0d;
  color: #fff;
  padding: 100px 80px;
  text-align: center;
}

.digital-transform h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #b5179e, #7209b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card Grid */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.transform-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.transform-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.transform-card:hover img {
  transform: scale(1.1);
}

/* Hover Overlay */
.transform-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(2px);
}

.transform-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.transform-card .overlay h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
}

.transform-card .overlay p {
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.transform-card .overlay .btn {
  align-self: flex-start;
  background: linear-gradient(90deg, #7209b7, #b5179e);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.transform-card .overlay .btn:hover {
  background: #c77dff;
  transform: translateX(4px);
}

/* Video Section */
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #111;
}

.bg-video {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  z-index: 2;
  pointer-events: none;
}

/* 🟣 Impact Section */
.impact {
  background: #000;
  color: #fff;
  padding: 0px 80px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 60px;
}

.impact-text h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.impact-description {
  max-width: 550px;
  line-height: 1.7;
  font-size: 17px;
  color: #d6d6d6;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.stat-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 25px;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.stat-card h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
}

.stat-card p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.4;
}

.stat-card.purple { background: #7209b7; }
.stat-card.dark { background: #1a052a; border-color: #2e0b44; }
.stat-card.light { background: #222; }
.stat-card.gradient { background: linear-gradient(135deg, #9d4edd, #5a189a); }

.stat-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, #b5179e, #7209b7);
  box-shadow: 0 8px 25px rgba(114, 9, 183, 0.4);
}

/* 🟣 Retail Insights Section */
.insights {
  background: #000;
  color: #fff;
  padding: 100px 60px;
  overflow: hidden;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.insights-header h2 {
  font-size: 36px;
  font-weight: 700;
}

.insights-header span {
  color: #b5179e;
}

.insight-nav button {
  background: transparent;
  border: 1px solid #b5179e;
  color: #b5179e;
  font-size: 18px;
  padding: 8px 14px;
  margin-left: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.insight-nav button:hover {
  background: #b5179e;
  color: #fff;
}

.insights-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 60px;
}

.insights-slider::-webkit-scrollbar {
  display: none;
}

.insight-card {
  position: relative;
  min-width: 550px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.insight-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover img {
  transform: scale(1.08);
}

.insight-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.insight-overlay .category {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.insight-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* 🟣 Contact Section */
.contact-section {
  background: #fff;
  color: #000;
  padding: 100px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
}

.contact-image {
    min-width: 450px;
}

.contact-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.contact-form {
  flex: 1;
}

.contact-form h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #7209b7;
}

.contact-form p {
  font-size: 16px;
  color: #333;
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1.5px solid #ccc;
  outline: none;
  font-size: 15px;
  margin-top: 5px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #b5179e;
}

.contact-form button {
  margin-top: 25px;
  background: linear-gradient(90deg, #7209b7, #b5179e);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.contact-form button:hover {
  background: #c77dff;
  transform: translateY(-2px);
}

/* 🟢 Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, #003366, #005f73);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 80px;
  flex-wrap: wrap;
}

.newsletter-content h3 {
  font-size: 24px;
  font-weight: 600;
}

.newsletter-content p {
  font-size: 15px;
  color: #d6d6d6;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 15px;
}

.newsletter-form input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #fff;
  padding: 10px;
  color: #fff;
  width: 280px;
  min-width: 200px;
  font-size: 15px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form button {
  background: #fff;
  color: #003366;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #b5179e;
  color: #fff;
}

/* 🟣 DETAIL OVERLAY MODAL */
.detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 25, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.detail-overlay.active {
  visibility: visible;
  opacity: 1;
}

.detail-content {
  background: #fff;
  color: #111;
  border-radius: 10px;
  max-width: 700px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.detail-content h3 {
  font-size: 28px;
  color: #7209b7;
  margin-bottom: 15px;
}

.detail-content p {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.explore-btn {
  display: inline-block;
  background: linear-gradient(90deg, #7209b7, #b5179e);
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.explore-btn:hover {
  background: #c77dff;
  transform: translateY(-2px);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #7209b7;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #b5179e;
}

/* 🟣 FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #1a0033;
  font-size: 14px;
}

/* 🟣 ANIMATIONS (EXACTLY AS PROVIDED) */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ========================================================================= */
/* 🟣 RESPONSIVE DESIGN - FIXED FOR MOBILE */
/* ========================================================================= */

@media (max-width: 1200px) {
  .digital-transform, .impact, .contact-section, .newsletter, footer, .awards {
    padding-left: 40px; padding-right: 40px;
  }
  .insights-slider { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 1024px) {
  .transform-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-card img { height: 350px; }
  .contact-container { flex-direction: column; align-items: center; gap: 40px; }
  .contact-image { min-width: auto; max-width: 500px; }
  .contact-form { max-width: 500px; width: 100%; text-align: left; }
}

/* MOBILE VIEW - 768px and down */
@media (max-width: 768px) {
  .awards, .digital-transform, .impact, .insights, .contact-section, .newsletter, footer {
    padding: 35px 20px;
  }

  /* 🟣 FIXED DIGITAL TRANSFORM FOR MOBILE */
  .digital-transform h2 { font-size: 30px; }
  .transform-grid { grid-template-columns: 1fr; }
  
  .transform-card {
    display: flex;
    flex-direction: column;
    background: #1a052a; 
    height: auto;
    cursor: default;
  }
  
  .transform-card img {
    position: relative;
    height: 250px;
    width: 100%;
    transform: none !important; 
  }

  .transform-card .overlay {
    position: relative; 
    opacity: 1; 
    transform: none; 
    background: transparent; 
    backdrop-filter: none;
    padding: 25px 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .transform-card .overlay h3 { font-size: 22px; margin-bottom: 12px; }
  .transform-card .overlay p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
  .transform-card .overlay .btn { 
    align-self: center; 
    padding: 12px 40px; 
  }

  /* 🟢 FIXED NEWSLETTER FOR MOBILE */
  .newsletter { 
    flex-direction: column; 
    text-align: center; 
    gap: 30px; 
  }
  
  .newsletter-form { 
    flex-direction: column; 
    width: 100%; 
    gap: 20px;
  }
  
  .newsletter-form input { 
    width: 100%; 
    text-align: center; 
  }
  
  .newsletter-form button { 
    width: 100%; 
    padding: 15px;
  }

  /* OTHER MOBILE STYLES */
  .hero h1 { font-size: 40px; }
  .hero h2 { font-size: 34px; }
  .impact-text h1 { font-size: 30px; text-align: left; white-space: nowrap;line-height: 1.2; }
  .impact-content { flex-direction: column; align-items: center; text-align: center; }
  .insight-card { min-width: 85vw; }
  .insight-card img { height: 250px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero h2 { font-size: 26px; }
  .subtext { font-size: 14px; }
}