@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,500;0,600;0,700;1,200&display=swap");

:root {
  --bg-color: #e3edf7;
  --primary: rgb(0, 255, 13);
  --danger: rgb(255, 68, 99);
  --text-muted: #888;
  --border-color: #eee;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-color);
}

a {
  text-decoration: none;
  color: var(--danger);
}

/* Header */
header {
  height: 80px;
  position: fixed;
  padding: 15px 8%;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(0, 0, 0);
  z-index: 100;
  transition: 0.3s;
}

header .logo {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 80px;
  width: 100px;
  border-radius: 50%;
}

header span {
  background: rgb(255, 251, 0);
  -webkit-background-clip: text;
  color: transparent;
}

header .navlist {
  display: flex;
}

.navlist li {
  margin: 0 1rem;
}

.navlist li a {
  display: inline-flex;
  font-weight: 600;
  color: white;
  transition: 0.3s;
}

.navlist li a:hover,
.navlist li a.active {
  background: var(--primary);
  -webkit-background-clip: text;
  color: transparent;
}

.right-header {
  display: flex;
  align-items: center;
  justify-content: end;
  grid-gap: 0.8rem;
}

.btn {
  background: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 13, 0.3);
}

.menu-icon {
  position: relative;
  display: block;
  height: 30px;
  width: 30px;
  cursor: pointer;
  /* background-color: blue; */
}

.menu-icon .bar,
.menu-icon::after,
.menu-icon::before {
  content: "";
  display: none;
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: rgb(255, 251, 0);
  margin: 6px 0;
  transition: 0.4s;
}
.menu-icon.active::before {
  transform: rotate(-45deg) translate(-6px, 6px);
}
.menu-icon.active::after {
  transform: rotate(45deg) translate(-8px, -8px);
}
.menu-icon.active .bar {
  opacity: 0;
}

/* General Sections */
section {
  padding: 90px 5%;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Home Section */
.home-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  gap: 50px;
    background-image: linear-gradient(rgba(248, 255, 110, 0.321), rgba(234, 255, 71, 0.348)), url('/buying-stocks-tablet.jpg');
    background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates a slight parallax effect */
}

/* Left Side: Text Container */
.home-text {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  animation: slideRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateX(-40px);
  perspective: 1000px; /* Prepares container for 3D children */
}

/* Right Side: Image Container */
.home-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateX(40px);
  /* 3D Perspective Setup */
  perspective: 1000px;
}

/* The 3D Image */
.home-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 13, 0.1);
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.5s ease;
  transform-style: preserve-3d;
  /* Base floating animation */
  animation: float3D 6s ease-in-out infinite alternate;
  border: 1px solid rgba(0, 255, 13, 0.2);
}

/* 3D Hover Effect on Image */
.home-img img:hover {
  /* Tilts the image toward the user on the Y and X axis */
  transform: rotateY(-15deg) rotateX(10deg) scale(1.05) translateZ(20px);
  box-shadow:
    -20px 30px 50px rgba(0, 0, 0, 0.8),
    /* Deep drop shadow */ 0 0 40px rgba(0, 255, 13, 0.4); /* Glowing green edge */
  animation-play-state: paused; /* Stops floating when hovered */
  cursor: pointer;
}

/* Floating 3D Keyframe */
@keyframes float3D {
  0% {
    transform: translateY(0px) rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: translateY(-20px) rotateY(-5deg) rotateX(2deg);
  }
}

/* Hero Headline */
.home-text h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.home-text h1 .highlight {
  color: #00ff0d;
  text-shadow: 0 0 20px rgba(0, 255, 13, 0.3);
}

/* Supporting Paragraph */
.home-text p {
  font-size: 1.15rem;
  color: #00ff0d;
  line-height: 1.6;
  margin-bottom: 35px;
  font-weight: 300;
}

/* Modern 3D CTA Button */
.home-text .Hbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00ff0d;
  color: #000000;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  /* 3D Button Base Shadow */
  box-shadow:
    0 8px 0 #00cc0a,
    0 15px 25px rgba(0, 255, 13, 0.2);
  transform: translateY(0);
}

/* 3D Button Press Effect */
.home-text .Hbtn:hover {
  transform: translateY(4px);
  box-shadow:
    0 4px 0 #00cc0a,
    0 10px 15px rgba(0, 255, 13, 0.4);
  background: #00e60b;
}

