html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, rgb(53, 72, 128), rgb(230, 230, 250), rgb(223, 189, 77));
    margin-top: 30px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 0.5rem;
}

/* ===== Header Section ===== */
.about-header {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.header-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.about-header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.sub-heading {
    font-size: 1.25rem;
    color: #34495e;
}

/* ===== About Content Section ===== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-content .text {
    flex: 1 1 500px;
    max-width: 600px;
    line-height: 1.7;
    text-align: justify;
    box-sizing: border-box;
}

.about-content .image {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.about-content .image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Section Title ===== */
.center-text {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
}

/* ===== Employee Section ===== */
.about-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 80px;
}

.employee-manager-container,
.staff-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.employee {
    flex: 1 1 180px;
    max-width: 23%;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.footer-image:hover img {
    transform: scale(1.05);
}

.footer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 4px solid transparent;
}

.ceo .footer-image::after {
    border-color: #1abc9c;
}

.vice-ceo .footer-image::after {
    border-color: #3498db;
}

.manager .footer-image::after {
    border-color: #f39c12;
}

.staff .footer-image::after {
    border-color: #9b59b6;
}

.employee-info {
    text-align: center;
}

.employee-info p {
    margin: 0.2rem 0;
    font-size: 1rem;
}

.employee-info p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== Swiper Styles ===== */
.swiper-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    box-sizing: border-box;
    gap: 15px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-pagination {
    bottom: 10px;
    text-align: center;
}

/* ===== Language Switcher ===== */
.custom-lang-switch {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lang-icon {
  font-size: 20px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 80px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 10;
  text-align: center;
}

.lang-dropdown a {
  display: block;
  padding: 12px 0;
  color: #222;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.lang-dropdown a:hover {
  background: #f0f0f0;
}

.show {
  display: block;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .about-content .text {
        max-width: 100%;
    }

    .about-content .image {
        margin-top: 20px;
    }

    .employee {
        max-width: 100%;
    }

    .footer-image {
        width: 120px;
        height: 120px;
    }

    .about-header h1 {
        font-size: 1.5rem;
    }

    .swiper-slide {
        flex-direction: column;
        padding: 0 15px;
        gap: 10px;
    }

    .swiper-slide img {
        max-width: 160px;
        height: auto;
    }

    .employee-info p {
        font-size: 14px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        padding: 0 10px !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .swiper-slide img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
    }

    .employee-info {
        max-width: 180px;
        font-size: 14px;
        text-align: center;
    }

    .employee-info p {
        font-size: 13px;
        line-height: 1.4;
    }
}