* {
  font-family: "Inter", sans-serif;
}

.heading-font {
  font-family: "Poppins", sans-serif;
}

.btn-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  transition: all 0.3s ease;
  border-radius: 50px;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.service-card {
  transition: all 0.3s ease;
  border-radius: 20px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.project-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card .relative {
  position: relative;
}

.project-card button {
  position: relative;
  z-index: 10;
}

/* Modal styles */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.4s;
}

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

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #000;
}

/* Technology badges */
.tech-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin: 4px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

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

/* Custom animation for buttons */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse-slow {
  animation: pulse 2s infinite;
}

/* Hero section gradient */
.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

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

.floating-icon {
  position: absolute;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.1);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/* Team Card Styles */
.team-card {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Social Icons */
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(59, 130, 246, 0.2);
}

/* Profile Image Hover Effect */
.team-card img {
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

/* Swiper Customization */
.team-slider {
  padding: 20px 10px 60px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

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

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

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team-slider {
    padding: 10px 0 50px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .team-card {
    margin: 0 auto;
    max-width: 320px;
  }
}

.contact-gradient {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Select dropdown arrow */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 3rem;
}

/* Social Icons Footer */
.social-icon-footer {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 2px;
}

.social-icon-footer:hover {
  transform: translateY(-3px) scale(1.1);
}

.facebook {
  background: linear-gradient(135deg, #1877f2, #0d5cb6);
}
.twitter {
  background: linear-gradient(135deg, #1da1f2, #0c85d0);
}
.instagram {
  background: linear-gradient(135deg, #e4405f, #c32aa3);
}
.linkedin {
  background: linear-gradient(135deg, #0a66c2, #084a8e);
}
.youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}
.dribbble {
  background: linear-gradient(135deg, #ea4c89, #c32361);
}

.social-icon-footer.facebook:hover {
  box-shadow: 0 6px 12px rgba(24, 119, 242, 0.3);
}
.social-icon-footer.twitter:hover {
  box-shadow: 0 6px 12px rgba(29, 161, 242, 0.3);
}
.social-icon-footer.instagram:hover {
  box-shadow: 0 6px 12px rgba(228, 64, 95, 0.3);
}
.social-icon-footer.linkedin:hover {
  box-shadow: 0 6px 12px rgba(10, 102, 194, 0.3);
}
.social-icon-footer.youtube:hover {
  box-shadow: 0 6px 12px rgba(255, 0, 0, 0.3);
}
.social-icon-footer.dribbble:hover {
  box-shadow: 0 6px 12px rgba(234, 76, 137, 0.3);
}

/* Footer Links */
.footer-link {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.footer-link i {
  width: 20px;
  text-align: center;
}

/* Footer Gradient */
.footer-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Input focus effects */
input:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-gradient {
    padding: 1.5rem;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .social-icon-footer {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}
/* Dark mode এর জন্য এই CSS গুলো আপনার existing CSS এর সাথে যোগ করুন */

/* Fix for gradient backgrounds in dark mode */
.dark .bg-gradient-to-b {
  background-image: none;
}

.dark .from-white {
  --tw-gradient-from: #1f2937 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.dark .to-blue-50 {
  --tw-gradient-to: #1e293b var(--tw-gradient-to-position);
}

.dark .from-blue-50 {
  --tw-gradient-from: #1e293b var(--tw-gradient-from-position);
}

/* Contact form input colors in light mode */
input,
textarea,
select {
  color: #1f2937;
}

/* Contact form input colors in dark mode */
.dark input,
.dark textarea,
.dark select {
  color: #f3f4f6;
  background-color: #374151;
  border-color: #4b5563;
}

/* Placeholder color in dark mode */
.dark input::placeholder,
.dark textarea::placeholder {
  color: #9ca3af;
}

/* Fix for about section in dark mode */
.dark .bg-white {
  background-color: #111827;
}

/* Fix for text colors in dark mode */
.dark .text-gray-900 {
  color: #f9fafb;
}

.dark .text-gray-800 {
  color: #f3f4f6;
}

.dark .text-gray-700 {
  color: #e5e7eb;
}

.dark .text-gray-600 {
  color: #d1d5db;
}

/* Fix for hero stats in dark mode */
.dark .from-blue-50,
.dark .to-indigo-50 {
  background: linear-gradient(135deg, #1e293b 0%, #1e293b 100%);
}

/* Fix for contact section gradient */
.dark .bg-gradient-to-b.from-blue-50.to-white {
  background: linear-gradient(135deg, #1e293b 0%, #111827 100%);
}

/* Fix for services section gradient */
.dark .bg-gradient-to-b.from-white.to-blue-50 {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
}

/* Fix for projects section gradient */
.dark .bg-gradient-to-b.from-blue-50.to-white {
  background: linear-gradient(135deg, #1e293b 0%, #111827 100%);
}
/* Dark mode modal */
.dark .modal-content {
  background-color: #1f2937;
}

.dark .modal-content h2,
.dark .modal-content h3,
.dark .modal-content h4 {
  color: #f9fafb;
}

.dark .modal-content p {
  color: #d1d5db;
}

.dark .modal-content ul li {
  color: #d1d5db;
}

.dark .close-modal {
  color: #9ca3af;
}

.dark .close-modal:hover {
  color: #f3f4f6;
}
/* Contact Form Dark Mode Fix */
.dark .contact-gradient {
  background: linear-gradient(145deg, #1f2937 0%, #111827 100%) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

/* Select dropdown arrow for dark mode */
.dark select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* Contact section gradient fix */
.dark .from-blue-50 {
  --tw-gradient-from: #111827 var(--tw-gradient-from-position) !important;
}

.dark .to-white {
  --tw-gradient-to: #1f2937 var(--tw-gradient-to-position) !important;
}

/* Label colors in dark mode */
.dark label {
  color: #d1d5db !important;
}

/* Form text colors */
.dark .text-gray-700 {
  color: #d1d5db !important;
}

/* Placeholder colors */
.dark ::placeholder {
  color: #9ca3af !important;
}

.dark :-ms-input-placeholder {
  color: #9ca3af !important;
}

.dark ::-ms-input-placeholder {
  color: #9ca3af !important;
}

/* Checkbox in dark mode */
.dark input[type="checkbox"] {
  background-color: #374151;
  border-color: #4b5563;
}

.dark input[type="checkbox"]:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}
