.hero {
  padding: 80px 0 186px 100px;
  margin-top: 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.hero-copy {
  width: 365px;
  max-width: 100%;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: 36px;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
}

.cta-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hero-art {
  position: relative;
  width: 1028px;
  height: 690px;
  margin: 40px 0 0;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.art-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: visible;
}

.art-bg {
  position: absolute;
  width: 95%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 16px;
  left: 0;
  transform: none;
}

.art-line {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 95%;
  height: auto;
  z-index: 2;
  opacity: 0.9;
}

/* Animation keyframes */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.art-pos {
  position: absolute;
  width: 565px;
  height: auto;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: slideInFromRight 0.8s ease-out forwards;
}

.pos1 {
  bottom: -22%;
  left: 36%;
  z-index: 10;
  animation-delay: 0.3s;
}

.pos2 {
  top: 12%;
  right: 7%;
  z-index: 20;
  animation-delay: 0.6s;
}

.pos3 {
  top: 11%;
  right: 4%;
  z-index: 30;
  animation-delay: 0.9s;
}

.art-pos:hover {
  transform: scale(1.02);
}

@media (max-width: 1200px) {
  .hero-art {
    width: 90%;
    height: auto;
    aspect-ratio: 1028/690;
  }

  .art-pos {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    order: 2;
    padding: 0 10px;
  }

  .hero-copy h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-art {
    order: 1;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    aspect-ratio: 1/1;
    margin-left: 15px;
  }

  .art-card {
    width: 100%;
    height: 100%;
  }

  .art-pos {
    width: 40%;
  }

  .pos1 {
    bottom: 57px;
    left: 36%;
  }

  .pos2 {
    top: 30%;
    right: 20%;
  }

  .pos3 {
    top: 27%;
    right: 15%;
  }

  .cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn {
    margin: 5px;
    width: 140px;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 110px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-number {
  color: #d8373d;
  font-size: 24px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-content h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 600;
  line-height: 1.3;
}

.feature-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 8px;
}

.feature-content {
  width: 100%;
}

/* Mobile styles */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .feature-item {
    padding: 24px 16px;
  }

  .feature-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
  }

  .feature-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-content p {
    font-size: 13px;
    line-height: 1.5;
  }
}

.why {
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;
}

.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.why-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
}

.why-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.why-card:nth-child(even) {
  flex-direction: row-reverse;
}

.why-img {
  width: 420px;
  height: auto;
  display: block;
}

.why-caption {
  max-width: 520px;
}

.why-title {
  display: block;
  font-size: 28px;
  color: #d42229;
  font-weight: 500;
  line-height: 1.2;
}

.why-desc {
  display: inline-block;
  font-size: 14px;
  color: #010101;
  margin-top: 8px;
  line-height: 1.6;
}

.why-sep {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #d42229;
  margin: 6px 0 6px;
}

@media (max-width: 1024px) {
  .why-showcase {
    grid-template-columns: 1fr;
    gap: 60px;
    width: 90%;
    margin: 0 auto;
  }

  .why-card {
    flex-direction: column;
    text-align: center;
  }

  .why-caption {
    max-width: 640px;
  }

  .why-img {
    width: min(100%, 420px);
  }
  .why-title {
    font-size: 24px;
  }
  .why-desc {
    font-size: 13px;
  }
  .events .slider {
    height: 220px;
    width: 90%;
    margin: 0 auto;
  }
  .events .slides {
    height: 220px;
  }
  .events .slide img {
    height: 220px;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  .why-showcase {
    gap: 40px;
  }
  .why-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
  .why-card:nth-child(even) {
    flex-direction: row-reverse; /* alternate: image right, text left */
  }
  .why-img {
    width: 96px;
    max-width: 96px;
    height: auto;
  }
  .why-title {
    font-size: 22px;
  }
  .why-desc {
    font-size: 13px;
    line-height: 1.6;
  }
  .events .slider {
    height: 220px;
    width: 90%;
    margin: 0 auto;
  }
  .events .slide img {
    height: 220px;
    object-fit: cover;
  }
  .events .dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
  }
}

.events .slider {
  position: relative;
  width: 100%;
  height: 670px;
  overflow: hidden;
  border-radius: 18px;
}

.events .slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.events .slide {
  flex: 0 0 100%;
}

.events .slide img {
  display: block;
  width: 100%;
  height: 670px;
  object-fit: cover;
}

.events .dots {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.events .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0;
  cursor: pointer;
}

.events .dot.active {
  background: #d42229;
  border-color: #d42229;
}

/* Our Partners Section */
.partners {
  /* background: url("../img/background.png") no-repeat center center; */
  /* background-size: cover; */
  padding: 80px 0;
  position: relative;
}

.partners .section-title {
  margin-bottom: 60px;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

.partners .logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* gap: 60px 80px; */
  justify-items: center;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.partners .logo-grid img {
  width: 100%;
  max-width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto;
}

/* Connected Media Section */
.connected-media {
  /* background: url("../img/background.png") no-repeat center center;
  background-size: cover; */
  padding: 80px 0;
  position: relative;
}

.connected-media .section-title {
  margin-bottom: 60px;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

.connected-media .logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* gap: 60px 80px; */
  justify-items: center;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.connected-media .logo-grid img {
  width: 100%;
  max-width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0 auto;
}

/* Ensure slider height override applies after base declarations */
@media (max-width: 1024px) {
  .events .slider {
    height: 220px !important;
    width: 90% !important;
    margin: 0 auto !important;
  }
  .events .slides {
    height: 220px !important;
  }
  .events .slide {
    height: 220px !important;
  }
  .events .slide img {
    height: 220px !important;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    max-width: 600px;
  }

  .partners .section-title {
    font-size: 28px;
    margin-bottom: 50px;
  }

  .connected-media .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    max-width: 600px;
  }

  .connected-media .section-title {
    font-size: 28px;
    margin-bottom: 50px;
  }
}

@media (max-width: 640px) {
  .partners {
    padding: 60px 0;
  }

  .partners .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .partners .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 15px;
    max-width: 100%;
    padding: 0 20px;
  }

  .partners .logo-grid img {
    max-width: 100px;
  }

  .connected-media {
    padding: 60px 0;
  }

  .connected-media .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .connected-media .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 15px;
    max-width: 100%;
    padding: 0 20px;
  }

  .connected-media .logo-grid img {
    max-width: 100px;
  }
}
