.elementor-28675 .elementor-element.elementor-element-e580168{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-c62d1bb *//* Collections Section Styles */
.taalim-collections {
  position: relative;
  padding: 5rem 0.6rem;
  overflow: hidden;
}

.taalim-collections .container {
  max-width: 1350px !important;
  width: 100% !important;  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.header-decoration {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 40px;
}

.decoration-circle, .decoration-star {
  position: absolute;
}

.decoration-circle {
  width: 12px;
  height: 12px;
  background: #2D6CF6;
  border-radius: 50%;
  top: 10px;
  left: 40px;
  animation: bounce 3s ease-in-out infinite;
}

.decoration-star {
  width: 16px;
  height: 16px;
  top: 5px;
  right: 40px;
  animation: spin 8s linear infinite;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0B1B34;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0B1B34 0%, #2D6CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #0B1B34;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

.divider-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #2D6CF6, transparent);
}

.divider-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Collections Grid */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 1.5rem;
}

/* Collection Card */
.collection-card {
  position: relative;
  background: linear-gradient(135deg, #E9F4FF 2%, #ffffff 100%);
 border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 27, 52, 0.08);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11, 27, 52, 0.15);
}

/* Collection Image */
.collection-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover .collection-image img {
  transform: scale(1.3);
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 27, 52, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-btn {
  padding: 0.75rem 1.5rem;
  background: #2D6CF6;
  color: white;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.collection-btn:hover {
  background: #1c5ae3;
  transform: translateY(-2px);
  color:white;
}

/* Collection Content */
.collection-content {
  padding: 1.5rem;
}

.collection-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0B1B34;
  margin-bottom: 0.75rem;
}

.collection-description {
  color: #0B1B34;
  opacity: 0.7;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2D6CF6;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.collection-link:hover {
  gap: 0.75rem;
  color: #1c5ae3;
}

/* Collection Badge */
.collection-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}

/* Collections Actions */
.collections-actions {
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}


/* Decorative Shapes */
.decorative-shape {
  position: absolute;
  z-index: 1;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: rgba(45, 108, 246, 0.05);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 10%;
  right: 5%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: rgba(255, 200, 74, 0.05);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: 20%;
  left: 5%;
  animation: float 10s ease-in-out infinite 1s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: rgba(34, 198, 181, 0.05);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  top: 60%;
  right: 15%;
  animation: float 12s ease-in-out infinite 2s;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Staggered animation for collection cards */
.collections-grid .collection-card:nth-child(1) {
  animation-delay: 0.1s;
}

.collections-grid .collection-card:nth-child(2) {
  animation-delay: 0.2s;
}

.collections-grid .collection-card:nth-child(3) {
  animation-delay: 0.3s;
}

.collections-grid .collection-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .taalim-collections {
    padding: 3rem 1rem;
  }
  
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .collection-image {
    height: 200px;
  }
}/* End custom CSS */