/* ======================
   PAGE LAYOUT
====================== */
.page {
  display: grid;
  grid-template-columns: 200px 1fr; /* LEFT + CENTER */
  min-height: 100vh;
  gap: 1rem;
}

.left-group  { grid-column: 1; }
.center-group{ grid-column: 2; }

/* ======================
   LEFT MARQUEE (DESKTOP)
====================== */
.left-group.marquee {
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.868);
}

.marquee-track {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  animation: marquee-vertical 4044s linear infinite;
}

/* duplicate content for smooth loop */
.marquee-track::after {
  content: attr(data-text);
  display: flex;
  flex-direction: column;
}

/* items */
.marquee-item {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem; 
  font-weight: 500;
}

/* ======================
   CONTENT AREAS
====================== */
.center-group {
  padding: .5rem;
}

/* ======================
   ANIMATIONS
====================== */
@keyframes marquee-vertical {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

@keyframes marquee-horizontal {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ======================
   MOBILE
====================== */
@media (max-width: 648px) {
  .page {
    grid-template-columns: 1fr; /* single column */
    grid-template-areas:
      "marquee"
      "center"
      "right";
  }

  .left-group {
    grid-area: marquee;
    width: 100%;
    height: 70px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
  }

  .center-group { 
    grid-area: center;
    padding: .2rem;
    margin: 10px;
  }

  /* Horizontal marquee */
  .marquee-track {
    flex-direction: row;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: max-content;
    animation: marquee-horizontal 4044s linear infinite;
    white-space: nowrap;
  }

  /* duplicate content for smooth loop */
  .marquee-track::after {
    content: attr(data-text);
    display: inline-block;
  }

  .marquee-item {
    display: inline-block;
    padding: 0 1rem;
    line-height: 70px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}
















/* This targets the <img> element that has BOTH the classes "title" and "img" */
.title.img {
    /* SIZE FIX: Sets the width to 30px and lets the height scale proportionally */
    width: 30px; 
    height: auto;
    
    /* ALIGNMENT FIX: Makes it a block element and centers it horizontally */
    display: block; 
    
    /* SPACING: 20px on top/bottom, 'auto' on left/right for centering */
    margin: 20px auto;

    /* position: relative is usually not needed here, so we remove it for simplicity */
}

.title.img:hover {
    /* Slightly enlarges the image on hover */
    transform: scale(1.5); 
    transition: transform 0.3s; /* Smooth transition */
}



#scrollToEndBtn {
    /* Keep existing styling */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    padding: 10px 15px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    
    /* ADD THIS LINE to hide it initially */
    display: none; 
}




.video-section {
  width: 100%;
  height: 600px;              /* ← controls the space */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;     /* optional */
}



.videoplay {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills section without distortion */
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.7);
}











/* ======================
   RESET
====================== */



 body {
  margin: 0;
  padding: 20;
  height: 100%;
  background: #867c7c;
  color: #ffffff;
  font-family: system-ui, sans-serif;
}












    body.smoothbgpurple {
        background: linear-gradient(-45deg, #9d42c1, #6d5778, #6a4386, #e2d8d8) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 10s ease infinite !important;
    }



       body.smoothbgteal {
        background: linear-gradient(-45deg, #046a7c, #50545d, #095a78, #e2d8d8) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 10s ease infinite !important;
    }
    
        body.smoothbgred {
        background: linear-gradient(-45deg, #c00606, #1b1b18, #000000, #be0000) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 5s ease infinite !important;
    }
    
     body.smoothbgbeige {
        background: linear-gradient(-45deg, #c5cb0a, #1b1b18, #aaa346, #d4cd99) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 5s ease infinite !important;
    }
    
  
    body.smoothbgpink {
        background: linear-gradient(-45deg, #6f2ea7, #a720ae, #c037ab, #e2d8d8) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 10s ease infinite !important;
    }
    
    body.smoothbwhite {
        background: linear-gradient(-45deg, #b6adad, #50545d, #6f6b6b, #e2d8d8) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 10s ease infinite !important;
    }
    
   

     body.smoothbggreen {
        background: linear-gradient(-45deg, #047c2e, #50545d, #1d7809, #e2d8d8) !important;
        background-size: 400% 400% !important;
        animation: gradientsmooAnimation 10s ease infinite !important;
    }

 
body.smoothbgblack {
    background: linear-gradient(-45deg, #000000, #1a1a1a, #2c2c2c, #000000) !important;
    background-size: 400% 400% !important;
    animation: gradientsmooAnimation 10s ease infinite !important;
}





/* Toast notification – centered & bigger */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    animation: fadeInOut 0.5s ease;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    min-width: 320px;
    max-width: 500px;
    line-height: 1.4;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-notification.success {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-left: none;
}

.toast-notification.error {
    background: linear-gradient(135deg, #f44336, #c62828);
    border-left: none;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}