.home-text .Hbtn:active {
  transform: translateY(8px);
  box-shadow:
    0 0 0 #00cc0a,
    0 5px 10px rgba(0, 255, 13, 0.4);
}

.home-text .Hbtn i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.home-text .Hbtn:hover i {
  transform: scale(1.1);
}

/* Entry Keyframe Animations */
@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-text h1 {
    font-size: 2.8rem;
  }
  .home-text p {
    font-size: 1.05rem;
  }
  .home-img img {
    max-width: 500px;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .home-split {
    flex-direction: column;
    text-align: center;
    padding: 120px 5% 50px;
    justify-content: center;
  }

  .home-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-text h1 {
    font-size: 2.4rem;
  }
  .home-text p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .home-img {
    margin-top: 30px;
    perspective: 800px;
  }

  /* Reduced 3D effect on mobile for better fit */
  .home-img img:hover {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
  }
}

@media (max-width: 480px) {
  .home-text h1 {
    font-size: 2rem;
  }
  .home-text .Hbtn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}
/* IPO Section & Typography */
h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
}

.features .subtitle {
  color: #555;
  margin-bottom: 40px;
}

/* Search Bar */
.search-wrapper {
  margin-bottom: 25px;
}
#search {
  padding: 12px 20px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
  transition: 0.3s;
}
#search:focus {
  box-shadow: 0 0 10px rgba(0, 255, 13, 0.2);
  border-color: var(--primary);
}

/* Table */
.table-box {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}
table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
th {
  text-align: right;
  padding: 15px;
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
}
th:first-child,
td:first-child {
  text-align: left;
}
td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  text-align: right;
  color: #444;
}
tr:hover {
  background-color: #f8fff9;
}
.green {
  color: #15803d;
  font-weight: bold;
}
.red {
  color: var(--danger);
  font-weight: bold;
}

/* Pagination */
#pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
#pagination button {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 600;
}
#pagination button:hover {
  background: #f1f1f1;
}
#pagination button.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Product Section */
.product-section {
  background: #0d0d0d;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.productcard {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: 0.4s;
  border: 1px solid #1f3b26;
}
.productcard:hover {
  transform: translateY(-8px);
  border-color: gold;
}
.product-visual {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}
.product-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.1),
    rgba(13, 13, 13, 0.9)
  );
  transition: 0.3s;
}
.productcard:hover .product-overlay {
  opacity: 0.5;
}
.product-bar {
  background-color: #0b2e19;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 2px solid gold;
}
.product-text {
  color: gold;
  font-weight: 600;
  font-size: 15px;
}
.product-icon {
  color: gold;
  transition: 0.3s;
}
.productcard:hover .product-icon {
  transform: translateX(5px);
}

/* Features */
.features {
  background: white;
}
.features h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}
.features h2 span {
  color: #f4b400;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  transition: 0.3s;
  border-left: 5px solid #2e7d32;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.icon {
  font-size: 35px;
  margin-bottom: 15px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}
.card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #111;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("/logo.png");
  background-size: cover;
  background-position: center;
  color: #ccc;
  padding: 70px 5% 20px;
  font-size: 14px;
}
footer .row {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.col {
  flex: 1;
  min-width: 220px;
}
.footer_logo {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}
.col h3 {
  margin-bottom: 25px;
  position: relative;
  color: white;
  font-size: 1.2rem;
}
.col p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.col ul li {
  margin-bottom: 12px;
}
.col ul li a {
  color: #ccc;
  transition: 0.3s;
}
.col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Social Media */
.social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-media a {
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  border-radius: 50%;
  background: #222;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  color: white;
}
.social-media a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}
.social-media #inst:hover {
  background-color: #e1306c;
}
.social-media #what:hover {
  background-color: #25d366;
}
.social-media #fb:hover {
  background-color: #1877f2;
}

/* Footer Animation */
.bottom_line {
  width: 50px;
  height: 3px;
  background: var(--danger);
  border-radius: 3px;
  position: absolute;
  top: 30px;
  left: 0;
  overflow: hidden;
}
.bottom_line span {
  width: 15px;
  height: 100%;
  background: white;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moveline 2s linear infinite;
}
@keyframes moveline {
  0% {
    left: -20px;
  }
  100% {
    left: 100%;
  }
}

footer hr {
  margin: 40px auto 20px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  padding-bottom: 10px;
  color: #888;
}

