/* ===== HERO SECTION WITH PARTICLES ===== */
.collaboration-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary-dark) 100%);
    background-image: url('../images/about/collaboration.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
    color: white;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-title .highlight {
    color: var(--secondary);
    position: relative;
    border-bottom: 0.5px solid var(--secondary);
    padding-right : 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-all);
    border: 2px solid transparent;
}



.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ===== PARTNERSHIP PHILOSOPHY ===== */
.partnership-philosophy {
    padding: 5rem 0;
    background: var(--light);
    position: relative;
}

.partnership-philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.1;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.philosophy-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== BANYAN TREE COLLABORATION FRAMEWORK ===== */
.banyan-collaboration {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.banyan-header {
    text-align: center;
    /* margin-bottom: 4rem; */
}

.banyan-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.banyan-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.banyan-tree-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== TREE VISUALIZATION - SIMPLIFIED FOR SVG-BASED LEAVES ===== */
.tree-visualization {
    position: relative;
    height: 600px;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banyan-tree {
    width: 100%;
    height: 100%;
    max-width: 800px;
}

/* Pillar details section styling */
.pillar-details {
    margin-top: 3rem;
}

.detail-section {
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    cursor: pointer;
}

.detail-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-section.highlighted {
    background-color: rgba(255, 205, 102, 0.1);
    border-left: 4px solid var(--highlight);
}

.detail-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.detail-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PARTNERSHIP MODELS - FLOW DESIGN ===== */
.partnership-models {
    padding: 5rem 0;
    background: var(--primary-dark);
    color: white;
    position: relative;
}

.models-header {
    text-align: center;
    margin-bottom: 4rem;
}

.models-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.models-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.partnership-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.partnership-step {
    flex: 1;
    position: relative;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--highlight);
    transform: translateY(-50%);
    z-index: 1;
}

.partnership-step:last-child .step-connector {
    display: none;
}

.step-content {
    background: var(--white);
    color: var(--dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    /* text-align: center; */
    position: relative;
    z-index: 2;
    transition: var(--transition-all);
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PARTNERSHIP QUALIFICATION - WEB DESIGN ===== */
.partnership-qualification {
    padding: 5rem 0;
    background: var(--light);
}

.qualification-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.qualification-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.qualification-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.qualification-web {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.connection-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.qualification-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.qualification-center h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.qualification-point {
    position: absolute;
    width: 150px;
    z-index: 2;
}

.growth-mindset {
    top: 0;
    left: 0;
}

.quality-focus {
    top: 0;
    right: 0;
}

.collaborative-spirit {
    bottom: 0;
    left: 0;
}

.long-term-vision {
    bottom: 0;
    right: 0;
}

.point-content {
    background: var(--white);
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-all);
}

.point-content:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.point-content i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.point-content:hover i {
    color: white;
}

.point-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.point-content:hover h4 {
    color: white;
}

.point-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.point-content:hover p {
    color: white;
}

/* ===== CONTACT SECTION ===== */
.partnership-contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-visual figcaption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--radius-md);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-method h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-method p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Partnership Form */
.partnership-form {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-all);
    background: var(--white);
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CAPTCHA - Exact styles from portal base */
.captcha-submit-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    margin-top: 2rem;
}

.captcha-container {
    flex: 1;
}

.captcha-question-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    /* background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md); */
}

.captcha-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.captcha-text {
    font-weight: 500;
    color: var(--primary-dark);
    min-width: 80px;
}

