body{
  background:white;
  font-family:sans-serif;
  color:black;
}

.carousel-page{
  padding:300px;
}

.carousel-demo{
  margin-top:40px;
  background:#111827;
  padding:30px;
  border-radius:24px;
}

.slides{
  display:flex;
  gap:20px;
}

.slide{
  flex:1;
  height:260px;
  border-radius:20px;
  background:linear-gradient(135deg,#7c5cff,#00d4ff);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  font-weight:bold;
}

/* ================= AUTO SLIDER ================= */

.auto-carousel{
  width:100%;
  overflow:hidden;
  border-radius:20px;
}

.auto-slides{
  display:flex;
  width:400%;
  animation:slideMove 12s infinite;
}

.auto-slide{
  width:100%;
  height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  font-weight:bold;
  color:white;
}

.slide-1{
  background:linear-gradient(135deg,#3b82f6,#06b6d4);
}

.slide-2{
  background:linear-gradient(135deg,#8b5cf6,#ec4899);
}

.slide-3{
  background:linear-gradient(135deg,#10b981,#22c55e);
}

.slide-4{
  background:linear-gradient(135deg,#f59e0b,#ef4444);
}

@keyframes slideMove{
  0%{
    transform:translateX(0);
  }
  25%{
    transform:translateX(0);
  }
  30%{
    transform:translateX(-100%);
  }
  50%{
    transform:translateX(-100%);
  }
  55%{
    transform:translateX(-200%);
  }
  75%{
    transform:translateX(-200%);
  }
  80%{
    transform:translateX(-300%);
  }
  100%{
    transform:translateX(-300%);
  }
}

/* ================= CARD CAROUSEL ================= */

.card-carousel{
  display:flex;
  gap:20px;
  overflow-x:auto;
  padding-bottom:10px;
  background-color: #00d4ff;
}

.feature-card{
  min-width:280px;
  
  padding:30px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.3s;
}

.feature-card:hover{
  transform:translateY(-10px);
}

.feature-card span{
  font-size:2.5rem;
}

.feature-card h3{
  margin:20px 0 10px;
}

.feature-card p{
  color:black;
  line-height:1.6;
}

/* ================= 3D CAROUSEL ================= */

.three-d-carousel{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:25px;
  perspective:1000px;
  flex-wrap:wrap;
}

.three-card{
  width:220px;
  height:260px;
  border-radius:25px;
  background:linear-gradient(135deg,#0ea5e9,#2563eb);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:3rem;
  font-weight:bold;
  transform-style:preserve-3d;
  transition:0.5s;
}

.three-card:hover{
  transform:rotateY(20deg) rotateX(10deg) scale(1.05);
}

.flip-carousel {
  display: flex;
  gap: 20px;
  perspective: 1000px;
}

.footer {
  width: 100%;
  margin-left: 0;
  background: #070b16;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 40px 25px;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #ff7a45;
  margin-bottom: 18px;
}

.footer-col h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: #8b95a7;
  line-height: 1.7;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
.flip-card {
  width: 180px;
  height: 220px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
  position: relative;
}

.flip-card:hover {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding: 10px;
}

.flip-back {
  background: #333;
  transform: rotateY(180deg);
}
.circular-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.circle-item {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6, #f06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.circle-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.zoom-carousel {
  display: flex;
  gap: 20px;
}

.zoom-card {
  width: 200px;
  padding: 20px;
  background: plum;
  color: #fff;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.zoom-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.split-carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-slide {
  display: flex;
  justify-content: space-between;
  background:linear-gradient(to right, blue,pink,gold);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.split-left, .split-right {
  flex: 1;
  text-align: center;
  font-weight: bold;
}
.cube-carousel {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 8s infinite linear;
}

.footer-col ul li a {
  color: #8b95a7;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #ff7a45;
  padding-left: 5px;
.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: #444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid #fff;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); }

@keyframes rotateCube {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.carousel-title {
  margin-bottom: 20px; /* adds space below the title */
}
.coverflow-card,
.stack-card,
.neon-card,
.product-card,
.testimonial-card {
  margin: 15px; /* adds space around each card */
}
.coverflow-carousel,
.stack-carousel,
.neon-carousel,
.product-carousel,
.testimonial-carousel {
  display: flex;
  gap: 20px; /* uniform spacing between cards */
}
.carousel-section {
  margin-bottom: 40px; /* space after each section */
}

.carousel-title {
  margin-bottom: 25px; /* space between title and cards */
}
.fade-carousel {
  position: relative;
  width: 100%;
  height: 200px;
}

.fade-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, orange, pink);
  color: #fff;
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  color: #fff;
  transition: 0.3s ease;
}

.socials a:hover {
  background: #ff7a45;
  transform: translateY(-3px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-slide.active {
  opacity: 1;
}
.tilt-carousel {
  display: flex;
  gap: 20px;
}

.tilt-card {
  width: 160px;
  height: 200px;
  background: linear-gradient(to right,white, green);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
  transition: transform 0.3s;
  border-radius: 10px;
}

.tilt-card:hover {
  transform: rotate(0deg) scale(1.05);
}
.wave-carousel {
  display: flex;
  gap: 20px;
}

.wave-item {
  padding: 20px;
  background: linear-gradient(135deg, #06f, #0ff);
  color: #fff;
  border-radius: 8px;
  animation: waveMotion 2s infinite ease-in-out;
}

@keyframes waveMotion {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.shadow-carousel {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 10px;
  color: white;
  outline: none;
}

.newsletter-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;

  background: #ff7a45;
  color: white;

  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff5f1f;
}

.footer-bottom {
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  color: #7d8799;
  font-size: 13px;
  gap: 20px;
}

.shadow-card {
  width: 180px;
  height: 200px;
  background: lightseagreen;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.shadow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.6);
}
.flip-vertical-carousel {
  display: flex;
  gap: 20px;
  perspective: 1000px;
}

.flip-vertical-card {
  width: 160px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}

.flip-vertical-card:hover {
  transform: rotateX(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #fff;
  border-radius: 10px;
}

.flip-back {
  background: #444;
  transform: rotateX(180deg);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .footer {
    margin-left: 0;
    width: 100%;
    padding: 60px 24px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .newsletter {
    grid-column: span 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-col.brand,
  .footer-col.newsletter {
    grid-column: span 3;
  }
}

@media (max-width: 992px) {
  .main-content {
    margin-left: 0;
    padding: 32px 24px;
  }

  .footer {
    margin-left: 0;
    width: 100%;
    padding: 60px 24px 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col.brand,
  .footer-col.newsletter {
    grid-column: span 1;
  }
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .footer {
    padding: 60px 6% 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
/* =========================================================
   HERO SHOWCASE
========================================================= */

.hero-carousel {

  position: relative;

  height: 90vh;

  border-radius: 36px;
  
  overflow: hidden;

  margin-bottom: 70px;

  background:
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1600")
    center/cover no-repeat;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.2);
}

/* =========================================================
   OVERLAY
========================================================= */

.hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(15,15,25,0.82),
      rgba(108,92,231,0.5)
    );
}

/* =========================================================
   CONTENT
========================================================= */

.hero-content {

  position: relative;

  z-index: 2;

  height: 100%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 80px;

  color: white;
}

.hero-tag {

  display: inline-block;

  width: fit-content;

  padding: 10px 18px;

  border-radius: 999px;

  margin-bottom: 24px;

  background:
    rgba(255,255,255,0.12);

  backdrop-filter:
    blur(10px);

  font-size: 14px;

  font-weight: 700;
}

.hero-content h1 {

  max-width: 750px;

  font-size: 4.5rem;

  line-height: 1.1;

  margin-bottom: 24px;
}

.hero-content p {

  max-width: 650px;

  line-height: 1.8;

  font-size: 18px;

  opacity: 0.92;

  margin-bottom: 36px;
}

/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {

  display: flex;

  gap: 18px;
}

.hero-btn {

  padding: 16px 30px;

  border-radius: 16px;

  border: none;

  cursor: pointer;

  font-weight: 700;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-btn:hover {

  transform:
    translateY(-4px);
}

.primary-btn {

  background:
    linear-gradient(
      135deg,
      #6c5ce7,
      #8e7dff
    );

  color: white;

  box-shadow:
    0 12px 30px rgba(108,92,231,0.35);
}

.secondary-btn {

  background:
    rgba(255,255,255,0.12);

  backdrop-filter:
    blur(12px);

  color: white;

  border:
    1px solid rgba(255,255,255,0.16);
}

/* =========================================================
   MARQUEE
========================================================= */

.marquee-section {

  margin-bottom: 80px;
}

.marquee-wrapper {

  overflow: hidden;

  position: relative;

  width: 100%;

  margin-top: 30px;
}

.marquee-track {

  display: flex;

  gap: 24px;

  width: max-content;

  animation:
    marqueeMove 18s linear infinite;
}

@keyframes marqueeMove {

  from {

    transform:
      translateX(0);
  }

  to {

    transform:
      translateX(-50%);
  }

}

/* =========================================================
   MARQUEE CARD
========================================================= */

.marquee-card {

  min-width: 260px;

  padding: 28px;

  border-radius: 26px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  border:
    1px solid rgba(255,255,255,0.08);

  font-size: 20px;

  font-weight: 700;

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.marquee-card:hover {

  transform:
    translateY(-8px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.12);
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .marquee-card {

  background:
    rgba(31,31,31,0.72);

  color: white;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

  .hero-content h1 {

    font-size: 3.2rem;
  }

}

@media (max-width: 768px) {

  .hero-carousel {

    height: 75vh;
  }

  .hero-content {

    padding: 40px;
  }

  .hero-content h1 {

    font-size: 2.5rem;
  }

  .hero-buttons {

    flex-direction: column;
  }

}
/* =========================================================
   GLASS CAROUSEL
========================================================= */

.glass-carousel {

  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap: 28px;

  margin-top: 30px;
}

.glass-card {

  position: relative;

  overflow: hidden;

  padding: 40px 30px;

  border-radius: 30px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter:
    blur(22px);

  border:
    1px solid rgba(255,255,255,0.12);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.glass-card::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.08),
      transparent
    );

  pointer-events: none;
}

.glass-card:hover {

  transform:
    translateY(-10px);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.16);
}

.glass-icon {

  width: 80px;

  height: 80px;

  border-radius: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 24px;

  font-size: 34px;

  background:
    rgba(255,255,255,0.12);
}

.glass-card h3 {

  font-size: 1.7rem;

  margin-bottom: 16px;
}

.glass-card p {

  line-height: 1.8;

  color:
    #666;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap: 24px;

  margin-top: 30px;
}

.gallery-img {

  width: 100%;

  height: 320px;

  object-fit: cover;

  border-radius: 28px;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-img:hover {

  transform:
    scale(1.03);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.18);
}

/* =========================================================
   GALLERY MODAL
========================================================= */

.gallery-modal {

  position: fixed;

  inset: 0;

  background:
    rgba(0,0,0,0.9);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.3s ease;

  z-index: 9999;
}

.gallery-modal.active {

  opacity: 1;

  pointer-events: auto;
}

.gallery-modal-img {

  width: 85%;

  max-width: 1200px;

  border-radius: 30px;
}

.close-gallery {

  position: absolute;

  top: 30px;

  right: 40px;

  font-size: 34px;

  color: white;

  cursor: pointer;
}

/* =========================================================
   TESTIMONIAL
========================================================= */

.testimonial-carousel {

  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

  gap: 28px;

  margin-top: 30px;
}

.testimonial-card {

  padding: 38px 30px;

  border-radius: 30px;

  text-align: center;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  border:
    1px solid rgba(255,255,255,0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-card:hover {

  transform:
    translateY(-8px);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.14);
}

.testimonial-card img {

  width: 90px;

  height: 90px;

  border-radius: 50%;

  object-fit: cover;

  margin-bottom: 20px;

  border:
    4px solid rgba(255,255,255,0.14);
}

.testimonial-card h3 {

  margin-bottom: 6px;
}

.testimonial-card span {

  display: block;

  margin-bottom: 18px;

  color:
    #6c5ce7;

  font-weight: 700;
}

.testimonial-card p {

  line-height: 1.8;

  color:
    #666;
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .glass-card,
body.dark-mode .testimonial-card {

  background:
    rgba(31,31,31,0.72);

  color: white;
}

body.dark-mode .glass-card p,
body.dark-mode .testimonial-card p {

  color:
    rgba(255,255,255,0.72);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

  .gallery-modal-img {

    width: 94%;
  }

}

/* =========================================================
   COVERFLOW CAROUSEL
========================================================= */

.coverflow-carousel{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
  perspective:1200px;
}

.coverflow-card{
  width:180px;
  height:240px;
  border-radius:24px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:#fff;
  backdrop-filter:blur(12px);
  transform:rotateY(25deg) scale(.9);
  transition:.4s ease;
}

.coverflow-card span{
  font-size:3rem;
}

.coverflow-card.active-cover,
.coverflow-card:hover{
  transform:rotateY(0deg) scale(1.05);
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}

/* =========================================================
   STACKED CAROUSEL
========================================================= */

.stack-carousel{
  position:relative;
  width:320px;
  height:250px;
  margin:auto;
}

.stack-card{
  position:absolute;
  width:100%;
  padding:35px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg,#7f5af0,#2cb67d);
  box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.stack-1{
  top:0;
  z-index:3;
}

.stack-2{
  top:25px;
  left:20px;
  opacity:.8;
  z-index:2;
}

.stack-3{
  top:50px;
  left:40px;
  opacity:.6;
  z-index:1;
}

.vertical-carousel{
  height:260px;
  overflow:hidden;
  position:relative;
}

.vertical-track{
  display:flex;
  flex-direction:column;
  gap:20px;
  animation:verticalScroll 12s linear infinite;
}

.vertical-slide{
  min-height:80px;
  background:#151515;
  border-radius:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:1.1rem;
  border:1px solid rgba(255,255,255,0.08);
}

@keyframes verticalScroll{
  0%{
    transform:translateY(0);
  }
  100%{
    transform:translateY(-50%);
  }
}

/* =========================================================
   PARALLAX CAROUSEL
========================================================= */

.parallax-carousel{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.parallax-slide{
  height:320px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  background-size:cover;
  background-position:center;
  transition:.5s ease;
}

.parallax-slide:hover{
  transform:translateY(-10px);
}

.parallax-1{
  background-image:url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1200");
}

.parallax-2{
  background-image:url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1200");
}

.parallax-3{
  background-image:url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=1200");
}

.parallax-content{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
  display:flex;
  align-items:flex-end;
  padding:25px;
  color:#fff;
}

/* =========================================================
   NEON CAROUSEL
========================================================= */

.neon-carousel{
  display:flex;
  gap:25px;
  flex-wrap:wrap;
  justify-content:center;
}

.neon-card{
  width:220px;
  height:150px;
  border:2px solid #00f0ff;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#00f0ff;
  font-size:1.2rem;
  background:#050816;
  box-shadow:
    0 0 10px #00f0ff,
    0 0 30px rgba(0,240,255,.5);
  transition:.4s ease;
}

.neon-card:hover{
  transform:translateY(-8px) scale(1.03);
}

.timeline-carousel{
  display:flex;
  gap:20px;
  overflow-x:auto;
  padding-bottom:10px;
}

.timeline-item{
  min-width:240px;
  padding:25px;
  border-radius:20px;
  background:#111;
  color:#fff;
  border-left:4px solid #7f5af0;
}

.timeline-item span{
  font-size:1.4rem;
  font-weight:700;
  color:#7f5af0;
}

/* =========================================================
   PRODUCT CAROUSEL
========================================================= */

.product-carousel{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:25px;
}

.product-card{
  background:#141414;
  border-radius:24px;
  padding:30px;
  color:#fff;
  text-align:center;
  border:1px solid rgba(255,255,255,0.08);
  transition:.4s ease;
}

.product-card:hover{
  transform:translateY(-10px);
}

.product-image{
  width:90px;
  height:90px;
  border-radius:50%;
  background:linear-gradient(135deg,#7f5af0,#2cb67d);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2.5rem;
  margin:auto auto 20px;
}

.product-card button{
  margin-top:15px;
  padding:12px 22px;
  border:none;
  border-radius:14px;
  background:#7f5af0;
  color:#fff;
  cursor:pointer;
}

.logo-carousel{
  overflow:hidden;
  position:relative;
}

.logo-track{
  display:flex;
  width:max-content;
  gap:30px;
  animation:logoScroll 18s linear infinite;
}

.logo-item{
  min-width:180px;
  height:90px;
  border-radius:20px;
  background:#111;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:1.2rem;
  border:1px solid rgba(255,255,255,.08);
}

@keyframes logoScroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* make sure it's above footer */
  border: none;
  background: #4CAF50;
  color: #fff;
  cursor: pointer;
  padding: 14px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#backToTop:hover {
  background: #45a049;
  transform: scale(1.1);
}

.back-home-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #4CAF50, #2e7d32); /* gradient green */
  color: #fff;
  text-decoration: none;
  border-radius: 50px; /* pill shape */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background 0.3s ease, transform 0.3s ease;
  position: absolute; /* keep it at top */
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.back-home-btn:hover {
  background: linear-gradient(135deg, #45a049, #1b5e20);
  transform: translateY(-2px) scale(1.05);
}
