/* Index Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 200px;
    height: auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #495057;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Value Proposition Section */
.value-prop {
    padding: 80px 0;
    background: #ffffff;
    overflow-x: hidden;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: #f8f9fa;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.leader-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.leader-card:hover {
    transform: translateY(-3px);
}

.leader-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(139, 93, 195, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.leader-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(139, 93, 195, 0.3);
}

.leader-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.leader-title {
    color: #8B5DC3;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-item h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #B084CC;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #B084CC;
}

/* Application Section Styles */
.application {
    padding: 6rem 0;
    background: #ffffff;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.application-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.application-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.application-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.application-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B5DC3;
    font-weight: bold;
}

.eligibility {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #8B5DC3;
}

.application-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.application-form h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.workshop-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5DC3;
    box-shadow: 0 0 0 3px rgba(139, 93, 195, 0.1);
    background: white;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8B5DC3, #B084CC);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 93, 195, 0.3);
}

.form-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B5DC3;
}

.form-note p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* Embedded Form Styling */
.embedded-form-container {
    max-width: 100%;
    margin: 0 auto;
}

.form-container iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}

.application-benefits {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Gallery Section Styles */
.gallery {
    padding: 80px 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    max-width: 1000px;
    margin: 3rem auto 0;
    gap: 2rem;
}

.gallery-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sold-out-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transform: rotate(5deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 5;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    background: #f8f9fa;
}

.gallery-caption {
    padding: 1.5rem;
    background: white;
}

.gallery-caption h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-caption p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gallery-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.gallery-placeholder p {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    color: #495057;
}

/* Stats styling */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive - Index Specific */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workshop-form .form-row {
        grid-template-columns: 1fr;
    }

    .application-form {
        padding: 1.5rem;
    }

    .form-container {
        padding: 0.5rem !important;
    }

    .form-container iframe {
        height: 1600px;
    }

    .application-benefits div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo img {
        max-width: 150px;
    }
    
    .leader-card {
        padding: 2rem 1.5rem;
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .gallery-caption {
        padding: 1rem;
    }
    
    .gallery-caption h4 {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .gallery-placeholder {
        height: 200px;
    }
    
    .gallery-image {
        height: auto;
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .value-prop, .leadership, .application, .gallery {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .applications-heading {
        font-size: 1.3rem !important;
    }
    
    .leader-avatar {
        width: 150px;
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .primary-cta h3 {
        font-size: 1.7rem !important;
    }
    
    .primary-cta p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
    
    .primary-cta {
        padding: 2rem 1rem !important;
    }
}

@media (min-width: 481px) and (max-width: 950px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}