/* General Reset */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Promo Banner */
.promo-banner {
    position: absolute;
    top: 10%;
    width: 100%;
    height: 7%;
    background-color: #4a6473;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    overflow: hidden; /* Ensures no scrollbar */
}

.promo-banner h2 {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
    margin: 0; /* Remove any default margin to avoid shifting */
}

/* Scroll Left Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* White background */
  z-index: 9999; /* Stay on top */
}

/* Hide content until fully loaded */
.hidden {
  display: none;
}

  
  
  /* about Section */
  .about-section {
    background: url('../images/colse-up-solar-panels-sunset.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  
  .about-section h1 {
    font-size: 3rem;
    color: white;
    font-weight: bold;
    margin-top: 15%;
    margin-bottom: 5%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }

  
/* solar section starts */

.solar-section {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  margin-top: 4%;
  margin-bottom: 4%;
  word-wrap: break-word; /* Ensures long words break and don't overflow */
}

.solar-section h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #4a6473;
  margin-bottom: 50px;
  word-wrap: break-word; /* Prevents heading from overflowing */
}

.solar-section p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 15px;
  text-align: justify;
  word-wrap: break-word; /* Prevents text overflow in paragraphs */
}

.solar-section strong {
  font-weight: 700;
}

/* For 1000px and below */
@media (max-width: 1000px) {
  .solar-section h2 {
      font-size: 1.9rem;
      margin-bottom: 40px;
  }

  .solar-section p {
      font-size: 1.3rem;
      margin-bottom: 12px;
  }
}

/* For 900px and below */
@media (max-width: 900px) {
  .solar-section h2 {
      font-size: 1.8rem;
      margin-bottom: 30px;
  }

  .solar-section p {
      font-size: 1.2rem;
      margin-bottom: 10px;
  }
}

/* For 800px and below */
@media (max-width: 800px) {
  .solar-section {
      width: 90%;
      padding-left: 5%;
      padding-right: 5%;
  }

  .solar-section h2 {
      font-size: 1.7rem;
      margin-bottom: 25px;
  }

  .solar-section p {
      font-size: 1.1rem;
      margin-bottom: 8px;
  }
}

/* For 700px and below */
@media (max-width: 700px) {
  .solar-section h2 {
      font-size: 1.6rem;
      margin-bottom: 20px;
  }

  .solar-section p {
      font-size: 1.1rem;
      margin-bottom: 7px;
  }
}

/* For 600px and below */
@media (max-width: 600px) {
  .solar-section h2 {
      font-size: 1.5rem;
      margin-bottom: 15px;
  }

  .solar-section p {
      font-size: 1.0rem;
      margin-bottom: 6px;
  }
}

/* For 500px and below */
@media (max-width: 500px) {
  .solar-section h2 {
      font-size: 1.4rem;
      margin-bottom: 10px;
  }

  .solar-section p {
      font-size: 0.95rem;
      margin-bottom: 5px;
  }
}

/* For 400px and below */
@media (max-width: 400px) {
  .solar-section h2 {
      font-size: 1.3rem;
      margin-bottom: 8px;
  }

  .solar-section p {
      font-size: 0.9rem;
      margin-bottom: 4px;
  }
}

/* For 300px and below */
@media (max-width: 300px) {
  .solar-section h2 {
      font-size: 1.2rem;
      margin-bottom: 6px;
  }

  .solar-section p {
      font-size: 0.85rem;
      margin-bottom: 3px;
  }
}

/* For 200px and below */
@media (max-width: 200px) {
  .solar-section h2 {
      font-size: 1rem;
      margin-bottom: 4px;
  }

  .solar-section p {
      font-size: 0.8rem;
      margin-bottom: 2px;
  }
}

/* For 100px and below */
@media (max-width: 100px) {
  .solar-section h2 {
      font-size: 0.9rem;
      margin-bottom: 2px;
  }

  .solar-section p {
      font-size: 0.75rem;
      margin-bottom: 1px;
  }
}

