/* Sciences Page Styles */
.sciences-page {
    padding-bottom: 50px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/sciences-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-desc {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sciences Content */
.sciences-content {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.science-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.science-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3498db, #2c3e50);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.science-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid #3498db;
}

.science-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.science-card:hover .card-icon {
    background: linear-gradient(to right, #3498db, #2c3e50);
    transform: scale(1.1);
}

.card-icon i {
    font-size: 2.5rem;
    color: #3498db;
    transition: all 0.3s ease;
}

.science-card:hover .card-icon i {
    color: white;
}

.science-card h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.science-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.science-card .btn {
    transition: all 0.3s ease;
}

.science-card:hover .btn {
    background: #2c3e50;
    transform: translateY(-3px);
}

.btn-primary {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-primary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(to right, #3498db, #2c3e50);
}

.feature-icon i {
    font-size: 2rem;
    color: #3498db;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Research Section */
.research-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.research-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.research-image img {
    transition: all 0.5s ease;
}

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

.research-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.research-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.research-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.research-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 1.1rem;
}

.research-list li i {
    color: #3498db;
    margin-right: 15px;
    margin-top: 4px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-light {
    display: inline-block;
    background: white;
    color: #3498db;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .research-image {
        margin-bottom: 30px;
    }
    
    .research-text {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .hero-desc {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .sciences-content,
    .features-section,
    .research-section,
    .cta-section {
        padding: 70px 0;
    }
    
    .science-card {
        padding: 30px 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .research-text h3 {
        font-size: 1.7rem;
    }
    
    .cta-content h2 {
        font-size: 1.7rem;
    }
    
    .btn-primary,
    .btn-light {
        padding: 10px 20px;
    }
    
    .sciences-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Science Pages Styles */
.science-page-content {
    padding: 80px 0;
}

.science-intro {
    margin-bottom: 80px;
}

.science-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.science-intro p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

.science-topics {
    margin-bottom: 80px;
}

.topic-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.topic-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.topic-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.topic-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.topic-list li:last-child {
    border-bottom: none;
}

.topic-list li i {
    color: #3498db;
    margin-right: 15px;
}

.professor-section {
    margin-bottom: 80px;
}

.professor-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.professor-image {
    flex: 0 0 200px;
    overflow: hidden;
}

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

.professor-info {
    flex: 1;
    padding: 30px;
}

.professor-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.professor-info .position {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 15px;
}

.professor-info .bio {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.professor-social a {
    width: 35px;
    height: 35px;
    background: #f0f7ff;
    color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.professor-social a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.labs-section {
    margin-bottom: 80px;
}

.lab-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

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

.lab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.lab-card:hover .lab-image img {
    transform: scale(1.1);
}

.lab-content {
    padding: 30px;
    background: white;
}

.lab-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.lab-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.lab-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lab-feature {
    background: #f0f7ff;
    color: #3498db;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.courses-section {
    margin-bottom: 80px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-header {
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    padding: 20px;
}

.course-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.course-header .course-code {
    opacity: 0.8;
    font-size: 0.9rem;
}

.course-content {
    padding: 30px;
}

.course-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-detail i {
    color: #3498db;
}

.course-detail span {
    color: #666;
}

.course-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 992px) {
    .professor-card {
        flex-direction: column;
    }
    
    .professor-image {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .science-intro h2,
    .topic-card h3 {
        font-size: 1.8rem;
    }
    
    .topic-card {
        padding: 30px;
    }
    
    .professor-info,
    .lab-content,
    .course-content {
        padding: 20px;
    }
} 