/* Base Styles */
:root {
    --primary: #28a745;
    --primary-dark: #198754;
    --secondary: #6c757d;
    --dark: #1a3c6d;
    --light: #f8f9fa;
    --white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.main-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.header-title {
    text-align: center;
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tab Navigation */
.tab-wrapper {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.nav-pills {
    border: none;
    display: inline-flex;
    gap: 0.5rem;
}

.nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-pills .nav-link i {
    font-size: 1.1rem;
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    transform: translateY(-1px);
}

.nav-pills .nav-link:not(.active):hover {
    background: var(--light);
    color: var(--primary);
}

/* Tab Content */
.tab-content {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease-in;
}

.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
}

/* Sidebar Styles */
.sidebar {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 2rem;
    padding: 20px;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    color: var(--white);
}

.sidebar-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-content {
    padding: 1.5rem;
    transition: var(--transition);
}

/* Date List */
.date-list {
    margin-bottom: 1.5rem;
}

.date-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.date-item:last-child {
    border-bottom: none;
}

.date-label {
    font-weight: 500;
    color: var(--secondary);
}

.date-value {
    color: var(--primary);
    font-weight: 600;
}

/* Ready Section */
.ready-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.ready-section h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.apply-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    margin-bottom: 15px;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* Process Steps Styling */

.process-steps {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 2rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.requirements-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Connecting lines between steps */
.process-step::before {
    content: '';
    position: absolute;
    left: 2.9rem;
    top: 40px;
    bottom: -3rem;
    width: 2px;
    background: #e9ecef;
}

.process-step:last-child::before {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .header-title {
        font-size: 2rem;
    }

    .nav-pills .nav-link {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .sidebar {
        margin-top: 2rem;
        position: static;
    }

    .ready-section {
        padding: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding-left: 0;
    }

    .step-number {
        margin-bottom: 1rem;
    }

    .process-step::before {
        left: 1.2rem;
    }
}

.tab-sidebar-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-sidebar-content.hidden {
    opacity: 0;
    transform: translateY(10px);
    display: none;
}

.tab-sidebar-content.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Feature Cards */

.feature-icon {
    color: #28a745;
    /* Bootstrap 4.3.2 success green */
}

.transition-all {
    transition: all 0.3s ease;
}

/* Why USET Section Styles */
.why-uset {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #28a745;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #28a745;
    transform: rotateY(360deg);
}

.feature-icon i {
    font-size: 1.8rem;
    color: #28a745;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Programs Section Styles */
    .programs-section {
        padding: 4rem 0;
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(40, 167, 69, 0.08) 100%);
    }

    .section-badge {
        font-weight: 600;
        font-size: 0.9rem;
    }

    .program-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(40, 167, 69, 0.1);
        max-width: 350px;
        margin: 0 auto;
    }

    .program-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(40, 167, 69, 0.15);
        border-color: #28a745;
    }

    .program-header {
        background: linear-gradient(45deg, #28a745, #218838);
    }

    .program-title {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .program-body {
        font-size: 0.9rem;
    }

    .faculty {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .program-stats {
        gap: 0.5rem;
    }

    .stat-item {
        background: rgba(40, 167, 69, 0.05);
        padding: 0.3rem; /* Reduced padding */
        border-radius: 4px;
        flex: 1;
    }

    .stat-label {
        font-size: 0.65rem; /* Smaller font size */
        line-height: 1.2;
    }

    .stat-value {
        font-size: 0.8rem; /* Smaller font size */
        line-height: 1.2;
    }

    .program-description {
        line-height: 1.5;
        font-size: 0.85rem;
    }

    .program-requirements {
        border: 1px solid rgba(40, 167, 69, 0.1);
    }

    .program-requirements h4 {
        font-size: 0.9rem;
    }

    .program-actions {
        gap: 0.5rem;
    }

    .program-actions .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    @media (max-width: 767px) {
        .programs-section {
            padding: 2.5rem 0;
        }

        .program-title {
            font-size: 1.1rem;
        }

        .program-body {
            font-size: 0.85rem;
        }

        .program-actions {
            flex-direction: column;
        }

        .program-actions .btn {
            width: 100%;
        }

        .display-4 {
            font-size: 2rem;
        }

        .stat-label {
            font-size: 0.6rem; /* Even smaller on mobile */
        }

        .stat-value {
            font-size: 0.75rem; /* Even smaller on mobile */
        }
    }

/* Tuition & Scholarships Section Styles */
.tuition-scholarships {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
}

.fee-card, .scholarship-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.fee-card:hover, .scholarship-card:hover {
    transform: translateY(-5px);
}

.fee-table {
    font-size: 0.95rem;
}

.fee-row {
    padding: 0.5rem 0;
    transition: background-color 0.3s ease;
}

.fee-row:hover {
    background: rgba(40, 167, 69, 0.05);
    border-radius: 4px;
}

.estimated-cost {
    border-left: 4px solid #28a745;
}

.scholarship-type {
    margin-bottom: 2rem;
}

.scholarship-row {
    padding: 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.scholarship-row:hover {
    background: rgba(40, 167, 69, 0.05);
}

.scholarship-item {
    transition: all 0.3s ease;
}

.scholarship-item:hover {
    transform: translateX(5px);
    border-left: 3px solid #28a745;
}

.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1);
}

@media (max-width: 768px) {
    .fee-card, .scholarship-card {
        margin-bottom: 1.5rem;
    }
    
    .scholarship-row {
        padding: 0.5rem;
    }
}

/* Contact Section Styles */
.contact-admission {
    margin-top: 3rem;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 15px;
    border: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 10px 30px -15px rgba(40, 167, 69, 0.15);
}

.contact-admission p {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

.contact-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-admission {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .contact-admission p {
        font-size: 1rem;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(40, 167, 69, 0.08) 100%);
}

.accordion-button {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: #fff;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    padding-right: 3rem;
}

.accordion-button::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    border-right: 2px solid #28a745;
    border-bottom: 2px solid #28a745;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    top: calc(50% - 6px);
}

.accordion-button[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    top: calc(50% - 4px);
}

.accordion-button:hover::after {
    border-color: #218838;
}

/* Remove the icon-box styles since we're not using them anymore */
.accordion-button .icon-box {
    display: none;
}

.accordion-button span {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

.accordion-button[aria-expanded="true"] {
    background: #f8f9fa;
    color: #28a745;
}

.accordion-button[aria-expanded="true"] span {
    color: #28a745;
}

/* Add smooth transition for text color change */
.accordion-button span {
    transition: color 0.3s ease;
}

.accordion-button:hover span {
    color: #28a745;
}

@media (max-width: 768px) {
    .accordion-button {
        padding: 0.875rem 1.25rem;
    }
    
    .accordion-button::after {
        width: 8px;
        height: 8px;
        right: 1.25rem;
    }
}

.custom-accordion .accordion-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(40, 167, 69, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.accordion-button .icon-box i {
    color: #28a745;
    font-size: 1.1rem;
}

.accordion-button span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.accordion-button[aria-expanded="true"] {
    background: #f8f9fa;
}

.accordion-button[aria-expanded="true"] .icon-box {
    background: #28a745;
    transform: scale(1.1);
}

.accordion-collapse {
    transition: all 0.35s ease-in-out;
}

/* Hover effects */
.accordion-button:hover .icon-box {
    transform: scale(1.1);
}

.accordion-button:hover::after {
    border-color: #28a745;
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.custom-list li::before {
    content: '•';
    color: #28a745;
    position: absolute;
    left: 0;
}

.test-components {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.requirement-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.requirement-item i {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.housing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.option-card {
    padding: 1.25rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.transfer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item h6 {
    color: #28a745;
    margin-bottom: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .accordion-button span {
        font-size: 1rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .housing-options {
        grid-template-columns: 1fr;
    }
    
    .transfer-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Request Information Section Styles */
.request-info-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
}

/* Request Form Styles */
.request-form .form-group {
    margin-bottom: 1.5rem;
}

.request-form .input-group-text {
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-right: none;
    background-color: #fff;
}

.request-form .form-control {
    border: 1px solid rgba(40, 167, 69, 0.2);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.request-form .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.request-form label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.request-form select.form-control {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%2328a745' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 8px 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.request-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

@media (max-width: 768px) {
    .request-form .form-group {
        margin-bottom: 1rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
    }
}