/* ===== HERO SECTION CSS STARTS HERE ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(107deg, rgb(0 0 0 / 95%) 0%, rgb(0 24 59 / 10%) 50%, rgb(226 230 235 / 0%) 100%), url("../images/assembly/hero-bg.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 123, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== BADGE ===== */
.badge-custom {
    background: linear-gradient(135deg, rgba(30, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
    color: #5aa9ff;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(30, 123, 255, 0.3);
}

/* ===== HERO TITLE ===== */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: #1e7bff;
    text-shadow: 0 2px 5px rgba(30, 123, 255, 0.5);
}

/* ===== HERO TEXT ===== */
.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d6d9e0;
    max-width: 500px;
}

/* ===== LEFT CONTENT ANIMATION ===== */
.hero-content {
    animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== IMAGE ANIMATION ===== */
.hero-image {
    animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        transform: translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-image img {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite; /* Subtle floating effect */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== BUTTON STYLES ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, #1e7bff, #0d5fe0);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 123, 255, 0.4);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0d5fe0, #1e7bff);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 123, 255, 0.6);
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
    color: #fff;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .hero-section {
        min-height: 90vh;
        text-align: center;
    }
    .hero-content, .hero-image {
        text-align: center;
    }
    .hero-text {
        margin: 0 auto;
    }
    .d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .hero-image img {
        max-width: 100%;
        padding: 5px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 20px 0;
    }
    .badge-custom {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .d-flex {
        flex-direction: column;
        align-items: center;
    }
}
/* =========== HERO SECTION CSS ENDS HERE =============== */


/* ========== HERE STARTS THE CARD PARTS ============== */
.feature-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.feature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== FEATURE CARD ===== */
.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(13, 110, 253, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.05), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

/* Hover effect */
.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.2);
}

/* ===== ICON STYLE ===== */
.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
}

.icon-wrap i {
  font-size: 26px;
  color: #0d6efd;
  transition: all 0.4s ease;
}

/* Icon hover animation */
.feature-card:hover .icon-wrap {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.feature-card:hover .icon-wrap i {
  color: #fff;
  transform: rotate(-5deg);
}

/* ===== ANIMATIONS ===== */
.animate-left {
  animation: slideLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-zoom {
  animation: zoomUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}

.animate-right {
  animation: slideRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.6s;
}

@keyframes slideLeft {
  0% {
    transform: translateX(-60px) scale(0.95);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(60px) scale(0.95);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes zoomUp {
  0% {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
  .feature-card {
    padding: 28px 24px;
  }
  .icon-wrap {
    width: 56px;
    height: 56px;
  }
  .icon-wrap i {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .feature-section {
    padding: 40px 0;
  }
  .feature-card {
    padding: 24px 20px;
    text-align: center;
  }
  .icon-wrap {
    margin: 0 auto 20px;
  }
}

@media (max-width: 576px) {
  .feature-card {
    padding: 20px 16px;
  }
  .icon-wrap {
    width: 50px;
    height: 50px;
  }
  .icon-wrap i {
    font-size: 22px;
  }
}
/* ========== HERE ENDS THE CARD PARTS ============== */



/* ===========================ASSEMBLY PROCESS  CSS STARTS HERE ================ */
/* ===== PROCESS SECTION ===== */
.assembly-process {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  overflow: hidden;
  position: relative;
}

.assembly-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* Connecting line for process flow (desktop only) */
.process-row::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  height: 2px;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.6), rgba(13, 110, 253, 0.3));
  z-index: 0;
  display: block;
}

/* ===== CARD ===== */
.process-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(13, 110, 253, 0.1);
  position: relative;
  z-index: 1;
  opacity: 0;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.05), transparent);
  transition: left 0.5s ease;
  border-radius: 20px;
}

/* Hover effect (lift and enhance) */
.process-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 60px rgba(13, 110, 253, 0.25);
  border-color: rgba(13, 110, 253, 0.2);
}

.process-card:hover::before {
  left: 100%;
}

/* ===== ICON ===== */
.icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #243447, #1a252f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.icon-circle i {
  font-size: 26px;
  color: #ffffff;
}

