:root {
  --white: #fff;
  --dark-gray: #1a1a1a;
  --blue: #4da6ff;
  --dark-blue: #3385ff;
  --blue-transparent-03: rgba(77, 166, 255, 0.3);
  --blue-transparent-02: rgba(77, 166, 255, 0.2);
  --blue-transparent-05: rgba(77, 166, 255, 0.5);
  --light-gray: #f5f5f5;
  --gray: #333;
  --very-light-gray: #f8f8f8;
  --dark-gray-2: #444;
  --near-black: #111;
  --mid-gray: #666;
  --dark-gray-3: #222;
  --dark-gray-4: #2a2a2a;
  --dark-gray-5: #3a3a3a;
  --gray-2: #555;
  --black-transparent-005: rgba(0, 0, 0, 0.05);
  --black-transparent-01: rgba(0, 0, 0, 0.1);
  --black-transparent-008: rgba(0, 0, 0, 0.08);
  --black-transparent-012: rgba(0, 0, 0, 0.12);
  --black-transparent-02: rgba(0, 0, 0, 0.2);
  --light-gray-2: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--white);
  padding-top: 60px;
}

#home {
  background: var(--dark-gray);
  text-align: center;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.logo {
  width: 120px;
  height: 120px;
  margin-bottom: 40px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.logo::before {
  content: "BH";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  font-weight: bold;
  color: var(--white);
  z-index: 2;
}

.logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-content {
  max-width: 800px;
}

#home h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

#home p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-button {
  background: var(--blue);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

.cta-button:hover {
  background: var(--dark-blue);
  transform: scale(1.05);
  box-shadow: 0 5px 15px var(--blue-transparent-03);
}

.micro-text {
  font-size: 14px;
  margin-top: 30px;
  opacity: 0.7;
  font-style: italic;
  padding-top: 10px;
}

.about {
  background: var(--light-gray);
  color: var(--gray);
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding-right: 40px;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--dark-gray);
}

.about p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.about-meta {
  margin: 10px;
}

.features {
  margin: 40px 0;
  list-style: none;
}

.features li {
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 3px solid var(--blue);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.features li:hover {
  transform: translateX(10px);
}

.features h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.team {
  margin: 60px 0;
  text-align: center;
}

.team h3 {
  font-size: 30px;
  margin-bottom: 30px;
  color: var(--near-black);
}

.team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  background: var(--very-light-gray);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--black-transparent-005);
  width: 180px;
}

.avatar {
  width: 80px;
  height: 80px;
  font-size: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member p {
  font-size: 14px;
  color: var(--dark-gray-2);
}

.team-member strong {
  display: block;
  font-size: 16px;
  color: var(--near-black);
}

.team-member span {
  font-style: italic;
  font-size: 13px;
  color: var(--mid-gray);
}

.timeline {
  margin: 60px 0;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
}

.timeline h3 {
  font-size: 30px;
  margin-bottom: 30px;
  color: var(--near-black);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item .dot {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  left: -18px;
  top: 6px;
}

.timeline-item h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--dark-gray-3);
}

.timeline-item p {
  font-size: 16px;
  color: var(--dark-gray-2);
}

.fun-fact {
  background: var(--white);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px var(--black-transparent-005);
  margin-top: 40px;
}

.fun-fact strong {
  color: var(--blue);
}

.about-logo {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.bh-logo {
  width: 300px;
  height: 300px;
  background: var(--dark-gray);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease;
}

.bh-logo:hover {
  transform: scale(1.05);
}

.bh-logo::before {
  content: "BH";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80px;
  font-weight: bold;
  color: var(--white);
}

.bh-logo::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--black-transparent-008);
  min-width: 150px;
  flex: 1;
  max-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px var(--black-transparent-012);
}

.stat-item h3 {
  font-size: 32px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 15px;
  color: var(--gray-2);
}

.services {
  background: var(--dark-gray-4);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--white);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background: var(--gray);
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  position: relative;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--blue);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px var(--blue-transparent-03);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--white);
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.service-card:nth-child(-n + 2)::after {
  content: "★ Top Service ★";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.client-logos span {
  font-size: 40px;
  transition: transform 0.3s;
}

.client-logos span:hover {
  transform: scale(1.2);
}

.clients {
  background: var(--gray);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.clients .container {
  max-width: 1200px;
  margin: 0 auto;
}

.clients h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--white);
}

.cases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.case-card {
  background: var(--dark-gray-5);
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--blue-transparent-02);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--blue-transparent-03);
  border-color: var(--blue-transparent-05);
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--dark-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.case-card:hover::before {
  transform: scaleX(1);
}

.case-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.case-card:hover .case-icon {
  transform: rotate(10deg) scale(1 AJE);
}

.case-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--white);
}

.case-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.contact {
  background: var(--light-gray);
  color: var(--gray);
  padding: 80px 20px;
}

.contact .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--dark-gray);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray-2);
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-transparent-02);
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  width: auto;
}

.submit-btn:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--blue-transparent-03);
}

.proof {
  background: var(--white);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px var(--black-transparent-005);
}

.proof p {
  font-style: italic;
  line-height: 1.6;
}

.contact-details h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.contact-details p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--gray);
  box-shadow: 0 2px 5px var(--black-transparent-01);
}

.social-icon:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--blue-transparent-03);
}

.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 20px 30px;
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 30px;
}

.bh-logo-small {
  width: 80px;
  height: 80px;
  background: var(--dark-gray-4);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  border: 2px solid var(--blue);
}

.bh-logo-small::before {
  content: "BH";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  color: var(--blue);
}

.tech-stack {
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
  opacity: 0.8;
  font-size: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--white);
  font-size: 20px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  color: var(--blue);
  transform: translateY(-3px);
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--blue);
}

.copyright {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 30px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--dark-gray);
  box-shadow: 0 2px 10px var(--black-transparent-01);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
}

.bh-logo-nav {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 50%;
  position: relative;
}

.bh-logo-nav::before {
  content: "BH";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--dark-gray);
}

.navbar-links {
  display: flex;
  gap: 30px;
}

.navbar-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: var(--blue);
}

.navbar-links a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 15px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
  transform: scale(1.1);
}

.back-to-top.visible {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--dark-gray);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 5px 10px var(--black-transparent-02);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .navbar-links.active {
    transform: translateY(0);
  }

  .navbar-links a {
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  .navbar-links a::after {
    display: none;
  }

  .burger-menu {
    display: flex;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #home h1 {
    font-size: 32px;
  }
  #home p {
    font-size: 16px;
  }
  .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
  }
  .logo::before {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .about h2 {
    font-size: 28px;
  }

  .bh-logo {
    width: 200px;
    height: 200px;
  }

  .bh-logo::before {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 100%;
  }

  .services h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .cases-grid {
    flex-direction: column;
    align-items: center;
  }

  .case-card {
    max-width: 100%;
  }

  .clients h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .contact h2 {
    font-size: 28px;
  }

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .tech-stack {
    font-size: 14px;
  }
}
