body{
    background: url('../images/home/about-bg.jpg') no-repeat center/cover;
}

.hero{
  min-height: calc(100vh - 70px);
}

.about-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 90px;
    padding: 40px;
}

.about-container .about-con{
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-container .about-image img{
    width: 500px;
    max-width: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.about-container .about-content{
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-container .about-content .about-header{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-container .about-content .about-header .about-subtitle{
    color: #2E7D32; 
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-container .about-content .about-header .about-title{
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.about-container .about-content .about-header .about-line{
    width: 100%;
    height: 4px;
    background: #111;
    border-radius: 2px;
}

.about-container .about-content .about-description p{
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
    text-align: justify;
}


.history {
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 60px;
  gap: 20px;
}

.history-header{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.timeline-desc {
  font-size: 14px;
  color: #222;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  flex: 1;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 62px; /* Start at the first circle (adjusted for padding and circle position) */
  left: 50%;
  width: 4px;
  height: calc(100% - 120px); /* Reduce height to stop at the last circle */
  background: #ccc;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-content {
  border: 2px solid #006b2f;
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  display: inline-block;
}

.timeline-year {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #0a6b2e;
}

.timeline-item.left .timeline-year {
  right: -80px;
}

.timeline-item.right .timeline-year {
  left: -80px;
}

/* Circles on the line */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: #0a6b2e;
  border-radius: 50%;
  border: 3px solid #edf7ed;
  transform: translateY(-50%);
  z-index: 2;
}

.timeline-item.left::before {
  left: calc(100% - 11px); /* Aligns circle to the right edge of left items */
}

.timeline-item.right::before {
  left: -11px; /* Aligns circle to the left edge of right items */
}


.awards {
  text-align: center;
  padding: 60px 20px;
}

.award-subtitle {
  color: #000;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.award-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
  margin-bottom: 55px;
}

.award-title span {
  color: #0a6b2e;
  font-family: "Great Vibes", cursive;
  font-weight: 500;
}

/* Container for all awards */
.award-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 80px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual award item */
.award-item {
  display: flex;
  align-items: center;
  width: 400px;
  gap: 20px;
}

/* Award image inside circular leaves */
.award-image {
  width: 160px;
  height: 160px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Laurel_wreath.svg/240px-Laurel_wreath.svg.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-image img {
  width: 100%;
  height: auto;
}

/* Award details */
.award-info {
  text-align: left;
  flex: 1;
}

.award-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0a6b2e;
  position: relative;
  margin-bottom: 8px;
}

.award-info h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ccc;
}

.award-info p {
  font-size: 14px;
  color: #222;
  margin-top: 8px;
  line-height: 1.4em;
}


.other-businesses {
  text-align: center;
  position: relative;
  padding: 40px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.business-header{
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 40%;
}

.business-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.business-description{
  color: #222;
}

/* Radial Layout Container */
.radial-container {
  position: relative;
  width: 500px;
  height: 500px;
}

/* Center Logo (Coop) */
.coop-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: url('../images/logo.png');
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.8rem;
  color: #2E7D32;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Business Nodes */
.business-node {
  position: absolute;
  width: 130px;
  height: 130px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  z-index: 5;
  padding: 12px;
  text-align: center;
  line-height: 1.3;

  /* Important: These ensure background image + text overlay works well */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;                    /* Better contrast on images */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Optional: Dark overlay for better text readability */
.business-node::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  z-index: -1;
}

/* Individual Background Images */
#node1 {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('../images/businesses/school-supplies.png');
}

#node2 {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background-image: url('../images/businesses/bayad-center.jpg');
}

#node3 {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('../images/businesses/printing.jpg');
}

#node4 {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background-image: url('../images/businesses/apartment.png');
}

.business-node h3{
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.35); 
  padding: 5px;
  font-size: 1rem;
}