body {
  background: #191825;
  margin: 0;
  padding: 0;
   font-family: Copperplate, "Copperplate Gothic Light", serif;
  color: #f3f3f3;
}
  .main-header {
      background: linear-gradient(120deg, #14532d99 40%, #1a237e77 100%);
      color: white;
      text-align: center;
      padding: 80px 20px 40px;
      margin-top: 90px;
      position: relative;
      overflow: hidden;
    }
    
    .main-header h1 {
      font-size: 2.8em;
      margin-bottom: 20px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
      animation: fadeInDown 1s ease;
    }
    
    .main-header p {
      font-size: 1.2em;
      max-width: 800px;
      margin: 0 auto;
      animation: fadeInUp 1s ease 0.3s both;
    }

    /* تأثيرات الظهور */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    @keyframes fadeInDown {
      from { 
        opacity: 0;
        transform: translateY(-30px);
      }
      to { 
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fadeInUp {
      from { 
        opacity: 0;
        transform: translateY(30px);
      }
      to { 
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes slideInRight {
      from { 
        opacity: 0;
        transform: translateX(100px);
      }
      to { 
        opacity: 1;
        transform: translateX(0);
      }
    }



.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  padding: 10px;
}

/* التنسيقات الخاصة بالجوال */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -40px;
    width: 100%;
    background: #191825;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links a {
    width: 90%;
    text-align: center;
    padding: 12px;
  }
  
  .logo img {
    height: 40px;
  }
}



    /* تعديلات على القسم الرئيسي */
    .container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 30px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
    }
    
    .text-content {
      flex: 1;
      min-width: 300px;
      padding: 20px;
      animation: fadeIn 1s ease;
    }
    
    .image-container {
      flex: 1;
      min-width: 300px;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .about-image {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      transform: scale(0.9);
      opacity: 0;
      transition: all 1s ease;
      animation: slideInRight 1s ease 0.5s forwards;
    }
    
    .about-image:hover {
      transform: scale(1.02);
      box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    }

    /* قسم الفخر */
    .pride-section {
      background: rgba(30, 30, 60, 0.7);
      border-radius: 15px;
      padding: 30px;
      margin-top: 40px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      border-left: 5px solid #22c55e;
    }
    
    .pride-section:hover {
      background: rgba(40, 40, 80, 0.8);
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .pride-icon {
      font-size: 2.5em;
      margin-bottom: 20px;
      animation: bounce 2s infinite;
    }
    
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    
    .pride-title {
      color: #22c55e;
      font-size: 1.8em;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    
    .pride-title:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 50px;
      height: 3px;
      background: #1a237e;
    }
    
    .pride-text {
      line-height: 1.8;
      font-size: 1.1em;
    }
    
    .pride-text b {
      color: #22c55e;
    }

    /* باقي الأنماط الموجودة مسبقًا */
    .navbar {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 22px 40px;
      background: #191825ee;
      border-bottom: 1.5px solid #14532d;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 4px 24px #0005;
      backdrop-filter: blur(6px);
    }
    
    .logo img {
      height: 60px;
      vertical-align: middle;
      display: block;
      border-radius: 50%;
      transition: box-shadow 0.22s, background 0.22s;
      background: transparent;
    }
    
    .logo:hover img {
      background: #22c55e;
      box-shadow: 0 0 0 10px #22c55e33, 0 2px 16px #0005;
    }
    
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      margin-left: 36px;
    }
    
    .nav-links a {
      color: #fff;
      text-decoration: none;
      font-size: 1.25em;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s, box-shadow 0.2s;
      letter-spacing: 1.1px;
    }
    
    .nav-links a:hover {
      background: linear-gradient(90deg, #22c55e 0%, #1a237e 100%);
      color: #191825;
      box-shadow: 0 2px 16px #22c55e55;
    }
    
    .footer {
      background: #14532d;
      color: #eee;
      padding: 38px 0 0 0;
      margin-top: 44px;
      border-top: 1px solid #0c2a17;
      flex-shrink: 0;
      box-shadow: 0 -2px 16px #0003;
    }
    
    .footer-content {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px;
      padding: 0 24px;
    }
    
    .footer-links-main {
      display: flex;
      gap: 36px;
      justify-content: center;
      margin-bottom: 16px;
    }
    
    .footer-links-main a {
      color: #fff;
      text-decoration: none;
      font-size: 1.18em;
      font-weight: 600;
      padding: 12px 26px;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s;
    }
    
    .footer-links-main a:hover {
      background: #22c55e;
      color: #191825;
    }
    
    .footer-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      gap: 32px;
    }
    
    @media (max-width: 900px) {
      .footer-bottom-row {
        flex-direction: column;
        gap: 16px;
      }
      .footer-links-main {
        flex-wrap: wrap;
        gap: 18px;
      }
    }
    
    .footer .contact-info {
      display: flex;
      flex-direction: row;
      gap: 24px;
      align-items: center;
    }
    
    .footer .contact-info span {
      color: #cce6d1;
      font-size: 1.08em;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    
    .footer .social {
      display: flex;
      gap: 12px;
    }
    
    .footer .social a {
      color: #fff;
      background: #166534;
      border-radius: 50%;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2em;
      transition: background 0.2s, color 0.2s;
      box-shadow: 0 2px 8px #0002;
    }
    
    .footer .social a:hover {
      background: #22c55e;
      color: #14532d;
    }
    
    .footer-copyright {
      width: 100%;
      text-align: center;
      font-size: 1.08em;
      color: #cce6d1;
      margin-top: 28px;
      padding-bottom: 12px;
      letter-spacing: 0.5px;
    }
    
    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }
      
      .text-content, .image-container {
        min-width: 100%;
      }
      
      .main-header h1 {
        font-size: 2em;
      }
      
      .main-header p {
        font-size: 1em;
      }
    }
    .hbc-about {
    font-family: Copperplate, "Copperplate Gothic Light", serif;
    color: #212121;
    line-height: 1.6;
}

/* Header Styles */
.hbc-header {
    background: linear-gradient(135deg, #0d2e1a 0%, #1a237e 100%);
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hbc-header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hbc-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hbc-header-divider {
    width: 80px;
    height: 4px;
    background: #22c55e;
    margin: 0 auto 25px;
    border-radius: 2px;
}

.hbc-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Main Content Styles */
.hbc-main-content {
    background: #f9f9f9;
    padding: 60px 0;
}

.hbc-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hbc-article {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.hbc-article-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.hbc-article h2 {
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.hbc-divider-small {
    width: 50px;
    height: 3px;
    background: #22c55e;
    margin-bottom: 25px;
}

.hbc-article h3 {
    font-size: 1.3rem;
    color: #14532d;
    margin: 30px 0 15px;
    font-weight: 500;
}

.hbc-article p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #424242;
}

.hbc-article strong {
    color: #1a237e;
    font-weight: 600;
}

/* Image Styles */
.hbc-image-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.hbc-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hbc-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26,35,126,0.1) 0%, rgba(34,197,94,0.05) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hbc-header {
        padding: 90px 20px 40px;
    }
    
    .hbc-header h1 {
        font-size: 2rem;
    }
    
    .hbc-subtitle {
        font-size: 1rem;
    }
    
    .hbc-article {
        flex-direction: column;
    }
    
    .hbc-article-content {
        padding: 30px;
    }
    
    .hbc-image-container {
        order: -1;
        min-height: 300px;
    }
}


.hbc-expertise {
    background: #ffffff;
    padding: 60px 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hbc-expertise-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hbc-expertise h2 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.hbc-expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hbc-expertise-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 6px;
    border-top: 3px solid #22c55e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hbc-expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hbc-expertise-item h3 {
    color: #14532d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.hbc-expertise-item p {
    color: #555;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hbc-expertise {
        padding: 40px 20px;
    }
    
    .hbc-expertise-grid {
        grid-template-columns: 1fr;
    }
}


.extravagant-expertise {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
  color: white;
}

.extravagant-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.extravagant-header {
  text-align: center;
  margin-bottom: 80px;
}

.extravagant-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.title-char {
  display: inline-block;
  transform: scale(1.5);
  opacity: 0;
  animation: charPopIn 0.6s cubic-bezier(0.5, 1, 0.89, 1) forwards;
}

@keyframes charPopIn {
  0% {
    transform: scale(1.5) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Individual character animations */
.title-char:nth-child(1) { animation-delay: 0.1s; }
.title-char:nth-child(2) { animation-delay: 0.2s; }
.title-char:nth-child(3) { animation-delay: 0.3s; }
.title-space { width: 20px; }
.title-char:nth-child(5) { animation-delay: 0.4s; }
.title-char:nth-child(6) { animation-delay: 0.5s; }
.title-char:nth-child(7) { animation-delay: 0.6s; }
.title-char:nth-child(8) { animation-delay: 0.7s; }
.title-char:nth-child(9) { animation-delay: 0.8s; }
.title-char:nth-child(10) { animation-delay: 0.9s; }
.title-char:nth-child(11) { animation-delay: 1.0s; }
.title-char:nth-child(12) { animation-delay: 1.1s; }

.extravagant-divider {
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  margin: 0 auto 30px;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: center;
  animation: scaleIn 1s ease-out 1.4s forwards;
}

@keyframes scaleIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.extravagant-subtitle {
  font-size: 1.5rem;
  color: #94a3b8;
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 1.6s forwards;
}

.extravagant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.extravagant-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateX(15deg) translateY(50px);
  opacity: 0;
  animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardEntrance {
  to {
    transform: perspective(1000px) rotateX(0) translateY(0);
    opacity: 1;
  }
}

.extravagant-card:nth-child(1) { animation-delay: 1.8s; }
.extravagant-card:nth-child(2) { animation-delay: 2.0s; }
.extravagant-card:nth-child(3) { animation-delay: 2.2s; }

.extravagant-card:hover {
  transform: translateY(-10px) scale(1.03) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 30px;
  display: inline-block;
  transform: scale(0);
  animation: iconPopIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.extravagant-card:nth-child(1) .card-icon { animation-delay: 2.0s; }
.extravagant-card:nth-child(2) .card-icon { animation-delay: 2.2s; }
.extravagant-card:nth-child(3) .card-icon { animation-delay: 2.4s; }

@keyframes iconPopIn {
  0% { transform: scale(0) rotate(-180deg); }
  80% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

.card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.card-content p {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.1rem;
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.extravagant-card:hover .card-glow {
  opacity: 1;
}

/* Floating particles */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.particle:nth-child(1) {
  width: 5px;
  height: 5px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}
.particle:nth-child(2) {
  width: 8px;
  height: 8px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 25s;
}
.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 15s;
}
.particle:nth-child(4) {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 50%;
  animation-delay: 6s;
  animation-duration: 30s;
}
.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  top: 30%;
  left: 70%;
  animation-delay: 8s;
  animation-duration: 18s;
}

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

@media (max-width: 768px) {
  .extravagant-title {
    font-size: 2.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .title-space {
    display: none;
  }
  
  .extravagant-grid {
    grid-template-columns: 1fr;
  }
  
  .extravagant-card {
    padding: 30px;
  }
}



.hbc-extravagant {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
  position: relative;
}

/* Particle Background */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Extravagant Header */
.hbc-extravagant-header {
  padding: 180px 20px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.hbc-header-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.hbc-main-title {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  letter-spacing: 2px;
}

.letter {
  display: inline-block;
  transform: translateY(50px) rotate(10deg);
  opacity: 0;
  animation: letterDrop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes letterDrop {
  to {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}

/* Individual letter animations */
.letter:nth-child(1) { animation-delay: 0.1s; color: #22c55e; }
.letter:nth-child(2) { animation-delay: 0.2s; color: #3b82f6; }
.letter:nth-child(3) { animation-delay: 0.3s; color: #f59e0b; }
.space { width: 20px; }
.letter:nth-child(5) { animation-delay: 0.4s; color: #22c55e; }
.letter:nth-child(6) { animation-delay: 0.5s; color: #3b82f6; }
.letter:nth-child(7) { animation-delay: 0.6s; color: #f59e0b; }
.letter:nth-child(8) { animation-delay: 0.7s; color: #22c55e; }
.letter:nth-child(9) { animation-delay: 0.8s; color: #3b82f6; }
.letter:nth-child(10) { animation-delay: 0.9s; color: #f59e0b; }
.letter:nth-child(11) { animation-delay: 1.0s; color: #22c55e; }
.letter:nth-child(12) { animation-delay: 1.1s; color: #3b82f6; }

.hbc-header-divider {
  width: 300px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  margin: 0 auto 40px;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: center;
  animation: scaleIn 1.5s ease-out 1.5s forwards;
}

@keyframes scaleIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hbc-header-subtitle {
  font-size: 1.8rem;
  color: #94a3b8;
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 2s forwards;
}

/* Expertise Section */
.hbc-expertise-section {
  padding: 100px 20px;
  position: relative;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.hbc-expertise-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hbc-expertise-text {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 60px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 2.5s forwards;
}

.hbc-expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.hbc-expertise-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(20deg) translateX(-50px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.hbc-expertise-item:nth-child(1) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 2.8s forwards; }
.hbc-expertise-item:nth-child(2) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 3.0s forwards; }
.hbc-expertise-item:nth-child(3) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 3.2s forwards; }
.hbc-expertise-item:nth-child(4) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 3.4s forwards; }
.hbc-expertise-item:nth-child(5) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 3.6s forwards; }
.hbc-expertise-item:nth-child(6) { animation: cardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 3.8s forwards; }

@keyframes cardEntrance {
  to {
    transform: perspective(1000px) rotateY(0) translateX(0);
    opacity: 1;
  }
}

.hbc-expertise-item:hover {
  transform: translateY(-15px) scale(1.05) !important;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.expertise-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  transform: scale(0);
  animation: iconPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hbc-expertise-item:nth-child(1) .expertise-icon { animation-delay: 3.0s; }
.hbc-expertise-item:nth-child(2) .expertise-icon { animation-delay: 3.2s; }
.hbc-expertise-item:nth-child(3) .expertise-icon { animation-delay: 3.4s; }
.hbc-expertise-item:nth-child(4) .expertise-icon { animation-delay: 3.6s; }
.hbc-expertise-item:nth-child(5) .expertise-icon { animation-delay: 3.8s; }
.hbc-expertise-item:nth-child(6) .expertise-icon { animation-delay: 4.0s; }

@keyframes iconPop {
  0% { transform: scale(0) rotate(-180deg); }
  80% { transform: scale(1.2) rotate(20deg); }
  100% { transform: scale(1) rotate(0); }
}

.hbc-expertise-item h3 {
  font-size: 1.5rem;
  margin-top: 15px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Other Sections */
.hbc-partnership-section,
.hbc-quality-section,
.hbc-excellence-section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.hbc-partnership-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.hbc-quality-section {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.hbc-excellence-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.hbc-section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.hbc-partnership-section .hbc-section-header { animation-delay: 4.2s; }
.hbc-quality-section .hbc-section-header { animation-delay: 5.2s; }
.hbc-excellence-section .hbc-section-header { animation-delay: 6.2s; }

.hbc-section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hbc-section-divider {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  margin: 0 auto;
  border-radius: 4px;
}

.hbc-partnership-content,
.hbc-quality-content,
.hbc-excellence-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.hbc-partnership-content { animation-delay: 4.5s; }
.hbc-quality-content { animation-delay: 5.5s; }
.hbc-excellence-content { animation-delay: 6.5s; }

.hbc-sparkle-container,
.hbc-metric-animation,
.hbc-trophy-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.hbc-trophy-animation {
  font-size: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatTrophy 8s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hbc-main-title {
    font-size: 3.5rem;
  }
  
  .hbc-header-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .hbc-main-title {
    font-size: 2.5rem;
    flex-direction: column;
  }
  
  .space {
    display: none;
  }
  
  .hbc-expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hbc-section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hbc-main-title {
    font-size: 2rem;
  }
  
  .hbc-expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .hbc-expertise-item {
    padding: 30px 20px;
  }
  
  .expertise-icon {
    font-size: 2.5rem;
  }
  
  .hbc-expertise-item h3 {
    font-size: 1.3rem;
  }
}



.hbc-prestige-header {
  background: radial-gradient(ellipse at center, #0a1a2f 0%, #020912 100%);
  padding: 180px 20px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.glowing-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.prestige-header-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.prestige-main-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.gold-letter {
  display: inline-block;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transform: translateY(30px) rotate(-10deg);
  opacity: 0;
  animation: goldLetterDrop 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.blue-letter {
  display: inline-block;
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transform: translateY(30px) rotate(10deg);
  opacity: 0;
  animation: blueLetterDrop 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes goldLetterDrop {
  to {
    transform: translateY(0) rotate(0);
    opacity: 1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  }
}

@keyframes blueLetterDrop {
  to {
    transform: translateY(0) rotate(0);
    opacity: 1;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  }
}

/* Individual letter animations */
.gold-letter:nth-child(1) { animation-delay: 0.1s; }
.gold-letter:nth-child(2) { animation-delay: 0.2s; }
.gold-letter:nth-child(3) { animation-delay: 0.3s; }
.space { width: 25px; }
.blue-letter:nth-child(5) { animation-delay: 0.4s; }
.blue-letter:nth-child(6) { animation-delay: 0.5s; }
.blue-letter:nth-child(7) { animation-delay: 0.6s; }
.gold-letter:nth-child(9) { animation-delay: 0.7s; }
.gold-letter:nth-child(10) { animation-delay: 0.8s; }
.gold-letter:nth-child(11) { animation-delay: 0.9s; }
.gold-letter:nth-child(12) { animation-delay: 1.0s; }
.gold-letter:nth-child(13) { animation-delay: 1.1s; }
.gold-letter:nth-child(14) { animation-delay: 1.2s; }
.gold-letter:nth-child(15) { animation-delay: 1.3s; }
.gold-letter:nth-child(16) { animation-delay: 1.4s; }

.prestige-divider {
  width: 400px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #d4af37 20%, 
    #3b82f6 50%, 
    #d4af37 80%, 
    transparent 100%);
  margin: 0 auto 40px;
  position: relative;
  transform: scaleX(0);
  transform-origin: center;
  animation: scaleDivider 1.8s ease-out 1.6s forwards;
}

.diamond-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  background: white;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

@keyframes scaleDivider {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.prestige-subtitle {
  font-size: 1.8rem;
  color: #a1a1aa;
  font-style: italic;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 2s forwards;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .prestige-main-title {
    font-size: 3.5rem;
  }
  
  .prestige-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .prestige-main-title {
    font-size: 2.5rem;
    flex-direction: column;
  }
  
  .space {
    display: none;
  }
  
  .prestige-divider {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .prestige-main-title {
    font-size: 2rem;
  }
  
  .prestige-subtitle {
    font-size: 1.2rem;
  }
}