/* Hero Section */
.about-hero-section {
    background: url('image3/bannerabout.jpg') no-repeat center center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-align: center;
    position: relative;
}

.about-hero-section .hero-content {
    max-width: 800px;
    padding: 20px;
  
    border-radius: 10px;
}

.about-hero-section h1 {
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.about-hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-hero-section .cta-button {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out;
}

.about-hero-section .cta-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive for mobile and tablets */
@media (max-width: 768px) {
    .about-hero-section h1 {
        font-size: clamp(28px, 6vw, 50px);
    }

    .about-hero-section p {
        font-size: 16px;
    }

    .about-hero-section .cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }
}



/* Root fallbacks (edit to your theme vars if needed) */
:root{
  --primary-color: #0d1b2a;
  --secondary-color: #19a974;
  --gray: #5f6b7a;
  --ink: #111;
  --paper: #eef2f5;
  --panel: #ffffff;
  --rule: rgba(0,0,0,.2);
}

/* SECTION WRAPPER */
.about-hero{
  /* padding: 80px 0; */
  background: radial-gradient(900px 300px at 85% 0%, rgba(255,235,130,.55), rgba(255,235,130,0)) ,
              var(--paper);
}

/* CONTAINER */
.about-hero__container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;   /* left slightly wider */
  gap: 48px;
  align-items: center;  /* Center vertically */
  min-height: 100vh;    /* Full screen height */
}

/* LEFT SIDE — Big Type */
.about-hero__left{
  display: flex;
  flex-direction: column;
  justify-content: center;             /* Center content vertically */
  gap: 18px;
  text-align: left;  /* Align text to the left */
}

.about-hero__title{
  font-size: clamp(44px, 8vw, 96px);
  line-height: .92;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  margin: 0 0 24px;
  text-align: left; /* Ensure the title is aligned to the left */
}

.about-hero__role{
  font-size: 14px;
  letter-spacing: .2em;
  font-weight: 600;
  color: #222;
  margin: 0 0 28px;
}

.about-hero__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
  margin-top: 10px;
  text-align: left;  /* Align the button to the left */
}
.about-hero__cta:hover{ transform: translateY(-1px); opacity: .9; }

/* RIGHT SIDE — Panel (Increase the size of the content area) */
.about-panel{
  background: var(--panel);
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  height: auto; /* Ensure panel can expand for larger content */
}

.about-panel__heading{
  font-size: 18px;
  letter-spacing: .18em;
  font-weight: 700;
  color: #111;
  margin: 10px 0;
}

.about-panel__rule{
  height: 1px;
  background: var(--rule);
}

.about-panel__text{
  color: var(--gray);
  line-height: 1.85;
  margin: 14px 0;
  font-size: 16px;
}

.about-panel__links{
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.about-link{
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 3px;
  transition: opacity .2s ease;
}
.about-link:hover{ opacity: .7; }

/* IMAGE GRID BELOW PANEL (Increase image size) */
.about-gallery{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-gallery__item{
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f7f8;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.about-gallery__item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;               /* keeps tidy tiles */
  transition: transform .35s ease, opacity .25s ease;
}
.about-gallery__item:hover img{ transform: scale(1.05); opacity: .96; }

/* RESPONSIVE */
@media (max-width: 1024px){
  .about-hero__container{
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start; /* Ensure proper spacing if right panel becomes taller */
  }
  .about-hero__title{ text-align: left; }
}

@media (max-width: 600px){
  .about-hero{ padding: 56px 0; }
  .about-panel{ padding: 22px; }
  .about-gallery{ grid-template-columns: 1fr; }
  .about-gallery__item img{ aspect-ratio: 16/11; }
}



/* section 2 css */

/* About 2 Section */
/* About 2 Section */
/* About 2 Section */
/* About 2 Section */
/* About 2 Section */
.about-2 {
  padding: 60px 0;
  background-color: #fafafa;
}

.about-2__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.about-2__item {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #19a974, #0d1b2a) 1;
}

.about-2__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-2__icon {
  background-color: #ffffff;
  padding: 10px;
  width: 200px;  /* Increased width */
  height: 150px;  /* Increased height */
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensure image fits within the rectangle */
  border-radius: 8px; /* Slight rounding of corners for a more polished look */
}

.about-2__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image fills the rectangle */
}

.about-2__title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.about-2__text {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.about-2__item:hover .about-2__text {
  color: #0d1b2a;
}

/* Section Title */
.about-2__title-main {
  font-size: 32px;
  font-weight: bold;
  color: #111;
  text-align: center;  /* Centered the title */
  margin-bottom: 40px;
  width: 100%;  /* Ensure it takes full width */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-2__container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-2__item {
    padding: 25px;
  }
}




/* section 3 */

/* About Section 3: Meet Our Team */
.about-section3 {
  /* padding: 60px 0; */
  background-color: #fafafa;
  text-align: center;
}

.about-section3__title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}

.about-section3__container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Reduced gap between cards */
  justify-content: center; /* Align the items centrally */
}

