/* ========================================
   COMPANY PAGE STYLES
   ======================================== */

body.company-page {
    background: #ffffff;
}

body.company-page .aboutus-section-title {
    margin-bottom: 0.75rem;
}

body.company-page .aboutus-vision-section {
    background: #ffffff;
}

body.company-page .company-locations-grid {
    gap: 2.2rem;
}


body.company-page .company-location-card {
    border-radius: 22px;
    border: 1px solid rgba(7, 143, 153, 0.12);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease;
}

body.company-page .company-location-card:hover {
    transform: translateY(-8px);
}

body.company-page .aboutus-vision-section .aboutus-visual-card {
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
    border-radius: 28px;
}

/* Leadership Section Styles */
.aboutus-leadership-section {
    padding: 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.leadership-container {
    position: relative;
    width: 100%;
    background: #ffffff;
    min-height: 600px;
}

.leadership-background-pattern {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 40px;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(104, 181, 60, 0.08) 24px, rgba(104, 181, 60, 0.08) 25px),
        repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(104, 181, 60, 0.08) 24px, rgba(104, 181, 60, 0.08) 25px);
    z-index: 1;
}

.leadership-content-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 80px 4rem 0;
    gap: 4rem;
    z-index: 2;
    min-height: 600px;
}

.leadership-photo-container {
    flex: 0 0 40%;
    position: relative;
    z-index: 3;
}

.aboutus-leadership-photo {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.leadership-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/4;
    filter: grayscale(100%);
    display: block;
}

.leadership-image[src=""],
.leadership-image:not([src]) {
    display: none !important;
}

.leadership-image[src]:not([src=""]) {
    display: block !important;
}

.leadership-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f0f7 100%);
    padding: 4rem 2rem;
    aspect-ratio: 3/4;
    min-height: 500px;
    text-align: center;
    filter: grayscale(100%);
}

/* Hide placeholder when image has valid src */
.aboutus-leadership-photo:has(img[src]:not([src=""])) .leadership-photo-placeholder {
    display: none;
}

.leadership-photo-placeholder i {
    font-size: 4rem;
    color: rgba(7, 143, 153, 0.3);
    margin-bottom: 1rem;
}

.leadership-photo-placeholder p {
    color: rgba(7, 143, 153, 0.6);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.leadership-text-container {
    flex: 1;
    position: relative;
    z-index: 3;
    padding-top: 2rem;
}

.leadership-quote-section {
    margin-bottom: 3rem;
    position: relative;
}

.leadership-quote-mark {
    font-size: 3rem;
    font-weight: 700;
    color: #404246a2;
    line-height: 1;
    display: block;
    margin-bottom: -2rem;
    margin-left: -1rem;
    font-family: 'Montserrat', sans-serif;
}

.leadership-quote-text {
    font-size: 2rem;
    font-weight: 700;
    color: #404246a2;
    line-height: 1.2;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

.leadership-career-section {
    margin-top: 3rem;
}

.leadership-career-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leadership-career-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3748;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    max-width: 90%;
}

.leadership-footer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: #68b53c;
    z-index: 2;
}

/* Responsive Styles for Leadership Section */
@media (max-width: 1024px) {
    .leadership-content-wrapper {
        padding: 60px 3rem 0;
        gap: 3rem;
    }
    
    .leadership-quote-text {
        font-size: 2.5rem;
    }
    
    .leadership-quote-mark {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .leadership-content-wrapper {
        flex-direction: column;
        padding: 60px 2rem 0;
        gap: 2rem;
    }
    
    .leadership-photo-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .leadership-text-container {
        width: 100%;
    }
    
    .leadership-quote-text {
        font-size: 2rem;
    }
    
    .leadership-quote-mark {
        font-size: 5rem;
        margin-bottom: -1.5rem;
    }
    
    .leadership-career-title {
        font-size: 1.25rem;
    }
    
    .leadership-career-text {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .leadership-photo-placeholder {
        min-height: 400px;
        padding: 3rem 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .leadership-content-wrapper {
        padding: 40px 1.5rem 0;
    }
    
    .leadership-quote-text {
        font-size: 1.75rem;
    }
    
    .leadership-quote-mark {
        font-size: 4rem;
        margin-bottom: -1rem;
    }
    
    .leadership-career-title {
        font-size: 1.1rem;
    }
    
    .leadership-career-text {
        font-size: 0.9rem;
    }
    @media (max-width: 480px) {
    .leadership-career-text {
        font-size: 0.9rem;
        padding-bottom: 20px;
    }
}
    
    .leadership-photo-placeholder {
        min-height: 350px;
        padding: 2rem 1rem;
    }
    
    .leadership-photo-placeholder i {
        font-size: 3rem;
    }
    
    .leadership-footer-bar {
        height: 8px;
    }
}

/* ========================================
   PRESENCE VIDEO SECTION STYLES
   ======================================== */

.presence-video-wrapper {
    width: 100%;
    margin-top: 4rem;
    padding: 0 2rem;
}

.presence-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    background: #000;
    border: 2px solid #000000;
}

.presence-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop Styles (1200px and above) */
@media (min-width: 1200px) {
    .presence-video-wrapper {
        padding: 0;
    }
    
    .presence-video-container {
        border-radius: 28px;
        max-width: 100%;
    }
}

/* Tablet Styles (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .presence-video-wrapper {
        padding: 0 1.5rem;
        margin-top: 3.5rem;
    }
    
    .presence-video-container {
        border-radius: 24px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    }
}

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
    .presence-video-wrapper {
        padding: 0 1rem;
        margin-top: 2.5rem;
    }
    
    .presence-video-container {
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        padding-bottom: 56.25%;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .presence-video-wrapper {
        padding: 0 0.75rem;
        margin-top: 2rem;
    }
    
    .presence-video-container {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }
}

