
:root {
  --primary-color: #11446a;     /* 60% - Primary blue */
  --secondary-color: #65a953;   /* 30% - Accent green */
  --accent-color: #f0f4f8;      /* 10% - Light accent */
  --primary-gradient: linear-gradient(135deg, #11446a 0%, #1a5f8d 100%);
  --secondary-gradient: linear-gradient(135deg, #65a953 0%, #4d9a3d 100%);
}

body {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  overflow-x: hidden;
}

/* Header styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(17, 68, 106, 0.1);
  padding: 0.75rem 1rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}


.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary-gradient);
  z-index: 1001;
}

.navbar-brand {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.navbar-brand img {
  height: 50px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: none; /* 👈 remove drop-shadow */
}


/* Main navigation links */
.navbar-nav .nav-link {
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.8rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
  text-align: center;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0.5rem;
  left: 50%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  width: 60%;
  opacity: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Animated dropdown arrow */
.dropdown-toggle::after {
  transition: all 0.3s ease;
  vertical-align: middle;
  margin-left: 0.3em;
}

.dropdown-toggle:hover::after {
  transform: translateY(3px);
}

/* Dropdown menu styling with animation */
.dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 15px 35px rgba(17, 68, 106, 0.15);
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: none;
}

.dropdown-menu.show {
  display: block;
  animation: dropdownFade 0.3s ease forwards;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 0.95rem;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(101, 169, 83, 0.1);
  color: var(--secondary-color);
  padding-left: 2rem;
}

/* Special callout item */
.navbar-nav .startup-link {
  background: var(--secondary-gradient);
  border-radius: 15px;
  color: white !important;
  margin-left: 15px;
  padding: 0.6rem 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  box-shadow: 0 5px 15px rgba(101, 169, 83, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-nav .startup-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4d9a3d 0%, #65a953 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.navbar-nav .startup-link:hover {
  color: white;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(101, 169, 83, 0.4);
}

.navbar-nav .startup-link:hover::after {
  opacity: 1;
}

/* Animated button effect */
.startup-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(101, 169, 83, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(101, 169, 83, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(101, 169, 83, 0);
  }
}

/* Hamburger icon styling */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  display: inline-block;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  transform: translateY(-8px);
}

.navbar-toggler-icon::after {
  transform: translateY(8px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(17, 68, 106, 0.15);
    margin-top: 1rem;
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.4s forwards;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: left;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(101, 169, 83, 0.1);
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1.5rem;
    background-color: rgba(240, 244, 248, 0.5);
    margin-left: 1rem;
    margin-right: 1rem;
    transform: none;
    opacity: 1;
    animation: none;
    display: none;
  }
  
  .dropdown-menu.show {
    display: block;
    animation: none;
  }
  
  .navbar-nav .startup-link {
    display: inline-block;
    margin: 1rem 0.5rem;
    text-align: center;
  }
}

/* Scroll behavior with animation */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.3rem 1rem;
  box-shadow: 0 5px 20px rgba(17, 68, 106, 0.15);
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

/* Logo shine effect */
.logo-shine {
  position: relative;
  overflow: hidden;
}

.logo-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* Entry animation */
.fade-in-down {
  animation: fadeInDown 1s both;
}

.staggered-fade-in > * {
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Content section with 60-30-10 rule */
.content-section {
  background: var(--accent-color);
  padding: 120px 0 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.content-section h1 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 30px;
}

.content-section p {
  color: var(--primary-color);
  opacity: 0.8;
  font-size: 1.1rem;
  line-height: 1.7;
}

.content-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(17, 68, 106, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(17, 68, 106, 0.15);
}

.accent-line {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin-bottom: 20px;
  border-radius: 2px;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(17, 68, 106, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(17, 68, 106, 0.3);
}

.btn-secondary {
  background: var(--secondary-gradient);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(101, 169, 83, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(101, 169, 83, 0.3);
}
