body {
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
     margin: 0;
     padding: 0;
     background: #f9fbfd;
     color: #222;
 }

.about {
  height: auto;
  background: #f9fbfd;
  color: #222;
  display: flex;
  justify-content: center;
  padding: 40px;
  overflow-x: hidden; /* prevent unwanted horizontal scroll for container */
}

.about-section {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Text */
.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1d3557;
  position: relative;
  transition: transform 0.3s ease;
}

.about-text h2:hover {
  transform: scale(1.1);
}

.about-text h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #093754;
  display: block;
  margin-top: 10px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out 0.3s;
}

.about-section.visible .about-text h2::after {
  transform: scaleX(1);
}

.about-text p {
  font-size: 18px;
  line-height: 1.5;
  color: #444;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}

.about-section.visible .about-text p {
  opacity: 1;
  transform: translateY(0);
}

/* Images */
.about-images {
  display: grid;
  justify-content: center;
  align-items: flex-start;
  /* overflow-x: auto; allow scroll if smaller screen */
  /* scrollbar-width: thin; nice scrollbar for Firefox */
}

.about-images img {
  width: 570px; 
  height: 450px;
  object-fit: cover; /* keeps image neat */
  transition: transform 0.3s ease;
  padding-top: 50px;
  padding-bottom: 10px;
}

.about-images img:hover {
  transform: scale(1.05);
}

/* Responsive: Stack layout */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-images {
    justify-content: center;
    overflow-x: auto;
  }
}

/* Extra small screens: allow scroll */
@media (max-width: 600px) {
  .about-images img {
    width: 570px; /* keep original size */
    height: 500px;
  }
}



 .about-founder-section {
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
     margin: 0;
     padding: 0;
     color: #fff;
     /* line-height: 1.7; */
     background: linear-gradient(135deg, #1d3557, #457b9d);
 }

 .about-founder {
     max-width: 1200px;
     margin: auto;
     padding: 20px;
     display: grid;
     grid-template-columns: 1fr 1.5fr;
     align-items: center;
     gap: 50px;
 }

 .founder-img img {
     width: 100%;
     border-radius: 16px;
     object-fit: cover;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease;
 }

 .founder-img img:hover {
     transform: scale(1.03);
 }

 /* .founder-text h2 {
     font-size: 36px;
     margin-bottom: 20px;
     color: #f1faee;
     position: relative; */
     .founder-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #f1faee;
    position: relative;

    /* Animation properties */
    opacity: 0;                     /* start invisible */
    transform: translateY(-30px);   /* start slightly above */
    animation: fadeSlideDown 1s ease forwards; /* run animation */
}

/* Keyframes for sliding down and fading */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



 .founder-text h2::after {
     content: "";
     width: 80px;
     height: 4px;
     background: #a8dadc;
     display: block;
     margin-top: 10px;
     border-radius: 2px;
     
 }

/* Founder paragraph animation */
.founder-text p {
    font-size: 18px;
    color: #f1faee;
    margin-bottom: 15px;
    opacity: 0;                  /* start hidden */
    transform: translateY(20px); /* slide up */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quote animation */
.quote {
    margin: 30px 0;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    color: #ffdd57;
    border-left: 4px solid #ffdd57;
    padding-left: 15px;
    opacity: 0;                  /* start hidden */
    transform: scale(0.9);       /* slightly smaller */
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

/* When visible (scroll or hover) */
.founder-text.visible p {
    opacity: 1;
    transform: translateY(0);
}

.founder-text.visible .quote {
    opacity: 1;
    transform: scale(1);
}

/* Optional: Hover effect for quote */
.quote:hover {
    transform: scale(1.05);       /* slight pop on hover */
    color: #fff176;               /* subtle color change */
}

 /* Responsive */
 @media (max-width: 900px) {
     .about-founder {
         grid-template-columns: 1fr;
         text-align: center;
     }

     .founder-img img {
         max-width: 400px;
         margin: auto;
     }

     .founder-text h2::after {
         margin-left: auto;
         margin-right: auto;
     }
 }

.excites-us-section-container {
     max-width: 1200px;
     width: 100%;
     display: flex;
     flex-direction: row;
     background: linear-gradient(to bottom right, #e0f2f7, #c0e0f0);
     border-radius: 1.5rem;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
     overflow: hidden;
     box-sizing: border-box;
     margin: 2rem auto;
 }

 .excites-us-text-column {
     flex: 1;
     padding: 3rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
     text-align: left;
     box-sizing: border-box;
 }

 .excites-us-image-column {
     flex: 1;
     display: flex;
     justify-content: center;
     align-items: center;
     overflow: hidden;
     background-color: #d8edf7;
     min-height: 400px;
 }

 .excites-us-image-column img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }
/* Heading animation */
.excites-us-main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;                 /* start hidden */
    transform: translateY(20px); /* slide up */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Paragraph animation */
.excites-us-text-column p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px); /* slide up */
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.excites-us-text-column p:last-of-type {
    margin-bottom: 0;
}

/* When visible (scroll into view) */
.excites-us-section-container.visible .excites-us-main-heading,
.excites-us-section-container.visible .excites-us-text-column p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive media queries remain unchanged */
@media (max-width: 1024px) {
    .excites-us-section-container {
        flex-direction: column;
    }

    .excites-us-text-column {
        padding: 2.5rem;
    }

    .excites-us-image-column {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .excites-us-section-container {
        border-radius: 1rem;
    }

    .excites-us-text-column {
        padding: 1.5rem;
    }

    .excites-us-main-heading {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .excites-us-text-column p {
        font-size: 0.95rem;
    }

    .excites-us-image-column {
        min-height: 250px;
        order: -1;
        border-radius: 1rem 1rem 0 0;
    }
}






















 /* Container to hide overflow */
.banner-title {
  display: inline-block;   /* wraps text tightly */
  overflow: hidden;        /* hides text before animation */
  height: 1em;             /* adjust to your text height */
  transition: transform 0.3s ease; /* smooth hover animation */
}

/* Hover effect */
.banner-title:hover {
  transform: scale(1.1); /* increase size on hover */
}

/* Word animation */
.banner-title span {
  display: inline-block;
  transform: translateY(-100%); /* start above */
  opacity: 0;
  animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
  to {
    transform: translateY(0); /* final position */
    opacity: 1;
  }
}
