/* Campus Life Page Styles */

/* Hero Section */
.campus-life-hero {
    height: 450px;
    background: linear-gradient(135deg, #1e5f5a 0%, #2a7871 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #718096;
}

/* Life Overview Section */
.life-overview {
    padding: 5rem 0;
    background: #f7fafc;
}

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

.overview-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.overview-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.overview-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Hostel Life Section */
.hostel-life {
    padding: 5rem 0;
    background: white;
}

.hostel-info h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

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

.facility-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.facility-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.facility-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.facility-item h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.facility-item p {
    color: #718096;
    font-size: 0.95rem;
}

/* Student Activities Section */
.student-activities {
    padding: 5rem 0;
    background: #f7fafc;
}

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

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

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.activity-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.activity-icon {
    font-size: 4rem;
    filter: brightness(0) invert(1);
}

.activity-content {
    padding: 2rem;
}

.activity-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.activity-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* Campus Events Section */
.campus-events {
    padding: 5rem 0;
    background: white;
}

.events-timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1e5f5a, #2a7871);
}

.event-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.event-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e5f5a 0%, #2a7871 100%);
    border-radius: 50%;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #edf2f7;
    position: relative;
    z-index: 2;
}

.event-content {
    flex: 1;
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-content:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.event-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.event-time {
    display: inline-block;
    background: linear-gradient(135deg, #1e5f5a 0%, #2a7871 100%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f7fafc;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 4rem;
    color: #1e5f5a;
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.student-info h4 {
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.student-info p {
    color: #718096;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e5f5a 0%, #2a7871 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #1e5f5a;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f7fafc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .campus-life-hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .overview-grid,
    .activities-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        gap: 1rem;
    }
    
    .events-timeline::before {
        left: 15px;
    }
    
    .event-marker {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .life-overview,
    .hostel-life,
    .student-activities,
    .campus-events,
    .testimonials,
    .cta-section {
        padding: 3rem 0;
    }
    
    .overview-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}