/* Number badge */
.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Icon hover */
.process-card:hover .icon-circle {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

/* ===== TEXT ===== */
.process-card p {
  color: #6c757d;
  margin-top: 10px;
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
.animate-up {
  animation: fadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  0% {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
  .process-row::before {
    width: calc(100% - 20px);
  }
}

@media (max-width: 992px) {
  .process-row::before {
    display: none; /* Hide connecting line on tablets */
  }
  .process-card {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .assembly-process {
    padding: 40px 0;
  }
  .process-card {
    padding: 28px 20px;
    text-align: center;
  }
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  .icon-circle i {
    font-size: 24px;
  }
  .step-badge {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .process-card {
    padding: 24px 16px;
  }
  .icon-circle {
    width: 55px;
    height: 55px;
  }
  .icon-circle i {
    font-size: 22px;
  }
}
/* =========================== ASSEMBLY PROCESS CSS ENDS HERE ================ */


/* =========================== ASSEMBLY METHODS CSS STARTS HERE ================ */
/* ===== ASSEMBLY METHODS SECTION ===== */
.assembly-methods {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.assembly-methods::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.section-header h2,
.section-header p {
  opacity: 0;
  transform: translateX(-60px);
  animation: textSlideIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.section-header p.delay-1 {
  animation-delay: 0.3s;
}

/* Grid */
.assembly-grid {
  max-height: 320px; /* Default for larger screens */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .assembly-grid {
    max-height: 400px; /* Slightly taller on tablets for better fit */
  }
}

@media (max-width: 768px) {
  .assembly-grid {
    max-height: 280px!important; /* Remove max-height on mobile for natural stacking and scrolling */
  }
}

@media (max-width: 576px) {
  .assembly-grid {
    max-height: none; /* Ensure full flexibility on small screens */
  }
}
/* Cards */
.assembly-card {
  position: relative;
  overflow: hidden;

  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 60%;
  min-height: 300px; /* Ensures consistent height */
}

.assembly-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradient overlay for text visibility */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

/* Hover zoom effect */
.assembly-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

.assembly-card:hover img {
  transform: scale(1.1);
}

/* Label */
.assembly-card .label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-size: 1.2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* Image entrance animation */
.image-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: imageFadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.image-animate.delay-1 { animation-delay: 0.4s; }
.image-animate.delay-2 { animation-delay: 0.6s; }
.image-animate.delay-3 { animation-delay: 0.8s; }
.image-animate.delay-4 { animation-delay: 1s; }

/* Animations */
@keyframes textSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes imageFadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {

  .assembly-card {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .assembly-methods {
    padding: 40px 0;
  }
  .assembly-card {
    min-height: 260px;
  }
  .assembly-card .label {
    font-size: 1rem;
    bottom: 15px;
    left: 15px;
  }
}

@media (max-width: 576px) {
  .assembly-card {
    min-height: 260px;
  }
  .assembly-card .label {
    font-size: 0.9rem;
  }
}
/* =========================== ASSEMBLY METHODS CSS ENDS HERE ================ */


/* =========================== ASSEMBLY NEEDS CSS STARTS HERE ================ */
/* ===== ASSEMBLY NEEDS SECTION ===== */
.assembly-needs-section {
  background: hsl(210 29% 24%); /* Changed to the specified HSL color */
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: white; /* Make default text color white for the section */
}

.assembly-needs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Text animation */
.animate-text {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideText 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-text.delay-1 { animation-delay: 0.3s; }
.animate-text.delay-2 { animation-delay: 0.5s; }
.animate-text.delay-3 { animation-delay: 0.7s; }
.animate-text.delay-4 { animation-delay: 0.9s; }

@keyframes slideText {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Highlight text */
.highlight-text {
  color: #0d6efd !important; /* Ensure it overrides Bootstrap */
  font-weight: 700;
}

/* Checklist icons */
.checklist i {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.checklist p:hover i {
  transform: scale(1.1);
}

/* Cards */
.need-card {
  height: 100%;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  color: #333; /* Keep card text dark for contrast on light background */
}

.need-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.05), transparent);
  transition: left 0.5s ease;
}

.need-card i {
  font-size: 32px;
  margin-bottom: 15px;
  display: inline-block;
  transition: all 0.4s ease;
}

/* Hover effect */
.need-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
  border-color: rgba(13, 110, 253, 0.2);
}

.need-card:hover::before {
  left: 100%;
}

.need-card:hover i {
  transform: rotate(10deg) scale(1.1);
}

/* Card entrance animation */
.card-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: fadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.card-animate.delay-1 { animation-delay: 0.4s; }
.card-animate.delay-2 { animation-delay: 0.6s; }
.card-animate.delay-3 { animation-delay: 0.8s; }
.card-animate.delay-4 { animation-delay: 1s; }

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Button style */
.btn-primary-custom {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #0b5ed7, #0d6efd);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* Responsive spacing */
@media (max-width: 991px) {
  .assembly-needs-section {
    padding: 70px 0;
  }
  .need-card {
    padding: 25px;
  }
  .need-card i {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .assembly-needs-section {
    padding: 50px 0;
  }
  .need-card {
    padding: 20px;
  }
  .need-card i {
    font-size: 26px;
  }
  .checklist p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .need-card {
    padding: 18px;
  }
  .need-card i {
    font-size: 24px;
  }
  .btn-primary-custom {
    width: 100%;
  }
}
/* =========================== ASSEMBLY NEEDS CSS ENDS HERE ================ */


/* =========================== solar fixure css strarts hereh =============== */
.case-study-section {
  padding: 80px 0;
}

.case-study-wrapper {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

/* TEXT SIDE */
.case-text {
  padding: 60px;
}
.case-text h2{
  font-weight: 700;
}

.case-text .badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  border-color: #0b5ed7;
  color: #0b5ed7;
}

/* Quote box */
.quote-box {
  margin-top: 30px;
  padding: 20px 25px;
  border-left: 4px solid currentColor;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

/* IMAGE SIDE */
.case-image {
  position: relative;
  overflow: hidden;
  height: 27rem;
}

.case-image img {
  width:100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Hover image effect */
.case-image:hover img {
  transform: scale(1.08) rotate(0.5deg);
}

/* TEXT ANIMATION */
.animate-text {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideText 1s ease forwards;
}

.animate-text.delay-1 { animation-delay: 0.2s; }
.animate-text.delay-2 { animation-delay: 0.4s; }
.animate-text.delay-3 { animation-delay: 0.6s; }

@keyframes slideText {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* IMAGE ANIMATION */
.image-animate {
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  animation: imageReveal 1.2s ease forwards;
  animation-delay: 0.6s;
}

@keyframes imageReveal {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .case-text {
    padding: 40px 30px;
  }

  .case-study-section {
    padding: 70px 0;
  }
}
/* =========================== solar fixure css ends  hereh =============== */

/* ====================================consult part csss start here ==================  */
/* ===== MS CTA SECTION ===== */
.ms-cta-section {
  background: linear-gradient(135deg, #2f5be7 0%, #1e4fd8 50%, #0d6efd 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  padding: 80px 0;
  animation: floatSection 6s ease-in-out infinite; /* Subtle floating effect */
}

.ms-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes floatSection {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Title animation */
.ms-cta-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Subtitle animation */
.ms-cta-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.4s;
}

/* Button styling */
.ms-cta-btn {
  background: linear-gradient(135deg, #ffffff, #f1f4ff);
  color: #2f5be7;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.8s;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ms-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(47, 91, 231, 0.2), transparent);
  transition: left 0.5s ease;
}

.ms-cta-btn:hover::before {
  left: 100%;
}

/* Button hover */
.ms-cta-btn:hover {
  background: linear-gradient(135deg, #f1f4ff, #ffffff);
  color: #1e4fd8;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .ms-cta-section {
    padding: 70px 0;
  }
  .ms-cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .ms-cta-section {
    padding: 60px 0;
  }
  .ms-cta-title {
    font-size: 2.2rem;
  }
  .ms-cta-subtitle {
    font-size: 1rem;
  }
  .ms-cta-btn {
    padding: 14px 32px;
  }
}

@media (max-width: 768px) {
  .ms-cta-section {
    padding: 50px 0;
  }
  .ms-cta-title {
    font-size: 1.8rem;
  }
  .ms-cta-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
  .ms-cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .ms-cta-section {
    padding: 40px 0;
  }
  .ms-cta-title {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
  }
  .ms-cta-subtitle {
    font-size: 0.9rem;
  }
  .ms-cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }
}
/* ====================================consult part csss ends here ==================  */