/* About Page Redesign Styles */
.about-page .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-hero {
    height: 24vh;
    background-image: url('../images/heroimg4.jpeg');
    background-repeat: no-repeat;
    background-size: cover;           /* OPTIONS: cover | contain | 100% | 150% etc. */
    background-position: center center; /* TUNE: "left top" | "center 30%" | "right bottom" | "50% 70%" */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

.company-overview {
    padding: 80px 0;
    background: #ffffff;
    width: 100%;
    margin: 0;
}

.company-overview .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.overview-text {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.overview-text h2 {
    color: #089c44;
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

/* Decorative underline for Company Overview title */
.overview-text h2::after {
    content: '';
    display: block;
    width: 280px;
    height: 5px;
    margin: 15px auto 0;
    background: linear-gradient(90deg, rgba(8,156,68,0), #089c44, rgba(8,156,68,0));
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(8, 156, 68, 0.25);
}

.overview-text p {
    color: #000000;
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
    letter-spacing: 0.3px;
}

/* Chairperson Section */
.profile-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1300px;
    margin: 50px auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.card-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Profile Image */
.image-container {
    flex: 0 0 350px;
    text-align: center;
}

.profile-image {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 6px solid #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Info */
.profile-info {
    text-align: center;
    padding: 0 20px;
}

.profile-info h4 {
    color: #333;
    font-size: 2rem;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.2;
}

.profile-info .designation {
    color: #e72315;
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    display: block;
}

/* Quote Container */
.quote-container {
    flex: 1;
    position: relative;
    padding: 40px 50px;
    background: #f8f9fa;
    border-radius: 20px;
    border-left: 6px solid #e72315;
}

.quote-container p {
    color: #333;
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 40px;
}

.quote-container p::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -20px;
    color: #e72315;
    font-size: 6rem;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.15;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .profile-cards {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .card-row {
        padding: 40px;
    }
    
    .profile-image {
        width: 280px;
        height: 280px;
    }
    
    .quote-container p {
        font-size: 1.4rem;
    }
    
    .profile-info h4 {
        font-size: 1.8rem;
    }
    
    .profile-info .designation {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .card-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 30px;
    }
    
    .image-container {
        flex: 0 0 auto;
        margin-bottom: 30px;
    }
    
    .quote-container {
        width: 100%;
        padding: 30px;
    }
    
    .quote-container p {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .profile-cards {
        padding: 0 20px;
        margin: 30px auto;
    }
    
    .card-row {
        padding: 30px 20px;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .quote-container {
        padding: 25px;
    }
    
    .quote-container p {
        font-size: 1.3rem;
        line-height: 1.7;
        padding-left: 25px;
    }
    
    .quote-container p::before {
        font-size: 5rem;
        top: -15px;
    }
    
    .profile-info h4 {
        font-size: 1.7rem;
    }
    
    .profile-info .designation {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .profile-cards {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .card-row {
        padding: 25px 20px;
        border-radius: 15px;
        margin: 0;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
        border-width: 4px;
    }
    
    .quote-container {
        padding: 20px;
        border-left-width: 4px;
    }
    
    .quote-container p {
        font-size: 1.2rem;
        line-height: 1.6;
        padding-left: 20px;
    }
    
    .quote-container p::before {
        font-size: 4rem;
        top: -10px;
    }
    
    .profile-info h4 {
        font-size: 1.6rem;
    }
    
    .profile-info .designation {
        font-size: 1rem;
    }
}

.image-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(8, 156, 68, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(8, 156, 68, 0.15);
}

.profile-image {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info h4 {
    color: #089c44;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.designation {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

.quote-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(8, 156, 68, 0.1);
    padding: 18px 22px;
    flex: 1;
    display: flex;
    align-items: center;
    border-left: 4px solid #089c44;
    margin-left: 0;
    height: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f0f0f0;
}

.quote-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(8, 156, 68, 0.15);
}

.quote-left {
    margin-left: 0;
    margin-right: 0;
    border-left: none;
    border-right: none;
}

.quote-container p {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.4;
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-excellence {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100%;
    margin: 0;
}

.team-excellence .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.team-excellence h2 {
    color: #089c44;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Decorative underline for Team Excellence title */
.team-excellence h2::after {
    content: '';
    display: block;
    width: 240px;
    height: 4px;
    margin: 8px auto 0;
    background: linear-gradient(90deg, rgba(8,156,68,0), #089c44, rgba(8,156,68,0));
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(8, 156, 68, 0.25);
}

/* Slightly shorten underline on smaller screens for balance */
@media screen and (max-width: 768px) {
    .overview-text h2::after { width: 180px; margin-top: 6px; }
    .team-excellence h2::after { width: 200px; margin-top: 8px; }
}

.team-content p {
    color: #000000;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #089c44;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.expertise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.expertise-item h4 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.expertise-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    max-width: 180px;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(8, 156, 68, 0.15);
    border-color: #e72315;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-member:hover .member-image {
    border-color: #e72315;
    transform: scale(1.05);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 10px 0 5px;
    font-weight: 600;
}

.member-designation {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0077b5;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    margin-top: auto;
    width: 80%;
    border: none;
    cursor: pointer;
}

.linkedin-btn i {
    margin-right: 5px;
    font-size: 1rem;
}

.linkedin-btn:hover {
    background-color: #0a66c2;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .company-overview .container {
        padding: 0 40px;
    }
    
    .overview-text {
        max-width: 100%;
    }
    
    .overview-text h2 {
        font-size: 2.5rem;
    }
    
    .overview-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .company-overview {
        padding: 60px 0;
    }
    
    .company-overview .container {
        padding: 0 30px;
    }
    
    .overview-text h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .overview-text h2::after {
        width: 200px;
        margin-top: 12px;
    }
    
    .overview-text p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 600px) {
    /* Ensure team section is always visible on mobile */
    .team-excellence {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Base styling for all designations */
    .team-member .member-designation {
        font-size: 0.9rem !important;
        text-align: center;
        margin-top: 15px !important; /* Base margin for all designations */
        padding: 0 5px !important;
    }
    
    /* For single-line designations, reduce the spacing */
    .member-designation[data-single-line="true"] {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 8px;
        width: 100%;
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .team-member {
        max-width: 100%;
        width: 100%;
        margin: 0 0 12px;
        padding: 10px 6px 8px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        opacity: 1 !important;
        transform: none !important;
        position: relative;
        min-height: 180px;
    }
    
    .member-image {
        width: 70px;
        height: 70px;
        margin-bottom: 4px;
        flex-shrink: 0;
    }
    
    .team-member h3 {
        font-size: 0.8rem;
        margin: 3px 0 1px;
        text-align: center;
        width: 100%;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 3px;
    }
    
    .member-designation {
        font-size: 0.75rem;
        min-height: 1.5em;
        margin: 2px auto;
        text-align: center;
        width: 100%;
        padding: 0 3px;
        box-sizing: border-box;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-clamp: 2;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 0;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    
    .linkedin-btn {
        width: 85%;
        max-width: 110px;
        padding: 4px 6px;
        font-size: 0.65rem;
        margin: 6px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        transition: none !important;
    }
    
    .linkedin-btn i {
        margin-right: 5px;
        font-size: 0.8rem;
    }
}

.leadership-section {
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.leadership-card {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
}

.leadership-image {
    /* background: linear-gradient(135deg, #089c44, #067a35); */
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chairman-photo {
    width: 250px;
    height: 250px;
    border-radius: 12%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.leadership-content {
    padding: 40px;
}

.leadership-quote {
    margin-bottom: 30px;
}

.leadership-quote h3 {
    color: #000000;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 600;
    font-style: italic;
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-left: 5px solid #089c44;
    border-radius: 10px;
}

.leadership-quote h3::before {
    content: '"';
    color: #089c44;
    font-size: 3rem;
    position: absolute;
    top: -10px;
    left: 10px;
}

.leadership-quote h3::after {
    content: '"';
    color: #089c44;
    font-size: 3rem;
    position: absolute;
    bottom: -20px;
    right: 10px;
}

.leadership-info h4 {
    color: #089c44;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.leadership-info p {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
}

.vision-statement {
    padding: 60px 20px;
    background: linear-gradient(135deg, #000000 0%, #089c44 100%);
    color: white;
}

/* Apply CTA (dark banner with centered button) */
.apply-cta {
    position: relative;
    padding: 60px 20px;
    background: #0d0f10;
    overflow: hidden;
}

.apply-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    pointer-events: none;
}

.apply-cta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.apply-cta-title {
    color: #e9ecef;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.apply-now-btn {
    background: #089c44;
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(25,184,122,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.apply-now-btn .chev {
    font-weight: 900;
    font-size: 1.4em;
    line-height: 1; /* ensure proper vertical alignment */
    display: inline-flex; /* align icon within button */
    align-items: center;
    vertical-align: middle;
    position: relative;
    top: -3px; /* nudge up slightly to align optically with text */
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.apply-now-btn:hover {
    transform: translateY(-2px);
    background: #14a668;
    box-shadow: 0 10px 24px rgba(25,184,122,0.45);
}

/* Apply Modal */
.apply-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.apply-modal.open { display: flex; }

.apply-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.apply-modal-dialog {
    position: relative;
    width: min(92vw, 640px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
}

.apply-modal.open .apply-modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.apply-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f4;
}

.apply-modal-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.apply-modal-close {
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}

.apply-modal-body {
    padding: 18px;
}

.apply-form .form-row { margin-bottom: 14px; }

.apply-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-input:focus {
    outline: none;
    border-color: #089c44;
    box-shadow: 0 0 0 3px rgba(8,156,68,0.12);
}

.apply-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
}

.apply-save-btn {
    background: linear-gradient(135deg, #089c44, #067a35);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.apply-save-btn:hover {
    background: linear-gradient(135deg, #067a35, #055a28);
}

.apply-save-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(25%);
    box-shadow: none;
    pointer-events: none;
}

@media screen and (max-width: 480px) {
    .apply-cta-title { font-size: 1.25rem; }
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 300;
    font-style: italic;
}

/* Chairman Photo Placeholder */
.chairman-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.chairman-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Mobile Responsive for About Page */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-cards {
        gap: 30px;
    }
    
    .card-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }
    
    .quote-container {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-left: 4px solid #089c44 !important;
        border-right: none !important;
        height: auto;
        min-height: 60px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .expertise-item {
        padding: 25px 15px;
        min-height: 180px;
    }
    
    .expertise-icon {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .expertise-item h4 {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .expertise-item p {
        font-size: 0.85rem;
        max-width: 200px;
    }
    
    .leadership-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .leadership-image {
        padding: 30px;
    }
    
    .chairman-photo {
        width: 250px;
        height: 250px;
    }
    
    .chairman-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .placeholder-icon {
        font-size: 3rem;
    }
    
    .chairman-placeholder p {
        font-size: 0.8rem;
    }
    
    .leadership-quote h3 {
        font-size: 1.2rem;
    }
    
    .leadership-info h4 {
        font-size: 1.5rem;
    }
    
    .overview-text h2,
    .team-excellence h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .about-hero {
        height: 30vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .profile-cards {
        gap: 25px;
    }
    
    .card-row {
        margin: 0;
    }
    
    .leadership-quote h3 {
        font-size: 1rem;
        padding: 15px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .expertise-item {
        padding: 25px 15px;
        min-height: 160px;
    }
    
    .expertise-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .expertise-item h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .expertise-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 250px;
    }
}

/* Scroll reveal animations for About page sections */
.reveal-section {
    opacity: 0;
    transform: translateX(0); /* will be overridden by directional classes */
    transition: transform 700ms ease, opacity 700ms ease;
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-section.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger support when needed */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(10px);
    transition: transform 600ms ease, opacity 600ms ease;
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 50ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 190ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 260ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 330ms; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal-section,
    .reveal-stagger > * {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Prevent horizontal scrollbar from reveal translations */
.about-hero,
.company-overview,
.team-excellence,
.leadership-section,
.vision-statement {
    overflow-x: clip; /* avoids layout overflow from translateX */
}

/* ── Founder Block ───────────────────────────────────────────── */
.founder-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
    padding: 50px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border-left: 5px solid #19b87a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.founder-block::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(25, 184, 122, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Left — photo + name tag */
.founder-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 16px;
}

.founder-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #19b87a;
    box-shadow: 0 8px 24px rgba(25, 184, 122, 0.25);
}

.founder-name-tag {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.founder-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.3px;
}

.founder-title {
    font-size: 0.82rem;
    color: #19b87a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Right — quote */
.founder-quote-wrap {
    position: relative;
    flex: 1;
}

.founder-quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: #19b87a;
    font-family: Georgia, serif;
    display: block;
    opacity: 0.35;
}

.founder-quote-mark.close {
    text-align: right;
    margin-top: -20px;
}

.founder-quote {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #444;
    font-style: italic;
    margin: -10px 0 0;
    border: none;
    padding: 0;
    quotes: none;
}

/* Responsive */
@media (max-width: 768px) {
    .founder-block {
        flex-direction: column;
        padding: 36px 24px;
        gap: 30px;
        text-align: center;
    }

    .founder-quote-mark.close {
        text-align: center;
    }
}
