/* Fix for the tech-grid and flex-wrap issues */

/* Tech grid section */
.tech-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  width: 100%;
}

.gradient-text {
  background-image: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  display: inline !important;
  font-weight: bold;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive breakpoints */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service card */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon container */
.icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Text styles */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.card-description {
  color: #d1d5db;
  line-height: 1.6;
}

/* Technology grid */
.tech-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

.tech-name {
  font-weight: 600;
  color: white;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

.gradient-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  position: relative;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.tech-grid {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.shape:nth-child(4) {
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }

  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.glow-effect {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-glass {
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.card-glass {
  backdrop-filter: blur(10px);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.gradient-text {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-icon {
  transition: all 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.1) rotate(5deg);
  color: #3b82f6;
}

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

.tech-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  width: 100%;
}

.gradient-text {
  background-image: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  display: inline !important;
  font-weight: bold;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive breakpoints */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service card */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon container */
.icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Text styles */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.card-description {
  color: #d1d5db;
  line-height: 1.6;
}

/* Technology grid */
.tech-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

.tech-name {
  font-weight: 600;
  color: white;
}


#services,
#home,
section:not(#contact),
.tech-section,
footer {
  padding: 4rem 0;
  background-color: #0f172a;
  /* Match your dark theme */
  position: relative;
  z-index: 10;
}

/* Specific styling for contact section to keep it distinct */
#contact {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

/* Force the services container to be visible */
#services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Make sure the flex container is working */
#services .flex,
.flex {
  display: flex !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.-mx-4 {
  margin-left: -1rem !important;
  margin-right: -1rem !important;
}

/* Style for service cards */
.card-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer specific styling */
.footer-content {
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: none;
}

/* Form field styling */
.form-input {
  background-color: #f8f9fa;
  color: #000;
  border: 1px solid rgba(30, 41, 59, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  outline: none;
}

.form-input::placeholder {
  color: #6b7280;
}

/* Email notification styling */
.notification {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.success-notification {
  background-color: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.error-notification {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* Ensure tech-grid styling works */
.tech-grid {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 1.5rem !important;
  /* rounded-3xl */
  padding: 2rem !important;
  /* p-8 */
}

.card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Make sure the service items are visible */
#services .w-full {
  padding: 1rem;
  box-sizing: border-box;
}

/* Responsive columns */
@media (min-width: 768px) {
  #services .md\:w-1\/2 {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  #services .lg\:w-1\/3 {
    width: 33.333333%;
  }
}

/* Make sure text is visible */
#services h5 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#services p {
  color: #d1d5db;
  line-height: 1.6;
}

/* Ensure icons are visible */
#services .w-16 {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Gradient backgrounds for icons */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-500 {
  --tw-gradient-from: #3b82f6;
}

.to-blue-600 {
  --tw-gradient-to: #2563eb;
}

.from-green-500 {
  --tw-gradient-from: #10b981;
}

.to-green-600 {
  --tw-gradient-to: #059669;
}

.from-yellow-500 {
  --tw-gradient-from: #f59e0b;
}

.to-yellow-600 {
  --tw-gradient-to: #d97706;
}

.from-cyan-500 {
  --tw-gradient-from: #06b6d4;
}

.to-cyan-600 {
  --tw-gradient-to: #0891b2;
}

.from-red-500 {
  --tw-gradient-from: #ef4444;
}

.to-red-600 {
  --tw-gradient-to: #dc2626;
}

.from-purple-500 {
  --tw-gradient-from: #a855f7;
}

.to-purple-600 {
  --tw-gradient-to: #9333ea;
}

.from-indigo-500 {
  --tw-gradient-from: #6366f1;
}

.to-indigo-600 {
  --tw-gradient-to: #4f46e5;
}

.from-pink-500 {
  --tw-gradient-from: #ec4899;
}

.to-pink-600 {
  --tw-gradient-to: #db2777;
}

.from-orange-500 {
  --tw-gradient-from: #f97316;
}

.to-orange-600 {
  --tw-gradient-to: #ea580c;
}

.from-teal-500 {
  --tw-gradient-from: #14b8a6;
}

.to-teal-600 {
  --tw-gradient-to: #0d9488;
}