/* --- Global Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
    background: radial-gradient(
      circle at 50% -20%,
      #4d37b3 0%,     /* Purple glow */
      #2d224f 25%,    /* Dark mix */
      #1a1d20 55%,    /* Header/QuickLine merge zone */
      #000000 100%    /* Bottom pure black */
  );
  color: rgb(255, 255, 255);
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  min-height: 200vh;
  
}

img {
   @keyframes fadeIn {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }     
      justify-items: center;
    }

/* --- Header --- */
header {
  background-color: #1a1d20;   /* Dark grey-black blend */
  color: white;
  padding: 20px;
  font-size: 40px;
  font-weight: bold;
}

.quick-line-bar {
  width: 100%;
  overflow: hidden;
 background: linear-gradient(
      to bottom,
      #1a1d20 0%,     /* Header color */
      #1a1d20 30%,    /* Smooth start */
      #2d224f 70%,    /* Body gradient mid-color */
      #4d37b3 100%    /* Final black blend */
  );
  border-top: 1px solid rgba(123,225,255,0.2);
  padding: 10px 0;
  position: relative;
}


.quick-line-track{
  display: inline-block;
  white-space: nowrap;
  animation: scrollLine 20s linear infinite;
}

.quick-line-track a{
  display: inline-block;
  margin: 0 25px;
  text-decoration: none;
  color: #e6eef8;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.quick-line-track a:hover{
  color: var(--accent);
  text-decoration: underline;
}

/* ✅ Running Animation */
@keyframes scrollLine{
  from{
    transform: translateX(0%);
  }
  to{
    transform: translateX(-50%);
  }
}


/* --- Logo Animation --- */
.circle-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2980b9;
  position: absolute;
  top: 10px;
  left: 10px;
  animation: moveLogo 3s ease-in-out forwards;
}

@keyframes moveLogo {
  0% { transform: translateY(600px); opacity: 0; }
  40% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); }
}

/* --- Poster Section --- */
.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  width: 1000px;
}

.poster img {
  max-width: 40%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* --- Card Container --- */
.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two cards per row on desktop */
  gap: 25px;
  max-width: 1000px;
  padding: 20px;
  margin: 0 auto;
  justify-items: center;
}

/* --- Feature Cards --- */
.feature-card {
  position: relative;
  border-radius: 15px;
  text-align: left;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 180px; /* slightly taller to balance larger image */
  max-width: 450px;
  overflow: visible; /* ensures image is fully visible outside */
}

.feature-card img {
  position: absolute;
  bottom: -25px; /* image slightly outside the card */
  right: -25px;
  width: 180px; /* increased image size */
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, bottom 0.3s ease, right 0.3s ease;
  z-index: 1;
}

.feature-card:hover img {
  transform: scale(1.1);
  bottom: -30px;
  right: -30px;
}

.feature-card p {
  font-weight: bold;
  font-size: 18px;
  z-index: 2;
}

.feature-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}



