
.hero-content h1 {
  font-size: 32px;
  margin: 0 0 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

.hero-content p {
  font-size: 16px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}




.cta-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0px 0;
  background-color: #fff;
  box-sizing: border-box;
  margin: 0;
}

.cta-container .hero-btn {
  height: 55px;
  padding: 15px 25px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-container .primary-btn {
  background-color: #DE3426;
  color: #fff;
}

.cta-container .primary-btn:hover {
  background-color: #c42e21;
}

.cta-container .secondary-btn {
  background-color: #888888;
  color: #fff;
}

.cta-container .secondary-btn:hover {
  background-color: #666666;
}



.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
  background-color: #fff;
  box-sizing: border-box;
  min-height: 100vh;  
  margin-bottom: 0;
}

.image-wrapper {
  position: relative;              /* 🔑 makes buttons stay inside */
  margin-top: auto;
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.5s ease;
  overflow: hidden;

  /* 🔥 Background image */
  background-image: url("../Ressyn-images/investor-alt.png");
  background-size: contain;   
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;    
}

.hover-buttons {
  position: absolute;             /* inside parent */
  top: 50%;                       /* vertically centered */
  right: 5%;                      /* space from right */
  transform: translateY(-50%);    /* adjust vertical alignment */
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;                     /* hidden until visible */
  pointer-events: none;
  transition: opacity 0.6s ease;
  min-width: 250px;
  z-index: 2;
}

.hover-buttons button {
  background-color: white;
  color: black;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(10px);
  animation: none;
}

/* Animation */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Optional overlay */
.button-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  z-index: -1;
}



/* partners path 
.partners-section {
  background-color: #fff;
  padding: 40px 0;
  text-align: center;
}

.partners-section h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 30s linear infinite;
  align-items: center;
}

.logo-track img {
  height: 50px;
  margin: 0 40px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

Fading edges 
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}
*/


/* Section 5 Styles */
.section-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-5 h2 {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    line-height: 1.2;
}

