/* IB Program Specific Styles */

/* Hero Section */
.ib-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

/* Fix button contrast in hero section */
.ib-hero .btn-secondary {
    background: white;
    color: #1a1a1a;
    border-color: #cbd5e0;
}

.ib-hero .btn-secondary:hover {
    background: rgb(0, 100, 250);
    color: white;
    border-color: rgb(0, 100, 250);
}

.ib-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ib-hero .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ib-hero .hero-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ib-hero .hero-features {
    margin-bottom: 30px;
}

.ib-hero .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ib-hero .feature-item img {
    width: 24px;
    height: 24px;
}

.ib-hero .feature-item span {
    font-size: 1rem;
    color: #2d3748;
}

.ib-hero .hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ib-hero .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 25px;
}

.benefit-icon img {
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* IB Benefits Section */
.ib-benefits-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.ib-benefits-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ib-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ib-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ib-benefit-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ib-benefit-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.ib-benefit-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: #f8f9fa;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgb(0, 100, 250);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Commission Section */
.commission-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.commission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.commission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.commission-intro {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.commission-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.commission-feature {
    display: flex;
    gap: 20px;
}

.commission-feature img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.commission-feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.commission-feature p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.commission-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Marketing Section */
.marketing-section {
    padding: 80px 0;
    background: #fff;
}

.marketing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.marketing-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.marketing-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.marketing-intro {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.marketing-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.marketing-feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marketing-feature h4 i {
    color: rgb(0, 100, 250);
    font-size: 1.4rem;
}

.marketing-feature p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Join Form Section */
.join-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.125rem;
    color: #4a5568;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(0, 100, 250);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #4a5568;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: rgb(0, 100, 250);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.faq-toggle {
    font-size: 1.75rem;
    font-weight: 300;
    color: rgb(0, 100, 250);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ib-hero .hero-content,
    .commission-content,
    .marketing-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .ib-benefits-grid {
        grid-template-columns: 1fr;
    }

    .marketing-content {
        grid-template-columns: 1fr;
    }

    .marketing-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .ib-hero .hero-text h1 {
        font-size: 2rem;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .ib-hero .hero-cta {
        flex-direction: column;
    }

    .ib-hero .hero-cta .btn-large {
        width: 100%;
        text-align: center;
    }

    .commission-text h2,
    .marketing-text h2 {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

