/* Header */
/* About Header Section */
.about-header {
  position: relative;
  width: 100%;
  min-height: 38vh;
  background: url('../images/sevices/sitebg.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
}
.about-header .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 15, 15, 0.55);
  z-index: 1;
}
.about-header .header-content {
   display: flex;
   gap: 24px;
   align-items: center;
   justify-content: center;
   margin-top: 24px;
  animation: fadeInHeader 1.2s cubic-bezier(.77,0,.18,1);
}
.about-header h1 {
     display: none !important;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1.1;
  text-transform: uppercase;
}
.about-header nav {
  font-size: 1.1rem;
  margin-top: 8px;
}
.about-header nav span {
  color: #fff;
  font-weight: 500;
}
.about-header nav .active {
  color: #1e90ff;
  font-weight: 600;
}
@keyframes fadeInHeader {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
  .about-header .header-content { margin-left: 40px; margin-top: 30px; }
  .about-header h1 { font-size: 2.2rem; }
  .about-header nav { font-size: 1rem; }
}
@media (max-width: 768px) {
  .about-header { min-height: 20vh; }
  .about-header .header-content { margin-left: 16px; margin-top: 18px; }
  .about-header h1 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .about-header { min-height: 14vh; }
  .about-header .header-content { margin-left: 4px; margin-top: 8px; max-width: 98vw; }
  .about-header h1 { font-size: 1.1rem; }
  .about-header nav { font-size: 0.8rem; }
}

/* Header End */

/* Our Exellence */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 10%;
  gap: 40px;
  flex-wrap: wrap;
}

/* Text Section */
.about-text {
  flex: 1;
  min-width: 300px;
  animation: fadeInLeft 1s ease;
}

.about-text h1 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
}

.about-text h1 span {
  color: #003399;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Image Section */
.about-images {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: none;
}

.about-images img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: auto;
}

.about-images img:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-section {
    padding: 40px 5%;
  }
  .about-images {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 24px 2vw;
    gap: 24px;
  }
  .about-images {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 12px 1vw;
    gap: 12px;
  }
  .about-text h1 {
    font-size: 22px;
  }
  .about-text p {
    font-size: 13px;
  }
}

/* Our Exellence End */

/* History */
.timeline-section {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0e4ead;
  color: #fff;
}

.timeline-section {
  padding: 60px 10%;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Content */
.timeline-content {
  flex: 1;
  text-align: left;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.6;
}

/* Icon */
.timeline-icon {
  background: #fff;
  color: #0e4ead;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Alternate alignment */
.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

/* Animations */
.animate-left {
  transform: translateX(-50px);
}

.animate-right {
  transform: translateX(50px);
}

.timeline-item.show.animate-left {
  transform: translateX(0);
}

.timeline-item.show.animate-right {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }
  .timeline-content {
    text-align: center;
  }
}

/* History End */

/* Founder */
/* Founder Section */
.founder-section {
  padding: 50px 10%;
  background: #fff;
  overflow-x: hidden;
}

.title-box {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-in-out;
}

.subtitle {
  color: #0056b3;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.main-title {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: #555;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  animation: fadeInUp 1s ease-in-out;
}

.team-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-card:hover {
  transform: translateY(-10px);
  background: #0056b3;
  color: #fff;
}

/* Image Box */
.img-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0056b3;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h2 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0056b3;
}

.team-card:hover h3 {
  color: #fff;
}

.team-card p {
  font-size: 14px;
  color: #666;
}

.team-card:hover p {
  color: #f1f1f1;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 26px;
  }
  .intro-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .founder-section {
    padding: 30px 20px;
  }
  .main-title {
    font-size: 22px;
  }
}

/* Founder End */

/* Counter */
/* Counter Section */
.counter-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 60px 20px;
  background: #0047ab; /* Blue background */
  flex-wrap: wrap;
  text-align: center;
}

.counter-box {
  color: #111;
  font-family: "Poppins", sans-serif;
  flex: 1 1 200px;
  min-width: 180px;
  animation: fadeInUp 1s ease-in-out;
}

.icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.counter {
  font-size: 28px;
  font-weight: 800;
}

.percent {
  font-size: 24px;
  font-weight: 700;
}

.counter-box p {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .counter-section {
    gap: 30px;
  }
  .counter {
    font-size: 24px;
  }
  .icon {
    font-size: 32px;
  }
}

/* Counter End */