
/* Comprehensive Responsive & Design Improvement for about.php */

body.about-page {
    background: #fff !important;
    color: #333 !important;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Sections --- */
.panels {
    padding: 60px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px;
}

.panels h1 {
    color: #222;
    padding-bottom: 20px;
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 50px;
}

.details_exp {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.panels .index {
    flex: 1 1 300px;
    max-width: 400px;
    margin: 0 auto;
}

.panels .index img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.panels .data {
    flex: 1 1 500px;
    text-align: justify;
}

.data p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
    color: #555;
}

/* --- Text Animations --- */
.rw-wrapper {
    margin: 30px 0;
    padding: 20px;
    background: #fcfcfc;
    border-left: 4px solid #2ec1e1;
}

.rw-sentence {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.4;
    color: #444;
}

.rw-words {
    display: inline-block;
    height: 30px;
    position: relative;
    vertical-align: middle;
    width: 250px;
}

.rw-words span {
    position: absolute;
    opacity: 0;
    color: #6fa239;
    font-weight: 700;
    left: 10px;
    white-space: nowrap;
}

.s-wrapper { margin-top: 30px; }
.s-sentence { font-size: clamp(20px, 4vw, 28px); color: #333; }
.s-words { display: block; height: 60px; overflow: hidden; position: relative; margin-top: 10px; }
.s-words span {
    position: absolute;
    width: 100%;
    opacity: 0;
    font-weight: 800;
    color: #2e7ce1;
    line-height: 1.2;
}

@keyframes rotateWordsFirst {
    0% { opacity: 0; transform: translateY(-30px); }
    5% { opacity: 1; transform: translateY(0px); }
    17% { opacity: 1; transform: translateY(0px); }
    20% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 0; }
}

.rw-words-1 span { animation: rotateWordsFirst 18s linear infinite; }
.s-words-1 span { animation: rotateWordsFirst 12s linear infinite; }
.s-words-2 span { animation: rotateWordsFirst 12s linear infinite; color: #6fa239; font-size: 0.7em; margin-top: 5px; font-weight: 400; }

/* --- Clients --- */
.client-section {
    background: #fafafa;
    padding: 80px 15px;
}

.client-item {
    height: 100px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.client-item img {
    max-height: 60px;
    width: auto !important;
    filter: grayscale(1);
    opacity: 0.5;
}

.client-item:hover { transform: translateY(-5px); border-color: #2ec1e1; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.client-item:hover img { filter: grayscale(0); opacity: 1; }

/* --- Info Section --- */
.info {
    padding: 100px 15px;
}

.info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-video { flex: 1 1 500px; }
.info-pic { flex: 0 1 400px; margin: 0 auto; }
.info-pic img { border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* --- Media Queries --- */
@media (max-width: 991px) {
    .panels .index { order: -1; }
}

@media (max-width: 767px) {
    .rw-words { width: 100%; display: block; margin-top: 10px; height: 40px; }
    .rw-words span { left: 0; }
}