/* solar section ends */


/* sakthi panels starts  */

.sakthi_panel img{
  width: 100%;
  height: auto;
}


/* sakthi panels ends */

/* vision mission starts  */

.vission_mission img{
  width: 100%;
  height: auto;
}



/* vision mission ends  */


/* sakthi group content starts  */

.about_headings {
  display: flex; /* Enables Flexbox */
  justify-content: center; /* Centers horizontally */
}

.about_headings h1 {
  color: goldenrod;
  text-align: center;
  word-spacing: 5px;
  max-width: 1000px;
  font-size: 2.6rem;
}


.about_header {
display: flex;
align-items: center;
margin-left: 15%;
width: 70%;
margin-top: 4px;
gap: 5%;
}

.about_logo {
flex: 0 0 15%; /* Adjust logo width */
display: flex;
justify-content: center;
align-items: center;
}

.about_logo img {
  width: 250px; /* Adjust width to make it smaller */
  height: 250px; /* Adjust height to maintain circular shape */
  border-radius: 50%; /* Circular logo */
}


.about_title {
flex: 1; /* Take up remaining space */
padding-left: 20px;
}

.about_title h1 {
  text-align: center;
  color: #4a6473; /* Optional: Title color */
  font-weight: bold;
  font-size: 40px;
}

.about_title p {
  width: 90%; /* Set the content width to 90% */
  margin: 0 auto; /* Center align by setting auto margins */
  font-size: 20px; /* Adjust font size as needed */
  line-height: 1.6;
  word-spacing: 3px;
  text-align: justify; /* Maintain justified alignment */
  color: #444; /* Optional: Text color */
}




/* Media Queries for Responsiveness */

/* For 1000px and below */
@media (max-width: 1000px) {
  .about_headings h1{
    font-size: 45px;
  }
  .about_header {
      width: 80%;
      margin-left: 10%;
      gap: 3%;
  }

  .about_logo img {
      width: 220px;
      height: 220px;
  }

  .about_title h1 {
      font-size: 35px;
  }

  .about_title p {
      font-size: 19px;
      width: 90%; /* Set the width to 90% */

  }
}

/* For 900px and below */
@media (max-width: 900px) {
  .about_headings h1{
    font-size: 40px;
  }
  .about_header {
      width: 85%;
      margin-left: 7.5%;
      gap: 2%;
  }

  .about_logo img {
      width: 210px;
      height: 210px;
  }

  .about_title h1 {
      font-size: 30px;
  }

  .about_title p {
      font-size: 19px;
  }
}

/* For 800px and below */
@media (max-width: 800px) {
  .about_headings h1{
    font-size: 38px;
  }
  .about_header {
      width: 90%;
      margin-left: 5%;
      gap: 2%;
  }

  .about_logo img {
      width: 190px;
      height: 190px;
  }

  .about_title h1 {
      font-size: 28px;
  }

  .about_title p {
      font-size: 18px;
  }
}

/* For 700px and below */
@media (max-width: 700px) {
  .about_headings h1{
    font-size: 35px;
  }
  .about_header {
      width: 95%;
      margin-left: 2.5%;
      gap: 1.5%;
  }

  .about_logo img {
      width: 170px;
      height: 170px;
  }

  .about_title h1 {
      font-size: 26px;
  }

  .about_title p {
      font-size: 18px;
  }
}

/* For 600px and below */
@media (max-width: 600px) {
  .about_headings h1{
    font-size: 31px;
  }
  .about_header {
      flex-direction: column;
      align-items: center;
      width: 100%;
      margin-left: 0;
  }

  .about_logo img {
      width: 270px;
      height: 270px;
  }

  .about_title h1 {
      font-size: 24px;
      text-align: center;
  }

  .about_title p {
      font-size: 17px;
      text-align: center;
      word-spacing: 2px;
  }
}

