/* Preloader Full Screen */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

/* Preloader Logo Styling */
#preloader-logo,
#preloader img {
  width: 100px;
  height: auto;
  animation: fadeZoom 1s infinite alternate ease-in-out, pulse 1.5s infinite;
}

/* Fade and Zoom Animation */
@keyframes fadeZoom {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Hide Preloader After Page Loads */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  display: none;
  z-index: 1000;
}

.cookie-banner a {
  color: #00f;
  text-decoration: underline;
}

.cookie-banner .btn {
  margin-left: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.cookie-modal-content {
  background: #fff;
  color: #000;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

  /* Awards Section */
.awards {
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

/* Title and Intro */
.inner-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #f4c430;
  margin-bottom: 10px;
}

a.bir {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a.bir:hover {
    color: #FFA500; /* Optional hover color */
    text-decoration: underline;
}


/* Awards Grid Layout */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Award Card Styling */
.award-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Hover Effect */
.award-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

/* Award Titles */
.award-category {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #f4c430;
  text-transform: uppercase;
}

/* Award Items */
.award-item {
  font-size: 1.1rem;
  margin: 8px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

/* Icons */
.award-item i {
  font-size: 1.4rem;
  margin-right: 10px;
  color: gold;
}

/* ✅ GOLD HOVER EFFECT */
.award-item:hover {
  color: gold;
}

/* Tooltip Custom Styling */
.tooltip-inner {
  background-color: black;
  color: white;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .awards-grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
}

 .flip-card {
    background: transparent;
    width: 100%;
    height: 220px;
    perspective: 1000px;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }

  .flip-card:hover .flip-card-inner,
  .flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    border-radius: 10px;
  }

  .flip-card-front {
  background: #222;
  color: white;
  border: 2px solid #ffbb2c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Ensures h3 inside front card is white */
.flip-card-front h3 {
  color: rgb(255, 255, 255);
}

  .flip-card-back {
    background: #ffbb2c;
    color: black;
    transform: rotateY(180deg);
  }

  .flip-card i {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .flip-card h3 {
    font-size: 18px;
    font-weight: bold;
  }

  .flip-card p {
    font-size: 14px;
    text-align: center;
  }
      .animated-hr {
      position: relative;
      width: 0;
      height: 2px;
      background-color: #000;
      margin: 0 auto;
      transition: width 2s ease-in-out;
    }

    .animated-hr.animate {
      width: 50%;
    }

/* What We DO */
        .what-we-do {
        padding: 60px 0;
        background-color: #f9f9f9; /* Light background for separation */
      }
      
      .what-we-do .inner-title {
        font-size: 2.75rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
      }
      
      .what-we-do .description {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        max-width: 800px;
        margin: 0 auto 20px auto;
      }
      
      .what-we-do .practice-areas {
        display: flex;
        justify-content: center;
        margin-top: 30px;
      }
      
      .what-we-do .practice-areas ul {
        list-style: none;
        padding: 0;
        font-size: 1rem;
      }
      
      .what-we-do .practice-areas ul li {
        padding: 8px 0;
        font-weight: 500;
        color: #333;
        text-align: center;
      }
      
      @media (max-width: 768px) {
        .what-we-do .practice-areas {
          flex-wrap: wrap;
        }
      
        .what-we-do .practice-areas .col-md-4 {
          width: 100%;
          text-align: center;
        }
      }