/* leadership */
.leadership-section {
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.leadership-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.leadership-info h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1a3c1a;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.leadership-info p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 500px;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: #ffffff;
    color: #1a3c1a;
    border: 1px solid #c1d4c1;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.btn-premium:hover {
    background: #f8fafc;
    border-color: #16a34a;
}

.arrow-circle {
    width: 40px;
    height: 40px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.btn-premium:hover .arrow-circle {
    transform: rotate(45deg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-member-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.team-member-info span {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 15px;
}

.team-social-link {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #1a3c1a;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-social-link:hover {
    background: #16a34a;
    color: white;
}

/* responsive */
@media (max-width: 1024px) {
    .leadership-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .leadership-info p {
        margin-left: auto;
        margin-right: auto;
    }
    .team-grid {
        justify-content: center;
    }
    .team-member-info {
        text-align: center;
    }
}


/* docs */
.gallery-section {
    padding: 120px 0;
    background-color: #f8fafc;
}

.label-tiny-center {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    color: #64748b;
    font-size: 1.1rem;
}

/* docs collage */
.gallery-section {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.documentation-grid {
    column-count: 3;
    column-gap: 25px;
    width: 100%;
}

.doc-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    break-inside: avoid;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.doc-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.doc-img-wrapper {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.doc-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover .doc-img-wrapper img {
    transform: scale(1.1);
}

/* overlay */
.doc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.doc-card:hover .doc-overlay {
    opacity: 1;
}

.doc-caption {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover .doc-caption {
    transform: translateY(0);
}

.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4ade80;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.05s;
}

.doc-card:hover .doc-badge {
    transform: translateY(0);
}

/* responsive masonry */
@media (max-width: 1100px) {
    .documentation-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .documentation-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .doc-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 70%);
        padding: 20px;
    }
    
    .doc-caption, .doc-badge {
        transform: translateY(0);
    }
}


/* responsive overrides */
@media (max-width: 992px) {
    .about-hero-section {
        padding: 80px 0 60px 0 !important;
        min-height: auto !important;
    }
    
    .quote-card {
        padding: 30px 20px !important;
    }
    
    .vision-mission-wrapper {
        flex-direction: column !important;
    }
    
    .vision-mission-card {
        padding: 30px !important;
    }
}

@media (max-width: 768px) {
    .about-main-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .about-main-desc {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    .cta-box {
        padding: 60px 30px !important;
        border-radius: 30px !important;
    }
    
    .cta-box h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .display-medium { font-size: 2.2rem; }
}

/* cta */
.cta-btn.secondary-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn.secondary-outline i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.secondary-outline:hover {
    background: #ffffff;
    color: #1a3c1a;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary-outline:hover i {
    transform: translateX(5px) scale(1.2);
}

.cta-btn.secondary-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
    z-index: -1;
}

.cta-btn.secondary-outline:hover::before {
    left: 100%;
}

/* approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-item {
        padding: 30px 20px !important;
    }
}