/* For 500px and below */
@media (max-width: 500px) {
  .about_headings h1{
    font-size: 28px;
  }
  .about_logo img {
      width: 250px;
      height: 250px;
  }

  .about_title h1 {
      font-size: 22px;
  }

  .about_title p {
    text-align: center;
    font-size: 17px;
  }
}

/* For 400px and below */
@media (max-width: 400px) {
  .about_headings h1{
    font-size: 25px;
  }
  .about_logo img {
      width: 250px;
      height: 250px;
  }

  .about_title h1 {
      font-size: 20px;
  }

  .about_title p {
      font-size: 15px;
      text-align: center;
  }
}

/* For 300px and below */
@media (max-width: 300px) {
  .about_headings h1{
    font-size: 20px;
  }
  .about_logo img {
      width: 230px;
      height: 230px;
  }

  .about_title h1 {
      font-size: 18px;
  }

  .about_title p {
      font-size: 14px;
  }
}

/* For 200px and below */
@media (max-width: 200px) {
  .about_headings h1{
    font-size: 15px;
  }
  .about_logo img {
      width: 200px;
      height: 200px;
  }

  .about_title h1 {
      font-size: 16px;
  }

  .about_title p {
      font-size: 11px;
  }
}

/* For 100px and below */
@media (max-width: 100px) {
  .about_headings h1{
    font-size: 10px;
  }
  .about_logo img {
      width: 170px;
      height: 170px;
  }

  .about_title h1 {
      font-size: 14px;
  }

  .about_title p {
      font-size: 10px;
  }
}


/* sakthi group content ends  */

  /* evaluation of the Sakthi group starts */

  .evol_img img{
    width: 90%;
    height: auto;
    margin-left: 5%;
    margin-top: 2%;
  }

  

  /* evaluation of the sakthi group ends */

/* sakthi_group_pix */

.sakthi_group_pix{
    color: #4a6473;
    text-align: center;
    margin-bottom: 30px;
}

.sakthi_group_pix img{
    width: 100%;
    height: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}



.renewable-energy-section {
  display: flex; /* Enables side-by-side layout */
  align-items: center; /* Vertically aligns items */
  justify-content: space-between; /* Adds space between content and image */
  gap: 20px; /* Adds space between the columns */
  width: 95%; /* Adjust width as needed */
  margin: 20px auto; /* Centers the section */
  padding: 20px;
  background-color: #f8f9fa; /* Light grey background */
  border: 1px solid #ddd; /* Optional: Border for styling */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.renewable-energy-section .content {
  flex: 2; /* Takes more space for text content */
  text-align: left; /* Aligns text to the left */
}

.renewable-energy-section .image {
  flex: 1; /* Takes less space for the image */
  text-align: center;
}

.renewable-energy-section .image img {
  max-width: 100%; /* Ensures the image is responsive */
  border-radius: 8px; /* Optional: Rounds the image corners */
}

.renewable-energy-section h2 {
  font-size: 34px;
  color: #4a6473; /* Matches the Sakthi Group color scheme */
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.renewable-energy-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #555; /* Slightly dark grey for readability */
  margin-bottom: 15px;
}

.renewable-energy-section ul {
  list-style-type: none; /* Removes bullet points */
  padding: 0;
  margin: 20px 0;
}

