/* Research & Development Page Styles */

/* Banner Section */
.r-and-d-banner {
    width: 100%;
    overflow: hidden;
}

.r-and-d-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Next-Gen Fashion Creators Section */
.next-gen-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.next-gen-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.next-gen-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.next-gen-description .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

/* Research Grid - Two Columns with Divider */
.research-grid {
    display: flex;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.research-column {
    flex: 1;
    text-align: center;
}

.research-column-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #862C91;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

/* Hairlines under titles */
.research-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: #e0e0e0;
}

.research-column-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

/* Column Divider */
.column-divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 2rem;
}

/* Research Areas Full Width Two-Column Section */
.research-areas-section {
    position: relative;
    background-color: #ffffff;
    padding: 0;
    overflow: hidden;
}

.research-areas-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    position: relative;
    background-color: #F5F5F5;
}

/* Image Container - Full bleed from left edge */
.research-areas-image-container {
    flex: 0 0 60%;
    position: relative;
    margin-left: calc(-50vw + 50%);
    width: calc(60% + 50vw - 50%);
    display: flex;
    align-items: center;
}

.research-areas-image-container img {
    width: 100%;
    max-width: 1120px;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Content Container */
.research-areas-content-container {
    flex: 0 0 40%;
    padding: 3rem 4rem 3rem 4rem;
    display: flex;
    align-items: center;
    background-color: #F5F5F5;
}

.research-areas-content {
    max-width: 100%;
}

.research-areas-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.research-areas-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: left;
    margin-bottom: 1.5rem;
}

.research-areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-areas-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.research-areas-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #862C91;
    font-weight: 600;
}

/* Entrepreneurship Section */
.entrepreneurship-section {
    padding: 4rem 0 0 0;
    background-color: #ffffff;
}

.entrepreneurship-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.entrepreneurship-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.entrepreneurship-description .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

.entrepreneurship-banner {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
}

.entrepreneurship-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Industry Linkages Section */
.industry-linkages-section {
    padding: 4rem 0 0 0;
    background-color: #ffffff;
}

.industry-linkages-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.industry-linkages-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.industry-linkages-description .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

.industry-linkages-banner {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
}

.industry-linkages-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Internships Section */
.internships-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.internships-section .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.internships-description {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
}

.internships-description .section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
}

/* Companies Grid */
.companies-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.companies-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.companies-row:last-child {
    margin-bottom: 0;
}

.company-box {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    background-color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.company-box:empty {
    visibility: hidden;
}

/* Responsive Design for Research Areas Section */
@media (max-width: 1200px) {
    .research-areas-content-container {
        padding-left: 3rem;
    }
}

@media (max-width: 992px) {
    .research-areas-wrapper {
        flex-direction: column;
    }

    .research-areas-image-container {
        flex: none;
        width: 100%;
        margin-left: 0;
    }

    .research-areas-image-container img {
        width: 100%;
        height: auto;
    }

    .research-areas-content-container {
        padding: 3rem 2rem;
        max-width: 100%;
    }

    .research-areas-title {
        font-size: 2rem;
    }

    /* Research grid - single column on mobile */
    .research-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .column-divider {
        display: none;
    }

    .research-column-title::after {
        left: 30%;
        width: 40%;
    }

    /* Companies grid - 2 columns on tablet */
    .companies-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .research-areas-image-container img {
        height: auto;
    }

    .research-areas-content-container {
        padding: 2.5rem 1.5rem;
    }

    .research-areas-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .research-areas-intro,
    .research-areas-list li {
        font-size: 1rem;
    }

    /* Companies grid - 1 column on mobile */
    .companies-row {
        grid-template-columns: 1fr;
    }

    .company-box {
        padding: 1.2rem 1rem;
        min-height: 60px;
    }

    /* Responsive text sizes */
    .next-gen-section .section-title,
    .entrepreneurship-section .section-title,
    .industry-linkages-section .section-title,
    .internships-section .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .next-gen-description .section-text,
    .entrepreneurship-description .section-text,
    .industry-linkages-description .section-text,
    .internships-description .section-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .research-column-title {
        font-size: 1.3rem;
    }

    .research-column-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .research-areas-image-container img {
        height: auto;
    }

    .research-areas-content-container {
        padding: 2rem 1rem;
    }

    .research-areas-title {
        font-size: 1.5rem;
    }

    .research-areas-intro,
    .research-areas-list li {
        font-size: 0.95rem;
    }

    .company-box {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
        min-height: 50px;
    }

    /* Responsive text sizes */
    .next-gen-section .section-title,
    .entrepreneurship-section .section-title,
    .industry-linkages-section .section-title,
    .internships-section .section-title {
        font-size: 1.5rem;
    }

    .next-gen-description .section-text,
    .entrepreneurship-description .section-text,
    .industry-linkages-description .section-text,
    .internships-description .section-text {
        font-size: 0.95rem;
    }

    .research-column-title {
        font-size: 1.2rem;
    }

    .research-column-text {
        font-size: 0.9rem;
    }
}