/* web-assist/css/nextgen.css */

/* General Body and Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #333; /* Default dark color for headings */
}

/* Reusable Section Titles */
.ind-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.ind-text-lg {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Buttons */
.ind-btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.3rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.ind-btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.ind-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 0.3rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ind-btn-secondary:hover {
    background-color: #fff;
    color: #007bff;
}

.ind-btn-golden {
    background-color: #FFD700;
    color: #1a1a1a;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.3rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.ind-btn-golden:hover {
    background-color: #e6c200;
    color: #1a1a1a;
}

/* Hero Section */
.ind-hero-section {
    background: linear-gradient(135deg, #004d99 0%, #002d5c 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
}

.ind-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.ind-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #e0e0e0;
}

.ind-hero-actions .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2.2rem;
    border-radius: 0.5rem;
}

/* Welcome Section */
.ind-welcome-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Card Styles in Welcome Section */
.ind-card-blue {
    background: linear-gradient(145deg, #004d99 0%, #003366 100%);
    border: none;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ind-card-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.ind-card-blue:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ind-card-blue:hover::before {
    left: -10%;
    top: -10%;
    opacity: 1;
}

.ind-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ind-card-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.ind-card-list {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    padding-left: 0;
}

.ind-card-list li {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.ind-list-icon {
    width: 18px;
    height: 18px;
    color: #FFD700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.ind-card-link {
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    margin-top: auto;
    display: flex;
    align-items: center;
    width: fit-content;
}

.ind-card-link:hover {
    color: #FFD700 !important;
    text-decoration: underline;
}

.ind-arrow-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.ind-card-link:hover .ind-arrow-icon {
    transform: translateX(5px);
    color: #FFD700;
}

/* Collaborate & Grow Section */
.ind-collaborate-section {
    padding: 80px 0;
    background-color: #f0f4f7;
}

.ind-icon-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    pointer-events: auto;
}

.ind-icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.ind-icon-card-icon {
    width: 48px;
    height: 48px;
    color: #007bff;
    stroke-width: 2;
}

.ind-icon-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004d99;
}

.ind-icon-card-text {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Institutions of Tomorrow Section */
.ind-institutions-section {
    background: linear-gradient(135deg, #002d5c 0%, #001a33 100%);
    padding: 80px 0;
}

.ind-institutions-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.ind-institutions-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #e0e0e0;
}

.ind-institutions-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Partnership Opportunity Section */
.ind-partnership-section {
    background: linear-gradient(135deg, #004d99 0%, #002d5c 100%);
    padding: 80px 0;
}

.ind-partnership-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ind-partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ind-partnership-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.ind-partnership-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.ind-partnership-highlight {
    color: #FFD700;
    font-weight: 700;
}

/* Community Section */
.ind-community-section {
    background-color: #007bff;
    padding: 80px 0;
}

.ind-community-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ind-community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ind-community-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.ind-community-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

/* Footer Styles */
.ind-footer {
    background: linear-gradient(135deg, #002d5c 0%, #001a33 100%);
    padding: 60px 0 30px;
    color: #fff;
}

.ind-footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.ind-footer-text {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.ind-footer-link {
    font-size: 1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ind-footer-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.ind-footer-social {
    width: 24px;
    height: 24px;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.ind-footer-social:hover {
    color: #FFD700;
}

.ind-footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.ind-footer-copyright {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Navigation Styles (Adapted from style.css) */
.ind-navbar {
    background: linear-gradient(135deg, #004d99 0%, #002d5c 100%);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ind-navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
}

.ind-nav-link {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.1rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ind-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ind-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ind-dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.3rem;
    min-width: 200px;
    font-size: 0.9rem;
}

.ind-dropdown-item {
    padding: 0.4rem 1rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ind-dropdown-item:hover {
    background: #007bff;
    color: #fff;
}

.ind-login-btn {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ind-login-btn:hover {
    background: #e6c200;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .ind-hero-title {
        font-size: 2.8rem;
    }
    .ind-hero-subtitle {
        font-size: 1.1rem;
    }
    .ind-section-title {
        font-size: 2rem;
    }
    .ind-institutions-title {
        font-size: 2.5rem;
    }
    .ind-nav-link {
        margin: 0;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        display: inline-block;
    }
    .ind-dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding: 0;
        max-width: 100%;
        border: none;
        margin-top: 0;
        text-align: center;
    }
    .ind-dropdown-item {
        padding: 0.4rem 0.8rem;
        color: #e0e0e0;
        display: inline-block;
    }
    .ind-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 767.98px) {
    .ind-hero-title {
        font-size: 2.2rem;
    }
    .ind-hero-subtitle {
        font-size: 1rem;
    }
    .ind-hero-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    .ind-hero-actions .me-3 {
        margin-right: 0 !important;
    }
    .ind-section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    .ind-text-lg {
        text-align: center;
    }
    .ind-card-title {
        font-size: 1.4rem;
    }
    .ind-institutions-title {
        font-size: 2rem;
        text-align: center;
    }
    .ind-institutions-subtitle,
    .ind-institutions-text {
        text-align: center;
    }
    .ind-footer {
        padding: 40px 0 20px;
    }
    .ind-footer-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .ind-hero-title {
        font-size: 1.8rem;
    }
    .ind-hero-subtitle {
        font-size: 0.9rem;
    }
    .ind-section-title {
        font-size: 1.6rem;
    }
    .ind-institutions-title {
        font-size: 1.8rem;
    }
}
/* Make the entire card clickable */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.card-link .ind-icon-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.card-link:hover .ind-icon-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-link:hover .ind-icon-card-icon {
    color: #004d99;
}

.card-link:hover .ind-icon-card-title {
    color: #004d99;
}

/* Ensure the card content doesn't interfere with clicks */
.ind-icon-card * {
    position: relative;
    z-index: 3;
}

/* Remove pointer-events from child elements to ensure parent link works */
.ind-icon-card > * {
    pointer-events: none;
}
/* Make the entire course card clickable */
.card-link-course {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
    height: 100%;
}

.card-link-course .ind-card-blue {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    height: 100%;
}

.card-link-course:hover .ind-card-blue {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-link-course:hover .ind-card-blue::before {
    left: -10%;
    top: -10%;
    opacity: 1;
}

/* Ensure the card content doesn't interfere with clicks */
.ind-card-blue * {
    position: relative;
    z-index: 3;
}

/* Remove pointer-events from child elements to ensure parent link works */
.ind-card-blue > * {
    pointer-events: none;
}

/* But allow pointer-events on the card itself */
.ind-card-blue {
    pointer-events: auto;
}

/* Style for the link text in the card */
.ind-card-link-text {
    font-weight: 600;
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding-top: 1rem;
}