/*
  Incubation Plus Hub - Professional Service Page CSS
  Color Scheme: Deep Black, Yellow, and White
  Features: Fully responsive, animated elements, modern design
*/

/* Global Styles & Variables */
:root {
  --black: #121212;
  --dark-black: #0a0a0a;
  --yellow: #ffc107;
  --yellow-hover: #ffb100;
  --light-yellow: rgba(255, 209, 0, 0.1);
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --dark-gray: #333333;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.body {
  background-color: var(--black);
}

.nav-body {
  position: relative;
  width: 100%;
  background-color: var(--black);
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--yellow-hover);
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  padding: 0 15px;
}

/* ==========================================
     NAVBAR STYLES
     ========================================== */
/* Navbar Core Styles */
.navbar {
  position: fixed; /* Ensure it stays fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* High z-index to ensure it stays on top */
  background-color: var(--secondary-black) !important;
  pointer-events: auto;
  padding: 0.75rem 0;
  transition: all var(--transition-medium);
  border-bottom: 1px solid rgba(255, 209, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand,
.nav-link,
.navbar-toggler,
.dropdown-toggle,
.dropdown-item {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

/* Logo Styles */
.navbar-brand img {
  max-height: 45px;
  transition: transform var(--transition-fast);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Desktop Navigation Styles */
.nav-link {
  color: var(--text-white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 1rem;
  bottom: 0.3rem;
  background-color: var(--primary-yellow);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-yellow) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  background-color: var(--secondary-black) !important;
  border-radius: 0.25rem !important;
  animation: fadeIn 0.3s ease forwards;
  margin-top: 0.5rem;
  border: none;
  z-index: 1031; /* Higher than navbar */
  pointer-events: auto;
}

.dropdown-item {
  color: var(--text-white) !important;
  padding: 0.75rem 1.5rem !important;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: black;
  color: var(--primary-yellow) !important;
  transform: translateX(5px);
}

/* Mobile Toggle Button */
.navbar-toggler {
  border: none !important;
  padding: 0.5rem !important;
  margin-right: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 209, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Offcanvas Menu */
.offcanvas {
  z-index: 1041;
  background-color: var(--secondary-black) !important;
  width: 280px !important;
  pointer-events: auto;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 209, 0, 0.1);
  padding: 1rem;
}

.offcanvas-title img {
  max-height: 40px;
}

.btn-close {
  background-color: var(--primary-yellow) !important;
  opacity: 1;
}

.offcanvas-body {
  padding: 1.5rem 1rem;
}

.offcanvas-body .nav-link {
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid rgba(255, 209, 0, 0.05);
}

.offcanvas-body .nav-link::after {
  display: none;
}

.offcanvas-body .dropdown-menu {
  background-color: transparent !important;
  padding-left: 1rem;
  margin-top: 0;
  box-shadow: none;
}

.offcanvas-body .dropdown-item {
  padding: 0.5rem 0 !important;
  font-size: 0.9rem;
}

/* Social Media Icons in Mobile Menu */
.offcanvas-body .mt-4 a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.offcanvas-body .mt-4 a:hover {
  background-color: rgba(255, 209, 0, 0.2);
  transform: translateY(-3px);
}

/* Contact Info */
.offcanvas-body .small {
  color: var(--text-white);
  opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
    z-index: 10;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  /* Offcanvas animation */
  .offcanvas {
    transition: transform 0.3s ease-in-out;
  }

  /* Fix for dropdown items in mobile view */
  .offcanvas-body .dropdown-menu.show {
    display: block;
  }
}

/* Animation for dropdown menu appearance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hero Section */
.hero-section {
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--dark-black) 0%, var(--black) 100%);
  overflow: hidden;
  padding-top: 80px;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(255, 209, 0, 0.05) 0%,
    transparent 50%
  );
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-section h1::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 4px;
  background-color: var(--yellow);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-gray);
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 209, 0, 0.3);
  transition: var(--transition);
}

.hero-icon:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
  box-shadow: 0 10px 20px rgba(255, 209, 0, 0.2);
}

.hero-icon i {
  font-size: 1.75rem;
  color: var(--yellow);
  position: relative;
  z-index: 2;
}

.hero-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--yellow);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.hero-icon:hover::before {
  width: 100%;
  height: 100%;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  position: relative;
  background-color: var(--black);
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 209, 0, 0.07) 0%,
    transparent 70%
  );
  z-index: 0;
  border-radius: 50%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 4px;
  background-color: var(--yellow);
  bottom: -10px;
  left: 15%;
}