.element {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.img-container {
    flex: 1;
    max-width: 600px;
}

.img-cover {
    width: auto;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.content-container {
    flex: 1;
    max-width: 500px;
}

.content-container img {
    max-width: 150px;
    margin-bottom: 20px;
}

.section-5 p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    text-align: justify;
    margin-bottom: 30px;
}

.demo-btn {
    background: linear-gradient(135deg, #DE3426 0%, #b82a1f 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-btn:hover {
    background: linear-gradient(135deg, #b82a1f 0%, #DE3426 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(222, 52, 38, 0.3);
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
    .section-5 {
        padding: 60px 20px;
    }
    
    .element {
        gap: 30px;
    }
    
    .img-cover {
        height: 300px;
    }
    
    .section-5 h2 {
        font-size: 2.2em;
        margin-bottom: 50px;
    }
    
    .section-5 p {
        font-size: 1.05em;
    }
}

/* Mobile - Stack vertically */
@media screen and (max-width: 768px) {
    .section-5 {
        padding: 50px 15px;
    }
    
    .element {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .img-container,
    .content-container {
        max-width: 100%;
        width: 100%;
    }
    
    .img-cover {
        height: 250px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-5 h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }
    
    .content-container {
        text-align: center;
    }
    
    .content-container img {
        max-width: 120px;
        margin: 0 auto 20px;
        display: block;
    }
    
    .section-5 p {
        font-size: 1em;
        text-align: center;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .demo-btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .section-5 {
        padding: 40px 10px;
    }
    
    .section-5 h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .element {
        gap: 30px;
    }
    
    .img-cover {
        height: 200px;
        border-radius: 10px;
    }
    
    .content-container img {
        max-width: 100px;
    }
    
    .section-5 p {
        font-size: 0.95em;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .demo-btn {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
        max-width: 200px;
    }
}

/* Very Small Mobile */
@media screen and (max-width: 320px) {
    .section-5 {
        padding: 30px 5px;
    }
    
    .section-5 h2 {
        font-size: 1.6em;
    }
    
    .img-cover {
        height: 180px;
    }
    
    .content-container img {
        max-width: 80px;
    }
}








 .footer {
            background-color: #242323;
            color: #fff;
            padding: 40px 20px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-logo {
            display: flex;
            flex-direction: column;
        }

        .footer-logo img {
            max-width: 60px;
            margin-bottom: 15px;
        }

        .footer-logo h4 {
            font-size: 1.1em;
            font-weight: 600;
        }

        .footer-item h4 {
            font-size: 1em;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .footer-item p {
            font-size: 0.9em;
            margin-bottom: 8px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .footer-item p:hover {
            color: #ccc;
        }

        .app-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .app-btn {
            padding: 10px 15px;
            background: #000;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 0.85em;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .app-btn:hover {
            background: #333;
        }

        .social-section {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons i {
            font-size: 1.5em;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .social-icons i:hover {
            color: #ccc;
        }

        .footer-divider {
            width: 100%;
            height: 1px;
            background: #555;
            border: none;
            margin: 20px 0;
        }

        .footer-bottom {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: 0.85em;
        }

        .language-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            background: #000;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 0.85em;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .language-btn:hover {
            background: #333;
        }

        .footer-links {
            display: flex;
            gap: 20px;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #ccc;
        }

        /* Tablet Responsive */
        @media (max-width: 1024px) {
            .footer-content {
                grid-template-columns: 2fr 1fr 1fr 1fr;
                gap: 25px;
            }
            
            .app-buttons {
                grid-column: 1 / -1;
                flex-direction: row;
                justify-content: center;
                margin-top: 20px;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .footer {
                padding: 30px 15px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 25px;
                text-align: center;
            }

            .footer-logo {
                align-items: center;
            }

            .social-section {
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .footer-links {
                flex-direction: column;
                gap: 10px;
            }

            .app-buttons {
                flex-direction: row;
                justify-content: center;
                gap: 15px;
            }
        }

        @media (max-width: 480px) {
            .footer {
                padding: 25px 10px;
            }

            .footer-content {
                gap: 20px;
            }

            .app-buttons {
                flex-direction: column;
                align-items: center;
            }

            .app-btn {
                width: 200px;
            }

            .social-icons {
                gap: 20px;
            }

            .social-icons i {
                font-size: 1.8em;
            }
        }



        .page-indicator-btn {
            padding: 1rem 1.5rem;
            background-color: #DE3426;
            color: white;
              margin-bottom: 2rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
        }

        .page-indicator-btn:hover {
            background-color: #b82a1f;
            transform: scale(0.9);
    transition: transform 0.3s ease;
        }



        /* solutions panel block */

        .solutions-section {
      display: flex;
      justify-content: center;

    }


    .solutions-background {
        border-radius: 2rem;
      background-size: cover;
      background-position: center;
      display: flex;
      width: 85%;
      justify-content: center;
      margin-bottom: 2rem;
      align-items: center;
      padding: 1.5rem;
    }

    .finance {
              background-image: url(../Ressyn-images/Carousel-images/finance.jpg); /* Replace with your image path */

    }

    .core{
                    background-image: url(../Ressyn-images/ressyn-cpre/ressyn-hero-section.svg); /* Replace with your image path */
                    height: 100vh;
                    width: 100%;
                    padding: 2rem;

    }
    .agriculture {
              background-image: url(../Ressyn-images/Carousel-images/agriculture.png); /* Replace with your image path */

    }

    .education {
              background-image: url(../Ressyn-images/Carousel-images/learnin.jpg); /* Replace with your image path */

    }

    .overlay {
      background-color: rgba(0, 0, 0, 0.75); /* Dark transparent background */
      padding: 1rem;
      border-radius: 10px;
      max-width: 90%;
      width: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      color: #fff;
    }

    .left, .right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    text-align: center;
    margin-bottom: 0;
    margin-bottom: 2rem;


    }

    .overlay p {
      margin-bottom: 2rem;
      width: 60%;
    }

    .right {
      align-items: center;
    }



.right-block {
  list-style: none; /* remove default bullet */
  padding: 1rem;
background: white;
border-radius: 5px;
color: black;
display: inline-block;
text-align: center;
}


.right-block p{
margin:1rem;
}


.right-block li {
  position: relative;
  display: flex;
  color: black;
  text-align: left;
  padding-left: 1.5rem; /* space for the icon */
  margin-bottom: 1rem;
  align-items: center;
}

.right-block li::before {
  content: "";
        background: white;
      border-radius: 5px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url(../Ressyn-images/cards/card-icon.png) no-repeat center/contain;
}

    .right-block:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    }

    




    @media (max-width: 768px) {
      .overlay {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
      }

      .left, .right {
        align-items: center;
        text-align: center;
      }
    }


    /* title with logo */
    .title-with-logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      margin-bottom: 0;
    }

    .title-with-logo img {
      height: 6rem;
      width: 6rem;
      object-fit: contain;
      margin: 0;
      padding: 0;
    }





    /* closing-image-block */
    
        .closing-image-section {
      display: flex;
      justify-content: center;

    }


    .closing-image-background {
        position: relative;
      background-size: cover;
      background-position: center;
      width: 100%;
      height: 100vh;
      display: flex;
    background-image: url(../Ressyn-images/Solutions-pictures/closing-image.png);

    }

    
.closing-image-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;          
  align-items: center;     
  gap: 0.5rem;             
}

.closing-image-logo img {
width: 2.5rem;  
height: auto;
}

.closing-image-logo h1,
.closing-image-logo h2,
.closing-image-logo h3,
.closing-image-logo h4,
.closing-image-logo h5,
.closing-image-logo h6 {
    color:black ;
  margin: 0; 
}





.bottom-cards {
  position: absolute;  /* actually places it at the bottom */
  bottom: 0;
  left: 0;
  right: 0;
  display: grid; /* or flex */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  padding: 1rem;
}



/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .closing-image-logo img {
    width: 2rem; /* shrink logo */
  }

  .bottom-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 1.5rem;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .closing-image-logo {
    top: 0.5rem;
    left: 0.5rem;
    gap: 0.25rem;
  }

  .closing-image-logo img {
    width: 1.8rem; /* smaller logo */
  }

  .closing-image-logo h1,
  .closing-image-logo h2,
  .closing-image-logo h3 {
    font-size: 1rem; /* smaller text */
  }

  .bottom-cards {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 1rem;
    padding: 0.5rem;
  }

  .bottom-cards .right-block {
    text-align: center; /* center content on mobile */
  }

  .bottom-cards button {
    width: 100%; /* full width button on mobile */
  }
}



/* slider image */
.slider {
      background-image: url(../Ressyn-images/ressyn-cpre/slider.png);
              position: relative;
      background-size: cover;
      background-position: center;
      width: 100%;
      height: 100vh;
      display: flex;

}

    .overlay--slider {
      padding: 1rem;
      border-radius: 10px;
      max-width: 90%;
      width: auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      color: #fff;
    }

    .left--slider, .right--slider {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    text-align: center;
    margin-bottom: 0;
    margin-bottom: 2rem;
    }