/* Student Affairs Pages Styles */
.student-affairs-page {
    padding-top: 80px;
    background-color: #ffffff;
}

.page-header {
    background: linear-gradient(rgba(27, 48, 88, 0.9), rgba(27, 48, 88, 0.9)), url('../images/academic-bg.jpg');
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.rule-card, .requirement-card, .fee-card, .activity-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e1e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rule-card:hover, .requirement-card:hover, .fee-card:hover, .activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(27, 48, 88, 0.15);
}

.rule-card h2, .requirement-card h2, .fee-card h2, .activity-card h2 {
    color: #1b3058;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 3px solid #f0c808;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.rule-card p, .requirement-card p, .fee-card p, .activity-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rule-list, .requirement-list {
    list-style: none;
    padding: 0;
}

.rule-list li, .requirement-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.rule-list li:before, .requirement-list li:before {
    content: "•";
    color: #f0c808;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.fee-table th, .fee-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e1e1e1;
}

.fee-table th {
    background: #1b3058;
    color: white;
}

.fee-table tr:nth-child(even) {
    background: #f8f9fa;
}

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

.activity-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-details {
    padding: 1.5rem;
}

.activity-details h3 {
    color: #1b3058;
    margin-bottom: 0.5rem;
}

.activity-details p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chaplaincy-section {
    text-align: center;
    padding: 3rem 0;
}

.chaplain-card {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chaplain-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.chaplain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chaplain-details {
    padding: 2rem;
}

.chaplain-details h2 {
    color: #1b3058;
    margin-bottom: 1rem;
}

.chaplain-details p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.service-times h3 {
    color: #1b3058;
    margin-bottom: 1rem;
}

.service-times ul {
    list-style: none;
    padding: 0;
}

.service-times li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-section {
        padding: 1rem;
    }

    .page-header {
        padding: 3rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .activity-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .rule-card, .requirement-card, .fee-card, .activity-card {
        padding: 1.5rem;
    }

    .chaplain-image {
        height: 300px;
    }
}
