.about-heading {
    font-size: 2.0rem;
    font-weight: bold;
    color: black;
    text-align: center;
    position: relative;
    margin-top: 10px;
    width: 100%;
  }
  
  .about-heading::after {
    content: '';
    margin-top:7px;
    width:50%;
    height: 3px;
    background: black;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
  }
  
  .about-heading:hover::after {
    width:70%;
  }

/* About Us Section */

.about-sec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    /* margin: 50px auto; */
    padding:0px 40px;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 40px;
}

/* Left Side: About Content */
.about-cont {
    width: 50%;
    padding-right: 40px;
}

.about-cont h2 {
    font-size: 30px;
    color: #222;
    margin-bottom: 15px;
    margin-top: 0;
}

.about-cont h2 span {
    color: #007bff; /* Blue for "Devekar Classes" */
}

.about-cont p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-cont .btn {
    display: inline-block;
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.about-cont .btn:hover {
    background: #0056b3;
}

/* Right Side: Image */
.about-img {
    width: 50%;
    text-align: right;
    margin-top: 51px;
}

.about-img img {
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .about-sec {
        flex-direction: column;
        text-align: left;
    }

    .about-cont, .about-img {
        width: 100%;
        padding: 0;
    }

    .about-img {
        text-align: left;
        margin-top: 20px;
    }

    .about-img img {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .about-sec {
        padding: 20px;
    }

    .about-cont h2 {
        font-size: 24px;
    }

    .about-cont p {
        font-size: 14px;
    }

    .about-cont .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .about-img img {
        width: 100%;
    }
}


.director-section {
    position: relative;
    background: url('your-background.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    color: #fff;
    width: 100%;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 44, 84, 0.7);
    z-index: 1;
  }
  
  .director-card {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: auto;
    color: #fff;
    overflow: hidden;
  }

  .director-card .two-imgs{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
  }
  
  .image-container {
    text-align: center;
    padding: 30px 20px;
  }
  
  .image-container img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border: 5px solid #fff;
    margin-bottom: 15px;
  }
  
  .image-container .info h2 {
    margin: 0;
    font-size: 22px;
    color: #fff;
  }
  
  .image-container .info p {
    font-size: 16px;
    font-style: italic;
    color: #e0e0e0;
  }
  
  .text-container {
    margin: 5px 70px;
    padding: 30px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    word-spacing: 1.5px;
  }


  
  .founder-heading {
    display: inline-block;
    background-color: #2563eb;
    padding: 8px 12px;
    position: relative;
    border-radius: 8px;
    margin-bottom: 30px;
  }
  
  .founder-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
  }
  
  .curved-arrow {
    font-size: 2rem;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(5px);
    }
  }
  
  @media (max-width: 768px) {
    .image-container img {
      width: 120px;
      height: 120px;
    }
  
    .founder-heading h2 {
      font-size: 1.2rem;
    }
  
    .text-container {
      padding: 20px 15px;
      margin: 5px 0px;
    }
  }
  