.slider-section {
  width: 100% !important;
  height: 120vh !important; /* make sure it increases */
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.slider-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.5) !important;
}


.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 10, 30, 0.8),
    rgba(0, 30, 80, 0.4)
  );
  pointer-events: none;
}
.blogs-section {
  padding: 0px 60px 40px;
  background-color: #f0f8ff;
  text-align: center;
  perspective: 1500px; /* gives 3D depth */
}

.section-title {
 font-size:40px;
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #007bff, #00d4ff, #0fffc1, #007bff);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: moveGradient 5s linear infinite;
}

@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* =======================
   BLOGS SECTION (matches header style)
======================= */

.blogs-section {
  padding: 100px 60px 80px;
  background: radial-gradient(circle at top, rgba(0, 20, 40, 1) 0%, rgba(0, 0, 0, 1) 100%);
  text-align: center;
  perspective: 1500px;
  position: relative;
  z-index: 1;
}

/* glowing animated gradient title */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
color: white; 
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* services CARDS GRID */
.blogs-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

/* glassmorphic 3D cards */
.blog-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  width: 400px;       /* increased width */
  min-height: 450px;  /* increased height */
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 20px;
}
/* glowing border on hover */
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #00f0ff, #007bff, #ff00ff);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

/* image section */
.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card h3 {
  margin: 25px 20px 15px;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg,#00f0ff,#00ff99,#ff00ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}



.blog-card p {
  margin: 0 20px 20px;
  font-size: 14px;
  color: #ffffff;  /* WHITE TEXT */
}


/* 3D hover lift + glow */
.blog-card:hover {
  transform: translateY(-6px) scale(1.03);
  border:1px solid #00f0ff;
  box-shadow:0 0 25px rgba(0,255,255,0.3);
}


.blog-card:hover img {
  transform: scale(1.1) rotateX(3deg) rotateY(-3deg);
}
/* Blog card icons */
.blog-icon {
  font-size: 50px;
  color: #00f0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.blog-card:hover .blog-icon {
  color:#ff00ff;
  transform: scale(1.15);
}

/* Blog card bullet points */
/* Blog card bullet points with 3D glow animation */
.blog-features {
  margin: 0 20px 20px;
  padding-left: 20px;
  list-style: disc;
  font-size: 15px;
  text-align: left;
  line-height: 1.7;
  color:#ffffff;  /* WHITE TEXT */
}


.blog-features li {
  margin-bottom: 12px;
  line-height: 1.6;
  perspective: 1500px; /* 3D depth */
}

/* glowing animated text effect for each feature */
.feature-text{
  color:#ffffff;
  background:none;
  -webkit-text-fill-color:#ffffff;
}


/* 3D hover effect for feature text */
.blog-card:hover .feature-text {
  transform: translateZ(5px) rotateX(2deg) rotateY(-2deg) scale(1.05);
  text-shadow: 0 0 12px rgba(0,255,255,0.8), 0 0 10px rgba(255,0,255,0.5);
}
/* ======= READ MORE BUTTON STYLING ======= */
.read-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
  padding: 12px 25px;
  background: linear-gradient(135deg, #00f0ff, #007bff);
  color: white;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
  width: fit-content;
  position: relative;
  overflow: hidden;
}



.read-more-btn span,
.read-more-btn i {
  position: relative;
  z-index: 2;
}

.read-more-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-card:hover .read-more-btn::before {
  left: 0;
}

.blog-card:hover .read-more-btn {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
}

.blog-card:hover .read-more-btn i {
  transform: translateX(3px);
}

/* Update blog card padding to accommodate read more button */
.blog-card {
  padding-bottom: 40px !important;
}

/* Responsive design for read more button */
@media (max-width: 768px) {
  .read-more-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .read-more-btn {
    padding: 8px 18px;
    font-size: 12px;
  }
}
/* Gradient animation for text */
@keyframes textGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* responsive layout */
@media (max-width: 768px) {
  .blogs-section {
    padding: 70px 30px;
  }

  .blogs-container {
    flex-direction: column;
    align-items: center;
  }

  .blog-card {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .slider-section {
    height: 700px;
  }
}

@media (max-width: 480px) {
  .slider-section {
    height: 500px;
  }
}
.blog-card p {
  color:#ffffff !important;
}

.blog-features {
  color:#ffffff !important;
}

.blog-features p {
  color:#ffffff !important;
}

/* if you want the gradient gone and text white */
.feature-text {
  background:none !important;
  -webkit-text-fill-color:#ffffff !important;
  color:#ffffff !important;
}
.blog-grid{
  grid-template-columns:repeat(4,1fr) !important;
}
@media(max-width:1024px){
  .blog-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
}
@media(max-width:768px){
  .blog-grid{
    grid-template-columns:1fr !important;
  }
}
/* FIX HERO GAP - DOES NOT AFFECT DESKTOP */
