@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-wrapper {
    margin-top: 70px;
    padding: 0;
}

/* @media (max-width:424px) {
    .page-wrapper {
        margin-top: 80px;
        padding: 0;
    }
    
} */
.hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/pmsuryghar_08.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* animation: zoomIn 20s infinite alternate; */
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(93, 176, 114, 0.9) 0%,
            rgba(93, 176, 114, 0.8) 20%,
            rgba(93, 176, 114, 0.6) 40%,
            rgba(93, 176, 114, 0.4) 60%,
            rgba(93, 176, 114, 0.2) 80%,
            rgba(93, 176, 114, 0) 100%);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    font-family: 'Crimson Pro'; 
}

.subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
    font-family: 'IBM Plex Serif', sans-serif;
}

.sesola-page {
    /* font-family: 'Poppins', sans-serif; */
    overflow-x: hidden;
    
}

/* General Styles */
/* Updated Responsive CSS */
.sesola-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
}

.sesola-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/rooftop-3.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.sesola-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(20, 84, 118, 0.95) 0%, rgba(20, 84, 118, 0.8) 50%, rgba(20, 84, 118, 0.4) 100%);
    z-index: 1;
}

.sesola-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sesola-main-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    font-family: 'Crimson Pro';
    margin-bottom: 15px;
}

.sesola-subtitle, .sesola-highlight {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1s forwards;
    font-family: 'IBM Plex Serif', sans-serif;
}

.sesola-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.sesola-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.sesola-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sesola-feature-icon {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
    filter: invert(1);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.sesola-feature-card:hover .sesola-feature-icon {
    transform: scale(1.1);
}

.sesola-feature-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.sesola-feature-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for Mobile Desktop View */
@media (max-width: 1024px) {
    .sesola-hero {
        padding: 50px 15px;
        min-height: 90vh;
    }
    .sesola-main-title {
        font-size: 2.2rem;
    }
    .sesola-subtitle, .sesola-highlight {
        font-size: 1.5rem;
    }
    .sesola-features {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 900px) {
    .sesola-features {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .sesola-hero {
        padding: 60px 15px;
        min-height: auto;
    }
    .sesola-main-title {
        font-size: 2rem;
    }
    .sesola-subtitle, .sesola-highlight {
        font-size: 1.4rem;
    }
    .sesola-features {
        grid-template-columns: 1fr;
    }
    .sesola-feature-card {
        padding: 15px;
    }
}


@media (min-width: 2000px) {
    .sesola-hero-bg, .sesola-overlay {
        max-height: 1000px;
    }
    .sesola-hero {
        min-height: 1000px;
    }
    .sesola-content {
        justify-content: center;
        align-items: center;
        height: 100%;
    }
}

.sesola-projects {
    padding:  20px 0px;
    background-color: #f4f4f4;
    padding-bottom: 50px;
}

.sesola-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
}

.sesola-project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sesola-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.sesola-project-image {
    width: 100%;
    height: clamp(200px, 30vw, 250px);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sesola-project-card:hover .sesola-project-image {
    transform: scale(1.05);
}

.sesola-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(15px, 3vw, 20px);
    background: linear-gradient(transparent, rgba(20, 84, 118, 0.9));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sesola-project-card:hover .sesola-project-info {
    transform: translateY(0);
}

.sesola-project-name {
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    margin-bottom: 5px;
}

.sesola-project-location {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    opacity: 0.9;
}

.sesola-module-type {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #FF6B00;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.sesola-project-card:hover .sesola-module-type {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .sesola-features {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .sesola-project-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (min-width: 1400px) {

    .sesola-content,
    .sesola-features,
    .sesola-project-grid {
        padding: 0;
    }
}


.solution-text {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: justify;
    word-spacing: -0.05em;
    line-height: 1.8;
    font-family: 'IBM Plex Serif', sans-serif;
}


@media (min-width: 992px) {

    .row {
        align-items: center;
    }
}




/* Enhanced styling for the solution section */
.solution-item {
    background-color: #f4f4f4;
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* margin-bottom: 1rem; */
  }
  
  .solution-title {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: #145476;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: justify;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  @media (max-width:376px){
    .solution-title {
        font-family: 'Crimson Pro', serif;
        font-size: clamp(1.8rem, 3vw, 2.2rem);
        color: #145476;
        margin-bottom: 1.5rem;
        line-height: 1.3;
        font-weight: 700;
        text-align: start;
        position: relative;
        padding-bottom: 0.8rem;
      }
  }
  .solution-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #5DB072, #145476);
    border-radius: 3px;
  }
  
  .solution-points {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
  }
  
  .solution-points li {
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
  }
  
  .solution-points li:nth-child(1) { animation-delay: 0.2s; }
  .solution-points li:nth-child(2) { animation-delay: 0.4s; }
  .solution-points li:nth-child(3) { animation-delay: 0.6s; }
  .solution-points li:nth-child(4) { animation-delay: 0.8s; }
  .solution-points li:nth-child(5) { animation-delay: 1.0s; }
  .solution-points li:nth-child(6) { animation-delay: 1.2s; }
  
  .point-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* background-color: rgba(93, 176, 114, 0.05); */
    padding: 0.1rem 1.2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .point-wrapper:hover {
    background-color: rgba(93, 176, 114, 0.1);
    transform: translateX(5px);
  }
  
  .point-icon {
    font-size: 1.5rem;
    color: #5DB072;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
  
  .paragarph {
    font-family: 'IBM Plex Serif', sans-serif;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.6;
    color: #333;
    margin: 0;
  }
  @media (max-width:376px){
    .paragarph {
        font-family: 'IBM Plex Serif', sans-serif;
        font-size: 1.1rem;
        text-align: justify;
        line-height: 1.6;
        color: #333;
        margin: 0;
        word-spacing: -0.15em;
        hyphens: auto;
      }
  }
  .img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
  }
  
  .img-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 176, 114, 0.3), rgba(20, 84, 118, 0.3));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .img-wrapper:hover::before {
    opacity: 1;
  }
  
  .img-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .img-wrapper:hover img {
    transform: scale(1.05);
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @media (max-width: 991px) {
    .solution-item {
      padding: 1.5rem;
    }
    
    .img-wrapper {
      margin-bottom: 2rem;
      transform: none;
    }
    
    .img-wrapper img {
      height: 300px;
    }
  }
  @media (min-width:2000px){
     .img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    width:95%;
  }
  }