/* Homepage Specific Styles */

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 50px;
}

.hero-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Disciplines Section */
.disciplines-section {
    margin-bottom: 60px;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
}

/* Discipline Card */
.discipline-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e1e8ed;
    display: flex;
    flex-direction: column;
}

.discipline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Contact Card - Special styling */
.discipline-card.contact-card {
    border: 2px dashed #667eea;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.discipline-card.contact-card:hover {
    border-style: solid;
    background: linear-gradient(135deg, #e8ecf4 0%, #b5c5dc 100%);
}

.discipline-card.contact-card .card-header {
    background: linear-gradient(135deg, #a8b5d1 0%, #8899bb 100%);
}

.discipline-card.contact-card .contact-btn {
    background: linear-gradient(135deg, #50a3a2 0%, #3c7f7e 100%);
}

.discipline-card.contact-card .contact-btn:hover {
    background: linear-gradient(135deg, #3c7f7e 0%, #2d5f5e 100%);
}

/* Restricted Card - Access restricted styling */
.discipline-card.restricted {
    border-color: #e74c3c;
    position: relative;
    overflow: hidden;
}

.discipline-card.restricted::before {
    content: 'ACCESS RESTRICTED';
    position: absolute;
    top: 20px;
    right: -50px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 10px 50px;
    font-size: 13px;
    font-weight: 900;
    transform: rotate(45deg);
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discipline-card.restricted:hover {
    border-color: #c0392b;
}

/* Card Header */
.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.logo-placeholder {
    position: relative;
    width: 140px;
    height: 140px;
}

.discipline-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    background: white;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo-icon {
    font-size: 4rem;
}

.discipline-logo[src*="placeholder"] {
    display: none;
}

.discipline-logo:not([src*="placeholder"]) ~ .logo-fallback {
    display: none;
}

/* Card Body */
.card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-body > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

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

.feature-list li {
    padding: 6px 0;
    color: #555;
    font-size: 14px;
}

/* Card Footer */
.card-footer {
    padding: 0 30px 30px 30px;
}

.discipline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.discipline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.discipline-btn svg {
    transition: transform 0.3s ease;
}

.discipline-btn:hover svg {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 60px;
}

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

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
