/* ============================================
   PORTFOLIO STYLESHEET - INCUBATION PLUS HUB
   ============================================ */

/* ---- Base Styles & Variables ---- */
:root {
  --primary-black: #121212;
  --primary-color: #ffc107; /* Lime yellow */
  --primary-yellow: #ffb100;
  --primary-dark: #ffc107; /* Darker yellow for hover states */
  --secondary-color: #111111; /* Deep black */
  --text-white: #ffffff; /* White text */
  --accent-color: #e8e848; 
  --gray-light: #f5f5f5;
  --gray-dark: #333333;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
  --border-radius: 8px;
}

/* ---- Reset & Global Styles ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--primary-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.nav-body {
  position: relative;
  width: 100%;
  background-color: var(--primary-black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-yellow);
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: visible !important;
}

section {
  padding: 5rem 0;
}

/* Animated Background Elements */

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
  max-width: 100vw;
  overflow-x: hidden;
}

.bg-animation span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  animation: move 25s linear infinite;
  border-radius: 50%;
}

.bg-animation span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-duration: 15s;
}

.bg-animation span:nth-child(2) {
  top: 70%;
  left: 30%;
  width: 40px;
  height: 40px;
  animation-duration: 25s;
}

.bg-animation span:nth-child(3) {
  top: 30%;
  left: 60%;
  width: 30px;
  height: 30px;
  animation-duration: 20s;
}

.bg-animation span:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-duration: 18s;
}

@keyframes move {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-1000px) translateX(500px) rotate(360deg);
    opacity: 0;
  }
}

/* ---- Navbar Styles ---- */
/* ==========================================




     NAVBAR STYLES
     ========================================== */
/* Navbar Core Styles */

/* ---- Header Styles ---- */
.portfolio-header {
  background: linear-gradient(
      to right,
      var(--secondary-color),
      rgba(17, 17, 17, 0.9)
    ),
    url("./assets/images/bg-pattern.png");
  background-size: cover;
  background-position: center;
  padding: 12rem 0 6rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.portfolio-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(205, 220, 57, 0.03) 10px,
    rgba(205, 220, 57, 0.03) 20px
  );
}

.portfolio-header h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: fadeInUp 1s ease-in-out;
  text-align: center;
}

.portfolio-header .lead {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-in-out 0.2s both;
}

/* ---- Mission Statement ---- */
.lead.text-center {
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  padding: 2rem 0;
}

.lead.text-center::before,
.lead.text-center::after {
  content: '"';
  font-size: 6rem;
  position: absolute;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.lead.text-center::before {
  top: -20px;
  left: 0;
}

.lead.text-center::after {
  bottom: -70px;
  right: 0;
}

/* ---- Stats Container ---- */
.stats-container {
  background-color: rgba(17, 17, 17, 0.8);
  border-radius: var(--border-radius);
  margin: 2rem 0 4rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(205, 220, 57, 0.1);
  position: relative;
  z-index: 1;
}

.stats-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(205, 220, 57, 0.05), transparent);
  z-index: -1;
  border-radius: var(--border-radius);
}

.impact-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.impact-stat::after {
  content: "";
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.impact-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
}

/* Counter Animation */
.counter {
  display: inline-block;
  animation: countUp 2.5s ease-out forwards;
  opacity: 0;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Section Titles ---- */
.section-title {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 2.5rem;
}

.section-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    width: 40px;
  }
  50% {
    opacity: 0.5;
    width: 60px;
  }
  100% {
    opacity: 1;
    width: 40px;
  }
}

/* ---- Portfolio Cards ---- */
.portfolio-card {
  background-color: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--box-shadow);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(205, 220, 57, 0.2);
}

.portfolio-card .card-img-top {
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-card:hover .card-img-top {
  transform: scale(1.05);
}

.portfolio-card .card-body {
  padding: 1.5rem;
  position: relative;
}

.project-duration {
  position: absolute;
  top: -15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-card .card-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
}

.portfolio-card .card-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.badge.bg-success {
  background-color: var(--accent-color) !important;
  color: var(--secondary-color);
}

.btn-view {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
  border: none;
}

.btn-view:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ---- Startups Section ---- */
#startups {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

#startups::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/images/dot-pattern.png");
  opacity: 0.05;
  z-index: -1;
}

.heading-2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.startup-card {
  background-color: rgba(25, 25, 25, 0.9);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  height: 100%;
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.startup-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(205, 220, 57, 0.1);
}

.startup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  transition: var(--transition);
}

.startup-card:hover::before {
  width: 100%;
}

.startup-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  color: var(--secondary-color);
  font-size: 1.8rem;
}

.startup-icon.finance {
  background: linear-gradient(135deg, #ff9800, #ff5722);
}

.startup-icon.agriculture {
  background: linear-gradient(135deg, #8bc34a, #4caf50);
}

.startup-icon.logistics {
  background: linear-gradient(135deg, #03a9f4, #2196f3);
}

.startup-icon.health {
  background: linear-gradient(135deg, #e91e63, #9c27b0);
}

.startup-icon.education {
  background: linear-gradient(135deg, #ffc107, #ff9800);
}

.startup-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

.startup-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  background-color: rgba(255, 252, 252, 0.858);
  padding: 0.75rem;
}

.heading-3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.startup-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.startup-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.startup-meta span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.startup-meta span i {
  color: var(--primary-color);
  margin-right: 0.35rem;
}

.btn-link {
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-link i {
  transition: var(--transition);
  margin-left: 0.35rem;
}

.btn-link:hover {
  color: #ffffff;
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* ---- Success Metrics Section ---- */
.bg-light {
  background-color: rgba(20, 20, 20, 0.7) !important;
}

.progress {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0) 75%,
    rgba(255, 255, 255, 0.2) 75%
  );
  background-size: 25px 25px;
  animation: progress-animation 2s linear infinite;
}

@keyframes progress-animation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stats-item {
  background-color: rgba(25, 25, 25, 0.9);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(205, 220, 57, 0.1);
}

.stats-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* ---- Media Section ---- */
.media-section {
  padding: 5rem 0;
  background: linear-gradient(
      to right,
      rgba(17, 17, 17, 0.9),
      rgba(17, 17, 17, 0.8)
    ),
    url("./assets/images/pattern-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.media-card {
  background-color: rgba(25, 25, 25, 0.9);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.media-card:hover {
  border-color: rgba(205, 220, 57, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.media-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.media-card i {
  color: var(--primary-color);
}

/* ---- Call to Action ---- */
.btn-lg {
  padding: 1rem 2.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-yellow);
  color: var(--primary-black);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-black);
  color: var(--text-white);
}

/* ---- Animation Keyframes ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- AOS Integration ---- */
[data-aos="custom-fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="custom-fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsiveness ---- */
@media (max-width: 1199.98px) {
  .portfolio-header h1 {
    font-size: 3.5rem;
  }

  .impact-stat {
    font-size: 2.2rem;
  }
}

@media (max-width: 991.98px) {
  .portfolio-header {
    padding: 10rem 0 5rem;
  }

  .portfolio-header h1 {
    font-size: 3rem;
  }

  .lead {
    font-size: 1.2rem;
  }

  .impact-stat {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .portfolio-header {
    padding: 8rem 0 4rem;
  }

  .portfolio-header h1 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .stats-container {
    padding: 1.5rem;
  }

  .impact-stat {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .media-section .row {
    flex-direction: column-reverse;
  }

  .media-section .col-md-6:first-child {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-header h1 {
    font-size: 2.2rem;
  }

  .impact-stat {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .heading-2 {
    font-size: 2rem;
  }
}

/* ---- Additional Animation Elements ---- */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