.renewable-energy-section ul li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.renewable-energy-section ul li strong {
  color: #4a6473; /* Highlights the title of each point */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .renewable-energy-section {
    flex-direction: column; /* Stacks the content and image vertically */
    text-align: center; /* Center-aligns text for smaller screens */
  }

  .renewable-energy-section .content, 
  .renewable-energy-section .image {
    flex: unset; /* Removes flex grow/shrink on smaller screens */
    width: 100%; /* Ensures full width for both sections */
  }
}

  
  

  /* visionary section starts */

  .visionary-section {
    width: 80%;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    background-color: #f8f9fa; /* Light background color */
    border-radius: 10px;
  }
  
  .visionary-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #4a6473; /* Consistent color */
    margin-bottom: 20px;
  }
  
  .visionaries {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .visionary {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center horizontally */
    justify-content: center;  /* Center vertically */
    text-align: center;  /* Ensure text is also centered */
  }
  
  .visionary img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 10px;  /* Space between image and name */
  }
  
  .visionary h3 {
    margin: 0;  /* Remove any margin around the h3 */
    font-size: 14px;
  }
  
  .linkedin-icon {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    vertical-align: middle;
    display: inline-block;
  }
  
  .linkedin-icon:hover {
    transform: scale(1.2);  /* Slight zoom on hover */
  }
  
  .visionary p {
    font-size: 16px;
    color: #777;
    margin: 5px 0;  /* Space between paragraphs */
  }
  


  /* For screens 1000px and below */
@media (max-width: 1000px) {
  .visionary-section {
    width: 90%;
    padding: 20px;
  }
  .visionary-section h2 {
    font-size: 24px;
  }
  .visionaries {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .visionary {
    flex: 0 0 30%; /* 3 items per row */
    margin-bottom: 20px;
  }
  .visionary img {
    width: 120px;
    height: 120px;
  }
  .visionary h3 {
    font-size: 12px;
  }
  .visionary p {
    font-size: 15px;
  }
}

/* For screens 900px and below */
@media (max-width: 900px) {
  .visionary-section {
    width: 90%;
    padding: 15px;
  }
  .visionary-section h2 {
    font-size: 22px;
  }
  .visionaries {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .visionary {
    flex: 0 0 30%; /* 3 items per row */
    margin-bottom: 20px;
  }
  .visionary img {
    width: 110px;
    height: 110px;
  }
 
  .visionary p {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  .visionaries {
      display: flex;
      flex-wrap: wrap;
      justify-content: center; /* Center the content for smaller screens */
  }

  .visionary {
      flex: 0 0 100%; /* One visionary per row */
      margin-bottom: 30px; /* Add some space between the rows */
  }

  .visionary img {
      width: 150px; /* Increase the image size on smaller screens */
      height: 150px;
  }
  .visionary h3 {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .visionary img {
      width: 130px; /* Adjust image size for smaller screens */
      height: 130px;
  }
}

@media (max-width: 600px) {
  .visionary img {
      width: 110px; /* Slightly smaller image for 600px and below */
      height: 110px;
  }
}

@media (max-width: 500px) {
  .visionary img {
      width: 100px; /* Further reduce image size */
      height: 100px;
  }

  .visionary p {
      font-size: 14px; /* Reduce font size for smaller screens */
  }
}

@media (max-width: 400px) {
  .visionary img {
      width: 90px; /* Reduce image size for very small screens */
      height: 90px;
  }

  .visionary h3 {
      font-size: 16px; /* Adjust font size for names */
  }

  .visionary p {
      font-size: 14px; /* Adjust font size for designation */
  }
}

@media (max-width: 300px) {
  .visionary img {
      width: 80px; /* Even smaller image size for extremely small screens */
      height: 80px;
  }

  .visionary h3 {
      font-size: 14px; /* Adjust font size for names */
  }

  .visionary p {
      font-size: 12px; /* Adjust font size for designation */
  }
}

@media (max-width: 200px) {
  .visionary img {
      width: 70px; /* Reduce the image size even more for very narrow screens */
      height: 70px;
  }

  .visionary h3 {
      font-size: 12px; /* Reduce name font size */
  }

  .visionary p {
      font-size: 10px; /* Reduce designation font size */
  }
}

@media (max-width: 100px) {
  .visionary img {
      width: 60px; /* Minimize image size for extreme small screens */
      height: 60px;
  }

  .visionary h3 {
      font-size: 10px; /* Adjust font size for names */
  }

  .visionary p {
      font-size: 7px; /* Adjust font size for designation */
  }
}

  /* visionary section ends */