/* Machine Learning Course Page CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 15%;
    animation-delay: -4s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 80%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #f093fb, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    min-width: 140px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fbbf24;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Urgent Banner */
.urgent-banner {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.urgent-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgent-icon {
    font-size: 1.5rem;
}

.urgent-text {
    font-size: 0.95rem;
}

.urgent-btn {
    background: white;
    color: #dc2626;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.urgent-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Introduction Section */
.intro-section {
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Curriculum Section */
.curriculum-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.curriculum-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.curriculum-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.curriculum-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.curriculum-icon svg {
    width: 28px;
    height: 28px;
}

.curriculum-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.curriculum-duration {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.curriculum-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    line-height: 1.6;
}

.curriculum-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Enrollment Section */
.enrollment-section {
    background: white;
}

.enrollment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.enrollment-card {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.enrollment-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.enrollment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.enrollment-card h3 {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.enrollment-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Highlights Section */
.highlights-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
}

.highlights-section .section-title {
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Career Section */
.career-section {
    background: white;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.career-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.salary-info {
    text-align: center;
    margin-top: 3rem;
}

.salary-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.salary-boxes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.salary-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #667eea;
}

.salary-label {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.salary-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
}

/* Tools Section */
.tools-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tool-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.tool-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tool-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.tool-desc {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
}

/* Stats Section */
.stats-section {
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-box .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-box .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-box .stat-text {
    font-size: 0.95rem;
    color: #64748b;
}

/* Fee Section */
.fee-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
}

.fee-section .section-title {
    color: white;
}

.fee-card {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}

.fee-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.fee-original {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.fee-original span {
    text-decoration: line-through;
}

.fee-discounted {
    font-size: 4rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.fee-savings {
    font-size: 1.1rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 2rem;
}

.payment-options,
.fee-includes {
    text-align: left;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.payment-options h3,
.fee-includes h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.payment-options ul {
    list-style: none;
    padding: 0;
}

.payment-options li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.include-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.quote-icon {
    width: 50px;
    height: 50px;
    color: #fbbf24;
    margin: 0 auto 1.5rem;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.testimonial-author p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fbbf24;
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    background: white;
}

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

.faq-item {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border-left: 4px solid #667eea;
}

.faq-question {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

.faq-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.urgency-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(220, 38, 38, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.download-link {
    margin-top: 1rem;
}

.download-link a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.download-link a:hover {
    opacity: 0.8;
}

/* Contact Strip */
.contact-strip {
    background: #1a202c;
    color: white;
    padding: 2rem 0;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    font-size: 0.85rem;
    color: #a0aec0;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 968px) {
    .curriculum-grid,
    .enrollment-grid,
    .highlights-grid,
    .career-grid,
    .tools-grid,
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .curriculum-grid,
    .enrollment-grid,
    .highlights-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-items {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .fee-card {
        padding: 2rem;
    }
    
    .fee-discounted {
        font-size: 3rem;
    }
    
    .salary-boxes {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .urgent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .urgent-text {
        font-size: 0.85rem;
    }
    
    .curriculum-card,
    .enrollment-card,
    .highlight-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    .fee-card {
        padding: 1.5rem;
    }
    
    .fee-discounted {
        font-size: 2.5rem;
    }
    
    .includes-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-btn:focus,
.dot:focus,
.urgent-btn:focus,
.contact-value:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

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

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-btn,
    .urgent-btn {
        min-height: 48px;
    }
    
    .curriculum-card:hover,
    .enrollment-card:hover,
    .career-card:hover {
        transform: none;
    }
    
    .curriculum-card:active,
    .enrollment-card:active,
    .career-card:active {
        transform: scale(0.98);
    }
}