/* Navigation Styles */
.navbar-nav .nav-link {
  background-color: #ee096d;
  border-radius: 5px;
  padding: 10px;
}

/* Hero Section Styles */
.hero-2 {
  background-color: black;
}

/* Portfolio Section Styles */
.single-portfolio {
  margin-bottom: 30px;
}

/* About Us Section Styles */
.who-we-are {
  background-color: #ee096d;
  color: white;
  height: 350px;
  width: 350px;
}

/* Footer Styles */
.site-footer {
  background-color: #f8f9fa;
}

/* Modal Styles */
.modal-content {
  background-color: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 10px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80vh;
}

/* Animation Styles */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.who-we-are:hover {
  animation: bounce 0.5s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .who-we-are,
  .options-container {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .who-we-are {
    min-height: 100px !important;
  }

  .options-container {
    min-height: 150px;
  }

  /* Fix the who-we-are section for mobile */
  .who-we-are {
    padding: 20px 15px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    max-width: 280px !important;
    margin: 0 auto 20px auto !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(238, 9, 109, 0.3) !important;
  }

  /* Mobile hover effects for who-we-are */
  .who-we-are:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(238, 9, 109, 0.5) !important;
    animation: none !important; /* Override the bounce animation on mobile */
  }

  /* Add a subtle pulsing effect to indicate clickability */
  .who-we-are::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: 0 0 0 0 rgba(238, 9, 109, 0.4);
    animation: pulse-ring 2s infinite;
  }

  @keyframes pulse-ring {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(238, 9, 109, 0.7);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(238, 9, 109, 0);
    }
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(238, 9, 109, 0);
    }
  }

  /* Fix the options container positioning */
  .options-container {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Make accordion more mobile friendly */
  .accordion-button {
    font-size: 18px;
    padding: 15px;
  }

  .accordion-body {
    font-size: 16px !important;
  }

  .accordion-body .col-md-8 {
    font-size: 16px !important;
  }

  /* Ensure images in accordion are responsive */
  .accordion-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  /* Mobile Portfolio Row-based Layout - 2 boxes per row with text separators */
  .mobile-portfolio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .mobile-what-we-do-text {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
  }

  .mobile-portfolio-box {
    aspect-ratio: 1;
    background-color: #ee096d;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 15px;
    min-height: 150px;
  }

  .mobile-portfolio-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(238, 9, 109, 0.4);
  }

  .mobile-portfolio-box .bottom-right-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    background-color: transparent;
    position: relative;
    bottom: auto;
    right: auto;
    padding: 0;
  }

  .mobile-portfolio-box .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
  }

  .mobile-portfolio-box:hover .hover-content,
  .mobile-portfolio-box.active .hover-content {
    opacity: 1;
  }

  .mobile-portfolio-box .hover-text {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .mobile-portfolio-box .click-icon {
    font-size: 20px;
    color: #ee096d;
  }

  /* Hide desktop portfolio on mobile */
  .desktop-portfolio {
    display: none;
  }

  /* Show mobile portfolio only on mobile */
  .mobile-portfolio {
    display: block;
  }
}

/* Hide mobile portfolio on desktop */
@media (min-width: 769px) {
  .mobile-portfolio {
    display: none;
  }

  .desktop-portfolio {
    display: block;
  }
}

.solid-box {
  position: relative;
}

.bottom-right-text {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 25px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
}

/* Animation for showing and hiding options */
#options {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.options-container {
  margin-top: 20px;
  margin-left: 80px;
  /* Adjust the margin as needed */

  /* Adjust the margin as needed */
}

#options.show {
  display: block !important;
  opacity: 1 !important;
}

/* Style accordion for dark background */
#aboutUs .accordion-button {
  background-color: rgba(238, 9, 109, 0.9);
  color: white;
  border: none;
}

#aboutUs .accordion-button:not(.collapsed) {
  background-color: #ee096d;
  color: white;
}

#aboutUs .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(238, 9, 109, 0.25);
}

#aboutUs .accordion-body {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
}

/* Social icons styling - pink colored icons */
.social li a span {
  display: inline-block;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  transition: all 0.3s ease;
  font-size: 20px;
  color: #ee096d;
}

.social li a:hover span {
  color: #ff1a7a !important;
  transform: scale(1.2);
}

/* Override default footer social styling to remove circles */
.site-footer .widget .social li a {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  position: static !important;
}

.site-footer .widget .social li a span {
  position: static !important;
  transform: none !important;
  font-size: 20px !important;
}

.nav-box {
  display: inline-block;
  padding: 15px 15px;
  margin-right: 10px;
  margin-top: 5px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.nav-box a {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  text-decoration: none;
  position: absolute;
  z-index: 1;
}

.site-navigation {
  flex-direction: row-reverse;
  /* Reverse the order of flex items */
}

.logo {
  margin-right: auto;
  /* Push logo to the far left */
}

.nav-boxes {
  margin-left: auto;
  /* Push navigation items to the far right */
}

@media (min-width: 992px) {
  .nav-box a {
    display: none;
  }
}

.wip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.wip-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  font-family: Arial, sans-serif;
}
.wip-popup h3 {
  margin-top: 0;
  color: #333;
}
.wip-popup p {
  color: #666;
}
.wip-close-btn {
  background-color: #ee096d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
}
.wip-close-btn:hover {
  background-color: #0056b3;
}

