﻿/* Categories page */

/* Base Layout & Fonts */
body.hero-section {
  background-color: #f3f2ee;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #111111;
  min-height: 100vh;
  margin: 0;
}


/* Main Headline Typography */
.main-heading {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: -2px;
  line-height: 1.02;
  color: #000000;
}

/* Big Bulb Icon Box (Scaled to SS) */
.idea-icon-space {
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.idea-icon-space img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Paragraph Subtitle */
.hero-description {
  font-size: 0.98rem;
  color: #333333;
  line-height: 1.5;
  font-weight: 400;
  max-width: 760px;
}


/* cards */


/* Base Styling */
body {
  background-color: #f3f2ee;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #111111;
}

/* Main Top Featured Card Container */
.main-featured-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.featured-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #000000;
}

.featured-text {
  color: #444444;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 480px;
}

/* Category Pills (Red Dot) */
.custom-badge {
  background-color: #2b2b2b;
  color: #e0e0e0;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.custom-badge:hover {
  background-color: #111111;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(234, 51, 45, 0.18);
}

.custom-badge .dot {
  width: 6px;
  height: 6px;
  background-color: #ea332d;
  border-radius: 50%;
  display: inline-block;
}

/* Big Image Wrapper & Zoom Hover */
.big-img-wrapper {
  border-radius: 18px;
  overflow: hidden;
  height: 260px;
  background-color: #f3f2ee;
}

.big-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.big-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Floating Arrow Icon Button on Big Image */
.arrow-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.arrow-overlay-btn:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* 4 Small Images Grid & Hover */
.small-img-wrapper {
  border-radius: 14px;
  overflow: hidden;
  height: 110px;
  background-color: #f3f2ee;
  text-decoration: none;
}

.small-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.small-img-wrapper:hover img {
  transform: scale(1.08);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .big-img-wrapper {
    height: 200px;
  }
}



/* slider coursal of line images slides */



body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f6f5f0;
}

.ticker-section {
  width: 100%;
  background-color: #f6f5f0;
}

/* Wrapper to hide scrollbars */
.ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

/* Flex Track for Infinite Animation */
.ticker-track {
  display: flex;
  align-items: center;
  gap: 35px;
  white-space: nowrap;
  width: max-content;
}

/* Ticker Single Item Style */
.ticker-item {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 2.5rem;
  font-weight: 600;
  color: #111111;
  letter-spacing: -1px;
}

/* Rounded Capsule Pill Image Box */
.pill-img-box {
  width: 110px;
  height: 50px;
  border-radius: 50px;
  overflow: hidden;
  display: inline-flex; /* Changed to inline-flex for perfect centering */
  align-items: center;
  justify-content: center;
  background-color: transparent; /* Removed dark background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pill-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Fixes inline alignment gaps */
}

/* =====================================
   INFINITE ANIMATIONS
======================================== */

/* Top Line: Right to Left */
.slide-left {
  animation: marqueeLeft 20s linear infinite;
}

/* Bottom Line: Left to Right */
.slide-right {
  animation: marqueeRight 20s linear infinite;
}

@keyframes marqueeLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Pause animation on hover if desired */
.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}



