/* Banner Section  start*/
.banner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  margin-top: 11vh;
  gap: 0;
}

/* Left Image */
.banner-left {
  flex: 0 0 60%; 
  overflow: hidden;
  animation: slideFromLeft 1s ease forwards;
}

.banner-left img {
  width: 100%;
  height: 90vh;      
  object-fit: cover; 
  display: block;
}

/* Right Heading & Text */
.banner-right {
  flex: 0 0 40%; 
  background-color: cyan;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
  padding: 50px;
  overflow: hidden;
  animation: slideFromRight 1s ease forwards;
}

/* Heading & Paragraph Animation */
.banner-right h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 12vh;
  margin-bottom: 20px;
    text-transform: uppercase;
  line-height: 1.2;
  font-weight: 700;
  opacity: 0;
  transform: translateX(100%);
  animation: slideFadeRight 1s ease forwards;
  animation-delay: 0.3s;
}

.banner-right p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 100%;
  opacity: 0;
  transform: translateX(100%);
  animation: slideFadeRight 1s ease forwards;
  animation-delay: 0.6s;
}

/* Animations */
@keyframes slideFromLeft {
  0% { transform: translateX(-100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideFadeRight {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}



@media (min-width: 768px) and (max-width: 1024px) {
  
  .banner-section {
    flex-direction: row;    
    gap: 0px;
    margin-top: 10vh;
    align-items: center;
  }

  /* Left Image */
  .banner-left {
    flex: 0 0 60%;         
    height: 60vh;              
    animation: slideFromLeft 1s ease forwards;
  }

  .banner-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Right Heading & Text */
  .banner-right {
    flex: 0 0 40%;            
    height: 60vh;             
    padding: 30px 20px;
    background-color: cyan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    animation: slideFromRight 1s ease forwards;
  }

  .banner-right h1 {
    font-size: 8vh;           
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.3s;
  }

  .banner-right p {
    font-size: 16px;          
    line-height: 1.5;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.6s;
  }

  /* Animations */
  @keyframes slideFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  @keyframes slideFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  @keyframes slideFadeRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

}


@media (max-width: 480px) {
  .banner-section {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: flex-start; 
    gap: 0;
    margin-top: 11vh;
  }

  /* Left Image */
  .banner-left {
    flex: 0 0 58%;
    height: 40vh;
    overflow: hidden;
    transform: translateY(-5%); 
    animation: slideFromLeft 1s ease forwards;
  }

  .banner-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Right Heading / Banner */
  .banner-right {
    flex: 0 0 42%;
    height: 40vh;
    padding: 10px;
    background-color: cyan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(5%);
    animation: slideFromRight 1s ease forwards;
  }

  .banner-right h1 {
    margin-top: 1vh;
    font-size: 4vh;
    font-weight: 900;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.3s;
  }

  .banner-right p {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.6s;
  }

  /* Animations */
  @keyframes slideFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  @keyframes slideFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  @keyframes slideFadeRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }
}



/* Large to Extra-Large Screens: 1440px – 3000px */
@media (min-width: 1440px) and (max-width: 3000px) {
  .banner-section {
    display: flex;
    align-items: center;
    justify-content: center;
  
    margin-top: 1vh;
  }

  /* Left Image */
  .banner-left {
    flex: 0 0 60%;
    overflow: hidden;
    animation: slideFromLeft 1s ease forwards;
  }

  .banner-left img {
    width: 100%;
    height: 90vh;                    /* maintain aspect ratio */

    object-fit: cover;
  }

  /* Right Heading & Text */
  .banner-right {
    flex: 0 0 40%;
    background-color: cyan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 2vw, 80px); /* scale padding */
    height:90vh;                     /* height auto for scaling */
    animation: slideFromRight 1s ease forwards;
  }

  .banner-right h1 {
    font-size: clamp(6vh, 6vw, 12vh); /* heading scales with viewport */
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: clamp(15px, 1.5vw, 30px);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.3s;
  }

  .banner-right p {
    font-size: clamp(16px, 1.2vw, 22px); /* paragraph scales */
    line-height: clamp(1.5, 1.8vw, 2);   /* proportional spacing */
    max-width: 100%;
    opacity: 0;
    transform: translateX(100%);
    animation: slideFadeRight 1s ease forwards;
    animation-delay: 0.6s;
  }
}



/* banar section End */





 /* Intro section start */

.about-intro {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  background: #eef2f3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 10px;
  overflow: hidden;
  position: relative;
  gap: 30px;                
  flex-direction: row-reverse; 
}

/* Image Section */
.about-intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-intro-image img {
  width: 100%;
  max-width: 700px;
  margin-top: 5vh;
  height: 105vh;        
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: imageFadeUp 1s ease forwards;
  animation-delay: 0.3s;
}
/* Image Animation */
@keyframes imageFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Section */
.about-intro-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 600px;
  opacity: 0;
  transform: translateY(50px);
  animation: aboutFadeUp 1.2s ease forwards;
  animation-delay: 0.5s;
}

