/* ===== PAGE SPECIFIC STYLES ===== */

/* Common Page Header Styles */
.page-header {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-flex;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
    color: white;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* ===== ABOUT PAGE STYLES ===== */

/* About Detail Section */
.about-detail {
    padding: 80px 0;
}

.about-image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Mission & Vision Detail */
.mission-vision-detail {
    padding: 80px 0;
}

.mission-image, .vision-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

/* Core Values Section */
.value-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.value-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-content p {
    color: var(--gray-color);
}

/* Leadership Section */
.leadership-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.leadership-card:hover {
    transform: translateY(-10px);
}

.leadership-image {
    height: 250px;
    overflow: hidden;
}

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

.leadership-content {
    padding: 25px;
    text-align: center;
}

.leadership-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.designation {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.description {
    color: var(--gray-color);
    line-height: 1.7;
}

/* ===== PROGRAMS PAGE STYLES ===== */

/* Programs Intro Section */
.programs-intro {
    padding: 80px 0;
}

.programs-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Programs Category Section */
.programs-category {
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateY(-10px);
}

.program-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-specializations {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.program-specializations li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.program-item p {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.7;
}

.program-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.program-link:hover {
    padding-left: 5px;
}

.program-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.program-link:hover i {
    margin-left: 10px;
}

/* Admission Process Section */
.process-steps {
    margin-top: 50px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-color);
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== CAMPUS LIFE PAGE STYLES ===== */

/* Campus Intro Section */
.campus-intro .campus-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.facility-item:hover {
    transform: translateY(-10px);
}

.facility-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.facility-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.facility-image {
    margin-top: 20px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Clubs & Activities Section */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.club-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

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

.club-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.club-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.club-activities span {
    background-color: var(--light-gray);
    color: var(--gray-color);
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Events Section */
.events-slider {
    margin-top: 40px;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    text-align: center;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-description {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.event-details span {
    display: flex;
    align-items: center;
}

.event-details i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Accommodation Section */
.accommodation-type {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.accommodation-type h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.accommodation-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.accommodation-features h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.accommodation-features ul {
    list-style-type: disc;
    padding-left: 20px;
}

.accommodation-features li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

/* Student Life Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Info Section */
.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: red;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-top: 5px;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Map Section */
.responsive-map {
    position: relative;
    overflow: hidden;
    padding-bottom: 450px;
    height: 0;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.responsive-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

/* Department Contacts */
.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.department-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.department-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.department-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.department-contact-info p {
    margin-bottom: 8px;
    color: var(--dark-color);
}

.department-contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
}

.faq-toggle {
    flex-shrink: 0;
    margin-left: 15px;
    width: 24px;
    height: 24px;
    background-color: var(--light-gray);
    color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--gray-color);
}

.faq-answer.active {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* Responsive styles for page-specific elements */
@media (max-width: 992px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .facility-image {
        height: 160px;
    }
    
    .accommodation-image {
        height: 180px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .contact-form-container {
        padding: 30px;
        margin-top: 40px;
    }
    
    .department-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .facilities-grid,
    .clubs-grid,
    .gallery-grid,
    .department-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        padding: 15px;
        min-width: unset;
    }
    
    .event-date .month {
        margin-right: 5px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .col,
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
    .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        width: 100%;
    }
    
    .row {
        display: block;
    }
    
    .accommodation-type {
        margin-bottom: 30px;
    }
}