.captcha-input {
    width: 80px !important;
    padding: 0.5rem !important;
    border: 1px solid var(--gray-medium) !important;
    border-radius: var(--radius-sm) !important;
    text-align: center;
    font-size: 1rem;
    margin: 0 !important;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-all);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tree-visualization {
        height: 500px;
    }
    
    .partnership-flow {
        flex-direction: column;
        gap: 3rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .captcha-submit-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .qualification-web {
        width: 100%;
        height: 400px;
    }
    
    .qualification-point {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .tree-visualization {
        height: 400px;
    }
    
    .partnership-form {
        padding: 2rem 1.5rem;
    }
    
    .banyan-header h2,
    .models-header h2,
    .qualification-content h2,
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .philosophy-content h2 {
        font-size: 2rem;
    }
}

/* Position hanging leaves to start from foliage locations */
.trust-leaf {
    top: 340px;  /* Just below the left foliage at cy="90" */
    left: 320px; /* Aligned with foliage at cx="180" */
}

.respect-leaf {
    top: 110px;  /* Just below the right foliage at cy="90" */
    right: 160px; /* Aligned with foliage at cx="330" */
}

.growth-leaf {
    top: 140px;  /* Just below the left-lower foliage at cy="120" */
    left: 130px; /* Aligned with foliage at cx="150" */
}

.reach-leaf {
    top: 140px;  /* Just below the right-lower foliage at cy="120" */
    right: 130px; /* Aligned with foliage at cx="360" */
}

/* ===== TWO-COLUMN LAYOUT - HEIGHT-MATCHED ===== */
.collaboration-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    /* gap: 3rem; */
    align-items: start;
    /* margin-top: 2rem; */
}

/* Left Column: Compact Partnership Models */
.partnership-models-column {
    padding: 1rem;
    height: 600px; /* Match SVG height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partnership-models-column .models-header {
    margin-bottom: 1.5rem;
}

.partnership-models-column .models-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.partnership-models-column .models-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Compact Vertical Partnership Flow */
.partnership-flow-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.partnership-flow-vertical .partnership-step {
    flex: 1;
}

.partnership-flow-vertical .step-content {
    color: var(--dark);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 10% 15% 75%;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    transition: var(--transition-all);
    /* border-left: 3px solid var(--secondary); */
}

.partnership-flow-vertical .step-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(26, 95, 122, 0.15);
    border-left-color: var(--highlight);
}

.partnership-flow-vertical .step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partnership-flow-vertical .step-icon i {
    font-size: 1.1rem;
    color: white;
}

.partnership-flow-vertical .step-text {
    flex: 1;
}

.partnership-flow-vertical .step-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.partnership-flow-vertical .step-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}

/* Compact Qualification Section */
.qualification-compact {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-light);
}

.qualification-compact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.qualification-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-all);
}

.point-item:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.02);
}

.point-item i {
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.point-item:hover i {
    color: white;
}

.point-item span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Right Column: Banyan Tree */
.banyan-tree-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px; /* Match left column */
}

.banyan-tree-container .tree-visualization {
    height: 600px;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .collaboration-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .banyan-tree-container {
        order: -1; /* Move tree above on tablet */
        height: 500px;
    }
    
    .partnership-models-column {
        height: auto;
        padding: 1.5rem;
    }
    
    .banyan-tree-container .tree-visualization {
        height: 500px;
        max-width: 400px;
    }

    .partnership-flow-vertical .step-content {

    grid-template-columns: 10% 25% 65%;

    }
}

@media (max-width: 768px) {
    .partnership-models-column .models-header h3 {
        font-size: 1.4rem;
    }
    
    .partnership-flow-vertical {
        gap: 0.8rem;
    }
    
    .partnership-flow-vertical .step-content {
        padding: 1rem;
    }
    
    .partnership-flow-vertical .step-icon {
        width: 35px;
        height: 35px;
    }
    
    .partnership-flow-vertical .step-text h4 {
        font-size: 1rem;
    }
    
    .partnership-flow-vertical .step-text p {
        font-size: 0.85rem;
    }
    
    .banyan-tree-container {
        height: 400px;
    }
    
    .banyan-tree-container .tree-visualization {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .collaboration-layout {
        gap: 1.5rem;
    }
    
    .qualification-points {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .point-item {
        padding: 0.5rem;
    }
    
    .banyan-tree-container {
        height: 350px;
    }
    
    .banyan-tree-container .tree-visualization {
        height: 350px;
    }
}

/* Hide the old partnership-models section to avoid duplication */
.partnership-models {
    display: none;
}