/* Heading */
.about-intro-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #00a0e3;
  margin-bottom: 30px;
  text-transform: capitalize;
  letter-spacing: 1px;
  text-align: left;
}

/* Paragraph */
.about-intro-content p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.9;
  margin: 0;
  padding: 0;
  

}

/* Content Animation */
@keyframes aboutFadeUp {
  0% {
    opacity: 0;
    transform: translateY(70px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Large to Extra-Large Screens: 1440px – 3000px */
@media (min-width: 1440px) and (max-width: 3000px) {
  .about-intro {
    padding: clamp(80px, 5vw, 150px) clamp(60px, 6vw, 180px);
    gap: clamp(50px, 4vw, 100px);                             
    flex-direction: row-reverse;
    align-items: center;
  }

  .about-intro-content {
    max-width: clamp(700px, 30vw, 1000px);                 
    text-align: left;
  }

  .about-intro-content h2 {
    font-size: clamp(2.5rem, 2vw, 4rem);                       
    line-height: 1.2;
  }

  .about-intro-content p {
    font-size: clamp(1rem, 1.2vw, 1.6rem);                   
    line-height: clamp(1.6, 1.8vw, 2.2);                   
  }

  .about-intro-image img {
    max-width: clamp(700px, 50vw, 1200px);                   
    height: auto;                                      
    border-radius: 10px;
    object-fit: cover;
  }
}



/* ----------------- Tablet Responsive: About Intro Section (768px – 1024px) ----------------- */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Container */
  .about-intro {
    flex-direction: column; 
    padding: 50px 25px;
    align-items: center;
    gap: 25px;
    width: 100%;
  }

  /* Image Section */
.about-intro-image {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-intro-image img {
    width: 100%;
    max-width: 100%;
    height: 60vh;         
    max-height: 65vh;     
    object-fit: cover;    
    object-position: bottom;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: imageFadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

  /* Content Section */
  .about-intro-content {
    max-width: 90%;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(50px);
    animation: aboutFadeUp 1.2s ease forwards;
    animation-delay: 0.5s;
  }

  /* Heading */
  .about-intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00a0e3;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: 1px;
    text-align: center;
  }

  /* Paragraph */
  .about-intro-content p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    padding: 0 10px;
    max-height: 55vh;       /* paragraph height matches image */
    overflow: hidden;
  }

  /* Animations */
  @keyframes imageFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  @keyframes aboutFadeUp {
    0% { opacity: 0; transform: translateY(70px); }
    100% { opacity: 1; transform: translateY(0); }
  }
}


/* Mobiles (480px and below) */
@media (max-width: 480px) {
  .about-intro {
    flex-direction: column; 
    padding: 50px 15px;
    align-items: center;
    gap: 1px;
  }

  .about-intro-image img {
    width: 100%;
    height: 45vh; 
    border-radius: 10px;
  }

  .about-intro-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-align: center;
  }

  .about-intro-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
    padding: 0 5px;
  }
}
/* Intro section End*/






/* ================================
   Static Background Block (new)
   ================================ */
.static-bg-block {
  position: relative;
  height: 80vh;
  background: url('../img/main-img/static1.jpg') center center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Overlay layer */
.static-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.0);
  z-index: 1;
  pointer-events: none;
}

/* Content container */
.static-content {
  position: relative;
  z-index: 2;
  padding: 20px 40px;
  border-radius: 12px;
}

/* Heading text */
.static-heading {
  font-size: 50px;
  margin-bottom: 0.5rem;
  font-weight: 700;
  max-width: 800px !important;
  text-shadow: 2px 2px 4px #000;
}

/* =======================
   Mobile Responsive
   ======================= */
@media (max-width: 480px) {
  .static-bg-block {
    height: 50vh;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    position: relative;
  }

  .static-overlay {
    background-color: rgba(0, 0, 0, 0.0);
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .static-content {
    width: 100%;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
  }

  .static-heading {
    font-size: 22px;
    max-width: 100% !important;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  /* Optional: subheading or paragraph */
  .static-content p,
  .static-content .subheading {
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
  }
}
/* ================================
   Static Background Block End
   ================================ */