/* Your existing styles here */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.modal-content {
  background-color: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.close {
  color: #aaa;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.carousel {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure image doesn't overlap with navigation buttons */
.carousel-container {
  background-color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
}

.carousel-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background-color: #000000;
  display: block;
  margin: auto;
}

.carousel-button {
  background-color: rgba(238, 9, 109, 0.7);
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1003;
}

.carousel-button:hover {
  background-color: rgba(238, 9, 109, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Position the prev button to the left side of modal content */
.carousel-button.prev {
  left: calc(50% - 660px);
  border-radius: 25px 25px 25px 25px;
  z-index: 1003;
}

/* Position the next button to the right side of modal content */
.carousel-button.next {
  right: calc(50% - 660px);
  border-radius: 25px 25px 25px 25px;
  z-index: 1003;
}

/* Responsive positioning for smaller screens */
@media (max-width: 1400px) {
  .carousel-button.prev {
    left: 20px;
  }
  .carousel-button.next {
    right: 20px;
  }
}

.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators span {
  background-color: rgba(238, 9, 109, 0.4);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.carousel-indicators span.active {
  background-color: rgba(238, 9, 109, 1);
  transform: scaleX(1.2);
}

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: transparent;
  border: none;
  padding: 0;
}

.close {
  color: white;
  background-color: rgba(238, 9, 109, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.close:hover {
  background-color: rgba(238, 9, 109, 1);
  transform: scale(1.1);
  color: white;
}

.modal,
.popup {
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.9);
}

.carousel-item {
  transition: transform 0.5s ease-in-out;
}

/* Mobile Responsive Styles for Popups and Modals */
@media (max-width: 768px) {
  /* Navbar responsive improvements */
  .navbar-nav .nav-link {
    padding: 8px;
    margin: 2px;
  }

  .navbar-nav .nav-link i {
    font-size: 1.5rem;
  }

  .navbar-toggler {
    border: none;
    padding: 4px 8px;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
  /* Privacy Policy Popup Responsive Fixes */
  .popup {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .popup-content {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: calc(100vw - 20px);
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .popup-text {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
  }

  .popup h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-right: 40px;
    color: #333;
  }

  .popup h3 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #333;
  }

  .popup p, .popup li {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
  }

  /* Close button positioning for mobile */
  .popup .close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
    z-index: 10001;
    background-color: rgba(238, 9, 109, 0.9);
    border-radius: 50%;
  }

  /* Portfolio Modal Responsive Fixes */
  .modal {
    padding: 10px;
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    width: calc(100vw - 20px);
    height: calc(100vh - 40px);
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    background-color: black;
    border-radius: 10px;
    overflow: hidden;
  }

  .carousel-container {
    width: 100%;
    height: calc(100% - 60px);
    padding: 10px;
  }

  .carousel-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* Modal close button */
  .modal .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: white;
    background-color: rgba(238, 9, 109, 0.9);
    width: 35px;
    height: 35px;
    font-size: 20px;
    z-index: 10001;
  }

  /* Carousel buttons for mobile */
  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    padding: 8px;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }

  /* Modal title */
  #modal-title {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    margin: 0;
  }

  /* Carousel indicators */
  .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
  }

  .carousel-indicators span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .popup-content {
    margin: 5px;
    padding: 15px;
    width: calc(100vw - 10px);
  }

  /* Who we are section for small mobile */
  .who-we-are {
    min-height: 120px !important;
    font-size: 20px !important;
    padding: 25px 15px !important;
  }

  .accordion-button {
    font-size: 16px !important;
    padding: 12px !important;
  }

  .accordion-body {
    font-size: 14px !important;
  }

  .accordion-body .col-md-8 {
    font-size: 14px !important;
  }

  /* Smaller mobile portfolio rows */
  .mobile-portfolio-row {
    gap: 10px;
    padding: 15px;
  }

  .mobile-what-we-do-text {
    margin: 15px 0;
    padding: 8px 0;
  }

  .mobile-what-we-do-text b {
    font-size: 20px !important;
  }

  .mobile-portfolio-box {
    min-height: 120px;
    padding: 10px;
  }

  .mobile-portfolio-box .bottom-right-text {
    font-size: 14px;
  }

  .mobile-portfolio-box .hover-text {
    font-size: 11px;
  }

  .popup h2 {
    font-size: 18px;
  }

  .popup h3 {
    font-size: 15px;
  }

  .popup p, .popup li {
    font-size: 13px;
  }

  .popup .close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .modal .close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .carousel-button {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .carousel-button.prev {
    left: 5px;
  }

  .carousel-button.next {
    right: 5px;
  }

  #modal-title {
    font-size: 16px;
    padding: 8px;
  }
}

@media (max-width: 320px) {
  /* Very small screens */
  .popup-content {
    margin: 2px;
    padding: 10px;
    width: calc(100vw - 4px);
  }

  /* Who we are section for very small screens */
  .who-we-are {
    min-height: 100px !important;
    font-size: 18px !important;
    padding: 20px 10px !important;
  }

  /* Extra small mobile portfolio adjustments */
  .mobile-portfolio-row {
    gap: 8px;
    padding: 10px;
  }

  .mobile-what-we-do-text {
    margin: 10px 0;
    padding: 5px 0;
  }

  .mobile-what-we-do-text b {
    font-size: 18px !important;
  }

  .accordion-button {
    font-size: 14px !important;
    padding: 10px !important;
  }

  .accordion-body {
    font-size: 13px !important;
  }

  .accordion-body .col-md-8 {
    font-size: 13px !important;
  }

  .popup h2 {
    font-size: 16px;
    padding-right: 35px;
  }

  .popup .close {
    width: 28px;
    height: 28px;
    font-size: 16px;
    top: 8px;
    right: 8px;
  }

  .modal .close {
    width: 28px;
    height: 28px;
    font-size: 16px;
    top: 8px;
    right: 8px;
  }
}
