/* Courses Page Specific Styles */

/* Courses Hero Section */
.courses-hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="graduation" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" d="M12.5 8L4 12.5l8.5 4.5 8.5-4.5z"/><rect fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" x="10" y="15" width="5" height="6"/></pattern></defs><rect width="100" height="100" fill="url(%23graduation)"/></svg>') repeat;
    opacity: 0.3;
}

.courses-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.courses-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.courses-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.coming-soon-content {
    max-width: 900px;
    margin: 0 auto;
}

.coming-soon-icon {
    color: #2c3e50;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.coming-soon-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Courses Preview */
.courses-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.course-preview {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.course-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff8c42, #ffa726);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
    border-color: rgba(44, 62, 80, 0.2);
}

.course-preview:hover::before {
    transform: scaleX(1);
}

.course-preview .course-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.course-preview h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-preview p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-duration {
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
}

/* Location Info */
.location-info {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid #2c3e50;
    animation: fadeInUp 1s ease 0.6s both;
}

.location-info h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.facility-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-tag {
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.feature-tag:hover {
    background: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

/* Notification Section */
.notify-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid #ff8c42;
    animation: fadeInUp 1s ease 0.7s both;
}

.notify-section h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
}

.notify-section > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.email-subscribe {
    display: flex;
    max-width: 450px;
    margin: 0 auto 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-subscribe input {
    flex: 1;
    min-width: 280px;
    padding: 15px 25px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.email-subscribe input:focus {
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.subscribe-btn {
    background: linear-gradient(135deg, #ff8c42, #ffa726);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.subscribe-btn:active {
    transform: translateY(-1px);
}

.early-bird-info {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}

.early-bird-info p {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #2c3e50;
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.15);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Quick Links Section */
.quick-links-section {
    padding: 100px 0;
    background: white;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff8c42, #ffa726);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    border-color: #ff8c42;
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.15);
    color: inherit;
    text-decoration: none;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.quick-link-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.quick-link-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modal Styles */
.success-content, .early-bird-content {
    text-align: center;
    padding: 1rem 0;
}

.success-icon, .early-bird-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.success-content h2 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.early-bird-content h2 {
    color: #ff8c42;
    margin-bottom: 1rem;
}

.success-content p, .early-bird-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.discount-code {
    background: linear-gradient(135deg, #ff8c42, #ffa726);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.discount-code strong {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-hero {
        padding: 120px 0 80px;
    }
    
    .courses-hero h1 {
        font-size: 2.2rem;
    }
    
    .courses-hero p {
        font-size: 1.1rem;
    }
    
    .coming-soon-section {
        padding: 60px 0;
    }
    
    .coming-soon-content h2 {
        font-size: 2rem;
    }
    
    .coming-soon-content > p {
        font-size: 1.1rem;
    }
    
    .courses-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .course-preview {
        padding: 2rem 1.5rem;
    }
    
    .location-info {
        padding: 2rem 1.5rem;
        margin: 0 1rem 3rem;
    }
    
    .facility-features {
        flex-direction: column;
        align-items: center;
    }
    
    .notify-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .email-subscribe {
        flex-direction: column;
        align-items: center;
    }
    
    .email-subscribe input {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .subscribe-btn {
        width: 100%;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .quick-links-section {
        padding: 60px 0;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-link-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .courses-hero h1 {
        font-size: 1.8rem;
    }
    
    .coming-soon-content h2 {
        font-size: 1.8rem;
    }
    
    .coming-soon-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .course-preview .course-icon {
        font-size: 3rem;
    }
    
    .benefit-icon, .link-icon {
        font-size: 2.5rem;
    }
    
    .location-info h3 {
        font-size: 1.4rem;
    }
    
    .notify-section h3 {
        font-size: 1.4rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .coming-soon-section {
        background: #1a1a1a;
    }
    
    .coming-soon-content h2 {
        color: #f8f9fa;
    }
    
    .coming-soon-content > p {
        color: #adb5bd;
    }
    
    .course-preview {
        background: linear-gradient(145deg, #2d3436, #636e72);
        color: #f8f9fa;
    }
    
    .course-preview h3 {
        color: #f8f9fa;
    }
    
    .course-preview p {
        color: #adb5bd;
    }
    
    .benefit-card, .quick-link-card {
        background: linear-gradient(145deg, #2d3436, #636e72);
        color: #f8f9fa;
    }
    
    .benefit-card h3, .quick-link-card h3 {
        color: #f8f9fa;
    }
    
    .benefit-card p, .quick-link-card p {
        color: #adb5bd;
    }
    
    .benefits-section {
        background: #1a1a1a;
    }
}