.section-title p {
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.service-card {
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 209, 0, 0.1);
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 209, 0, 0.1);
  border-color: rgba(255, 209, 0, 0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--yellow);
  transition: height 0.5s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 209, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(360deg);
  background-color: var(--yellow);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--yellow);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--black);
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0;
  color: var(--white);
  position: relative;
}

.service-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.service-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(18, 18, 18, 0.8));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-img::before {
  opacity: 1;
}

.service-card p {
  color: var(--light-gray);
  margin-bottom: 25px;
  line-height: 1.7;
}

.quote-box {
  background-color: rgba(255, 209, 0, 0.08);
  border-left: 4px solid var(--yellow);
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quote-box p {
  font-style: italic;
  color: var(--white);
  margin-bottom: 0;
}

.service-card h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 20px;
}

.service-card h4 i {
  color: var(--yellow);
  margin-right: 10px;
}

.service-list {
  margin-bottom: 30px;
}

.service-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--light-gray);
  transition: var(--transition);
}

.service-list li:hover {
  color: var(--white);
  transform: translateX(5px);
}

.service-list li i {
  color: var(--yellow);
  position: absolute;
  left: 0;
  top: 5px;
}

.results-box {
  background-color: rgba(20, 20, 20, 0.5);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-top: 30px;
  border: 1px solid rgba(255, 209, 0, 0.1);
}

.results-box h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 15px;
}

.results-box h4 i {
  color: var(--yellow);
  margin-right: 10px;
}

.results-box p {
  margin-bottom: 0;
  color: var(--light-gray);
}

/* Co-Work Space Gallery */
.co-work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.gallery-caption i {
  color: var(--yellow);
  margin-right: 10px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
      135deg,
      rgba(18, 18, 18, 0.9) 0%,
      rgba(10, 10, 10, 0.95) 100%
    ),
    url("/api/placeholder/1920/500") center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 209, 0, 0.15) 0%,
    transparent 70%
  );
  top: -150px;
  right: -150px;
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 209, 0, 0.1) 0%,
    transparent 70%
  );
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
}

.cta-section h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--light-gray);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--black) !important;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(255, 209, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 209, 0, 0.3);
}

.cta-button i {
  margin-right: 10px;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

/* Footer */
footer {
  background-color: var(--dark-black);
  padding: 60px 0 30px;
  position: relative;
  border-top: 1px solid rgba(255, 209, 0, 0.1);
}

/* Animation Keyframes */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animations applied to elements */
.hero-section h1 {
  animation: fadeSlideUp 1s ease-out both;
}

.hero-section p {
  animation: fadeSlideUp 1s ease-out 0.3s both;
}

.hero-icon {
  animation: float 6s ease-in-out infinite;
}

.hero-icon:nth-child(1) {
  animation-delay: 0s;
}

.hero-icon:nth-child(2) {
  animation-delay: 1.5s;
}

.hero-icon:nth-child(3) {
  animation-delay: 3s;
}

.hero-icon:nth-child(4) {
  animation-delay: 4.5s;
}

.service-icon {
  animation: pulse 4s ease-in-out infinite;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .section-title h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .hero-icons {
    gap: 15px;
  }

  .hero-icon {
    width: 60px;
    height: 60px;
  }

  .hero-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .co-work-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .service-header {
    flex-direction: column;
    text-align: center;
  }

  .service-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .quote-box {
    padding: 15px;
  }

  .cta-section h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 20px;
  }

  .service-img {
    height: 200px;
  }

  .cta-section h3 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Additional Custom Effects for Better Engagement */
.service-card:nth-child(odd) {
  animation-duration: 0.8s;
}

.service-card:nth-child(even) {
  animation-duration: 1s;
}

/* Yellow highlight effect on hover for text elements */
.service-card h3:hover,
.results-box h4:hover,
.quote-box p:hover {
  color: var(--yellow);
  transition: color 0.3s ease;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-black);
}

::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-hover);
}

/* Special effect for service images on hover */
.service-card:hover .service-img {
  box-shadow: 0 0 30px rgba(255, 209, 0, 0.3);
}

/* Text shimmer effect for important headings */
.section-title h2,
.cta-section h3 {
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    var(--yellow) 50%,
    var(--white) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}


.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);
}
