/* style.css for Creative Rising Minds - Dark Mode with Sticky Navbar and Language Switcher */

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
  border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #888;
}

/* Reset & base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

#language-select {
  padding: 6px 12px;
  font-size: 1rem;
  border-radius: 5px;
  background-color: #2c2c2c;
  color: #fff;
  border: 1px solid #444;
  cursor: pointer;
  transition: background 0.3s ease;
}

#language-select:hover {
  background-color: #3a3a3a;
}

#language-select:focus {
  outline: none;
  border-color: #ff6a00;
}

/* Hero Banner */
.banner {
  text-align: center;
  padding: 15px 10px 65px 10px;
  background: linear-gradient(135deg, #1f0036, #3a0ca3, #5f0f40);
  color: white;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.color-changing {
  animation: colorCycle 3s infinite alternate;
}

@keyframes colorCycle {
  0%   { color: ghostwhite; }
  50%  { color: white; }
  100% { color: gray; }
}

section {
  padding: 60px 20px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

/* Indicator cards */
#indicators {
  text-align: center;
}

.indicator-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Base card style */
.card {
  padding: 20px;
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  color: #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Unique gradients */
.card.trend-analyser {
  background: linear-gradient(135deg, #043927, #56ab2f);
}
.card.demand-supply {
  background: linear-gradient(135deg, #7f6a00, #f5af19);
}
.card.stock-screener {
  background: linear-gradient(135deg, #b31217, #430606);
}

/* Hover animation */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Card headings */
.card h3 {
  margin-top: 0;
}

/* Card button */
.card-link {
  display: inline-block;
  margin-top: 10px;
  background: #1976d2;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-link:hover {
  background: #145ea8;
}

/* Pricing section */
.table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #1e1e1e00;
  color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border-radius: 0px;
  overflow: hidden;
  justify-content: center;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #c2b5b5;
  padding: 12px 26px;
  text-align: center;
}

.pricing-table th {
  background-color: #2c2c2c00;
  font-weight: bold;
  color: #ffffff;
}

/* Contact section */
#contact {
  text-align: center;
  background: linear-gradient(135deg, #1f0036, #3a0ca3, #5f0f40);
  padding: 60px 20px;
  color: #e0e0e0;
  border-top: 2px solid #444;
}

#contact h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

#contact p {
  font-size: 1.1rem;
  margin: 6px 0;
}

#contact a {
  color: #90caf9;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

.upi-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 0 5%;
}

.upi-text {
  max-width: 300px;
  text-align: left;
}

.upi-text h4 {
  color: #ffcc00;
  margin-bottom: 5px;
}

.upi-text p span {
  font-weight: bold;
  font-size: 1.2rem;
}

.qr-img {
  max-width: 280px;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
}

/* Footer */
footer {
  background-color: #1e1e1e;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 4px solid #ff9800;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
}

.carousel iframe {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 300px;
  height: 180px;
  border: none;
  border-radius: 10px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left .brand-name {
  text-decoration: none;
  color: inherit;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.group-discount {
  text-align: center;
  margin-top: 2rem;
}

.group-discount h3 {
  color: #ff69b4;
  font-size: 1.5rem;
}

.group-discount p {
  margin: 0.3rem;
  font-weight: bold;
}

.group-discount .green {
  color: #00ff99;
}

.content-box {
  background-color: #4ccc53;
  color: #222;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 10px;
}

.content-box p {
  margin-top: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.content-box .card-link {
  display: inline-block;
  margin-top: 15px;
  background: #1976d2;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.content-box .card-link:hover {
  background: #145ea8;
}

/* Remove default browser margin/padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  text-align: right;
  padding-right: 8%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-bottom: 85px;
}

.cta {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.cta.primary {
  background: #00000000;
  color: #fff;
  border: 1px solid #fff;
  transition: color 0.1s, font-weight 0.1s;
}

.cta.primary:hover {
  background: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

.cta.secondary {
  background: #00000000;
  color: #fff;
  border: 1px solid #fff;
  transition: color 0.1s, font-weight 0.1s;
}

.cta.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

/* Navbar - modern look */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 3;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-right a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s;
}

.nav-right a:hover {
  color: #ff6a00;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 5px;
  border: 1px solid white;
}

#ytvideos {
  text-align: center;
  justify-items: center;
}

a.indicator-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.1s, font-weight 0.1s;
}

a.indicator-link:hover {
  color: #00ff22;
  font-weight: bold;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.logo {
  height: 50px;
  border-radius: 10px;
  border-color: white;
}

.brand-name {
  font-size: 26px;
  font-family: 'Times New Roman', serif;
}

/* Mobile layout */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-left {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .nav-right {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-right a {
    display: block;
    width: auto;
    text-align: center;
    padding: 5px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .language-switcher {
    margin: 5px 0;
    width: auto;
  }

  .hero-content {
    margin-top: -30px;
  }
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}
.card-link {
    cursor: pointer;
    /* Add any existing styles for the "Learn More" button */
}