/* --- Category Colors --- */
.highlight { background-color: #ffa5a5; }
.anime     { background-color: #ea75ff; }
.debate    { background-color: #ffc876; }
.liveclasses     { background-color: #76f37a; }
.tech      { background-color: #85c8ff; }
.english   { background-color: #ff857c; }
.solutions { background-color: #00e1ff; }
.affairs   { background-color: #6b81ff; }
.future    { background-color: #13ffe7; }
.artist    { background-color: #ffd24a; color: black; }
.game    { background-color: #d43f3f; }

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr; /* one card per line on phone */
  }
  .feature-card {
    max-width: 100%;
    height: 100px;
  }
  .feature-card img {
    width: 100px;
    height: 100px;
  }
}

/* --- Donate Button --- */
.donate-btn {
  background: wheat;
  color: black;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 0, 100, 0.3);
}

.donate-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(255, 0, 100, 0.5);
}






/* ===== OUR REACH ===== */
.our-reach {
  text-align: center;
  background-color: #135bac;
  padding: 80px 20px;
}

.our-reach h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
}

.reach-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-box {
  background-color: #135bac;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.08);
  width: 200px;
  padding: 25px 20px;
  transition: transform 0.3s ease;
  border: 2px solid white;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.stat-box p {
  color: #333;
  font-size: 1rem;
}

.testimonials-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #eaf1ff;
}

.testimonials-section h2 {
  color: #012f6b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.6s ease-in-out;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  background-color: #dce8ff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 25px;
  text-align: left;
  position: relative;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-card h3 {
  color: #012f6b;
  font-size: 1rem;
  margin-bottom: 3px;
}

.testimonial-card p {
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.5;
  font-size: 0.9rem;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #012f6b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s;
  opacity: 0.85;
}

.nav-arrow:hover {
  background-color: #004aad;
  opacity: 1;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* --- Scroll Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.img-wrap {
    width: 50%;
    max-width: 450px; /* चाहो तो container max width रखो */
    margin: 0 auto;
    aspect-ratio: 16/9; /* modern browsers में काम करेगा */
    overflow: hidden;
    border: 2px solid white;
  }
  .img-wrap {
    width: 100%;
    height: 100%;
    object-fit: cover; /* या contain */
    display: block;
}
h1 {
  font-size: 48px;
  font-family: 'montserrat', 'Segoe UI', sans-serif;
  line-height: 1;
}

.carousel {
  background-color: #0c1201;
  padding: 40px 25px;
  
}

 .video-box{
  width:100%;              /* mobile ke liye full width */
  max-width:480px;         /* desktop par limit */
  margin:20px auto;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
}

video{
  width:100%;
  height:auto;
  display:block;
}


  * Section */
.section {
  margin: 50px auto;
  width: 90%;
  max-width: 1000px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 20px cyan;
}

.section h2 {
  color: cyan;
  margin-bottom: 20px;
}

/* Scroll Container */
.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto;
  cursor: grab;
  padding-bottom: 15px;
  user-select: none;
}

.scroll-container:active {
  cursor: grabbing;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Poster Items */
.scroll-item {
  flex: 0 0 auto;
  width: 140px;         /* Poster width */
  height: 200px;        /* Poster height */
  border-radius: 10px;
  overflow: hidden;     /* Image clean round */
  background: #000;     /* Backup color */
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
  transition: 0.3s;
}

.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Image bilkul poster jaisa fit hoga */
}

.scroll-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px cyan;
}

.platinum-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600px;
  background: linear-gradient(to right, #d7d7d7, #ffffff, #a1a1a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}







/* ===== ABHAY 3D ROTATION SLIDER (6 IMAGES, CENTERED) ===== */

.abhay-3d-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically if needed */
  margin: 80px 0;
  perspective: 1200px;
}

.abhay-3d-carousel {
  position: relative;
  width: 260px;   /* desktop size */
  height: 300px;
  transform-style: preserve-3d;
  animation: abhayRotate 18s infinite linear;
  margin: 0 auto;   /* ensure carousel is centered */
}

.abhay-3d-item {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(360px); /* 6 images → 60deg each */
}

.abhay-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: 0.3s;
}

.abhay-3d-item img:hover {
  transform: scale(1.1);
}

@keyframes abhayRotate {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* Tablet / small screens */
@media(max-width: 600px) {
  .abhay-3d-carousel {
    width: 180px;
    height: 220px;
  }

  .abhay-3d-item {
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(240px);
  }
}

/* Pocket / passport size */
@media(max-width: 480px) {
  .abhay-3d-carousel {
    width: 140px;
    height: 160px;
  }

  .abhay-3d-item {
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(180px);
  }

  .abhay-3d-item img {
    border-radius: 12px;
  }
}



.site-footer{
  background:#0b0f1a;
  color:#e5e7eb;
  padding:50px 20px 25px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:35px;
  max-width:1200px;
  margin:auto;
}

.footer-section h3{
  font-size:15px;
  margin-bottom:14px;
  text-transform:uppercase;
  color:#a78bfa;
}

.footer-section h3 i{
  margin-right:8px;
}

.footer-section ul{
  list-style:none;
  padding:0;
}

.footer-section ul li{
  margin-bottom:10px;
  font-size:14px;
  opacity:.9;
}

.footer-section ul li i{
  margin-right:8px;
  color:#a78bfa;
}

.footer-section a{
  color:#e5e7eb;
  text-decoration:none;
  transition:.25s;
}

.footer-section a:hover{
  color:#a78bfa;
}

.footer-section p{
  font-size:14px;
  line-height:1.7;
  opacity:.85;
}

.social-links{
  display:flex;
  gap:14px;
}

.social-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* agar circle chahiye */
  background: #111827; /* optional */
  padding: 8px; /* optional, image ke andar space ke liye */
  transition: transform 0.3s;
}

.social-logo:hover {
  transform: translateY(-3px);
  cursor: pointer;
}

.footer-bottom{
  text-align:center;
  margin-top:40px;
  font-size:13px;
  opacity:.6;
}


/* top reach button */
#scrollTopBtn{
  position:fixed;
  bottom:50px;
  right:20px;
  width:50px;
  height:50px;
  border-radius:50%;
  border:none;
  background:#2563eb;       /* change color here */
  color:#fff;
  font-size:22px;
  cursor:pointer;
  display:none;             /* hidden initially */
  box-shadow:0 8px 20px rgba(0,0,0,.35);
  z-index:1000;
}

/* hover effect (desktop) */
#scrollTopBtn:hover{
  background:#1e40af;
}