.about-section3__member {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 280px;  /* Adjust the width to fit well */
  text-align: center;
}

.about-section3__member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-section3__name {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.about-section3__role {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}

.about-section3__bio {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  max-height: 90px;
  overflow: hidden;
}

.team-image {
  width: 120px;  /* Increased size of image */
  height: 120px; /* Increased size of image */
  object-fit: cover; /* Ensure the image fills the circle without distortion */
  border-radius: 50%; /* Make the image circular */
  margin-bottom: 20px;
  border: 3px solid #fff; /* Optional: Adds a border around the image */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-section3__container {
    gap: 5px; /* Further reduce the gap on smaller screens */
  }

  .about-section3__member {
    flex-direction: column; /* Stack image and text vertically on smaller screens */
    text-align: center; /* Center-align text for smaller screens */
  }

  .team-image {
    margin-bottom: 20px; /* Add space below the image when stacked */
  }
}

@media (max-width: 480px) {
  .about-section3__container {
    gap: 5px; /* Further reduce the gap on smaller screens */
  }

  .about-section3__member {
    flex-direction: column; /* Stack image and text vertically on smaller screens */
    text-align: center; /* Center-align text for smaller screens */
  }

  .team-image {
    margin-bottom: 20px; /* Add space below the image when stacked */
  }
}




/* About Section 4: Awards & Recognition */
/* About Section 4: Awards & Recognition */
.about-section4 {
  padding: 60px 0;
  background-color: #fafafa;
  text-align: center;
}

.about-section4__title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}

.about-section4__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.about-section4__award {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 80%;  /* Adjust width to fit well within the container */
  display: flex;
  align-items: center; /* Align items in a row */
  gap: 20px; /* Add space between image and text */
  text-align: left; /* Align text to the left */
  flex-direction: row; /* Keep image on the left and text on the right */
}

.about-section4__award:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-section4__award-title {
  font-size: 24px;  /* Increased font size */
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.about-section4__award-description {
  font-size: 16px;  /* Increased font size */
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 500px; /* Limit width of description */
}

.award-content {
  display: flex;
  flex-direction: column; /* Stack the title and description vertically */
  justify-content: center; /* Center the text vertically next to the image */
}

/* Award Image - Increase size */
.award-img {
  width: 150px;  /* Increased the width of the image */
  height: 150px; /* Increased the height of the image */
  object-fit: cover; /* Ensure the image fills the circle without distortion */
  border-radius: 50%; /* Make the image circular */
  margin-bottom: 15px;
  border: 3px solid #fff; /* Optional: Adds a border around the image */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about-section4__container {
    gap: 15px; /* Reduced gap between awards on smaller screens */
  }

  .about-section4__award {
    flex-direction: column; /* Stack image and text vertically on smaller screens */
    text-align: center; /* Center-align text for smaller screens */
  }

  .award-img {
    margin-bottom: 20px; /* Add space below the image when stacked */
  }
}

@media (max-width: 480px) {
  .about-section4__container {
    gap: 10px; /* Reduced gap between awards on smaller screens */
  }

  .about-section4__award {
    flex-direction: column; /* Stack image and text vertically on smaller screens */
    text-align: center; /* Center-align text for smaller screens */
  }

  .award-img {
    margin-bottom: 20px; /* Add space below the image when stacked */
  }
}
