/* Java Classes Page Styles */
:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --accent-color: #3498DB;
    --text-color: #2C3E50;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --success-color: #2ECC71;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-icon {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-features i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    color: var(--white);
}

.overlay-content {
    text-align: center;
}

.overlay-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.overlay-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(20px);
    animation: slideRight 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features li {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Course Highlights */
.course-highlights {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.highlight-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

/* Course Details */
.course-details {
    padding: var(--spacing-xl) 0;
}

.course-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.course-content h3 {
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* --- CURRICULUM SECTION IMAGE & MARGIN FIX --- */
.curriculum-section {
    margin-top: 3rem;
    margin-bottom: var(--spacing-lg);
}
.curriculum-card .card-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}
@media (max-width: 900px) {
    .curriculum-card .card-image img {
        height: 180px;
    }
}

/* Enrollment Form */
.enrollment-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.enrollment-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.enrollment-form .form-group {
    margin-bottom: var(--spacing-md);
}

.enrollment-form input,
.enrollment-form select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
}

.enrollment-form button {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonial-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 0 var(--spacing-md);
}

.rating {
    color: #ffc107;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.student-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Placement Section */
.placement-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.placement-section h2 {
    margin-bottom: var(--spacing-md);
}

.placement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-card {
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .course-details .grid-2 {
        grid-template-columns: 1fr;
    }

    .enrollment-card {
        margin-top: var(--spacing-xl);
    }

    .placement-stats {
        grid-template-columns: 1fr;
    }
}

/* IMPORTANT: For best results, load this file LAST in your HTML <head> or PHP includes. */

.curriculum-section .container {
    max-width: 100vw !important;
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.curriculum-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    margin: 0 2vw;
}
.curriculum-card {
    flex: 1 1 340px;
    max-width: 400px;
    min-width: 320px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 1.5rem 2rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .curriculum-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin: 0;
    }
    .curriculum-card {
        max-width: 100%;
        min-width: 0;
        padding: 1rem;
    }
}

.curriculum-section .curriculum-grid .curriculum-card .card-image img,
.curriculum-section .curriculum-card .card-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 340px !important;
    min-height: 200px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    margin-bottom: 1rem !important;
    display: block !important;
}
@media (max-width: 900px) {
    .curriculum-section .curriculum-card .card-image img {
        height: 180px !important;
    }
}

.curriculum-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}
.curriculum-section .section-description {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section {
    background: #f8f9fa;
    padding: 4rem 0;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin: 3rem 2vw;
}
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem 1.5rem;
}
.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
    transition: background 0.3s;
    border-radius: 8px;
    overflow: hidden;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    background: #f7f7f7;
    border: none;
    outline: none;
    text-align: left;
    padding: 1.2rem 1rem;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: var(--primary-color);
    border-radius: 8px;
}
.faq-item.active .faq-question {
    background: #ffe5d0;
    color: #d35400;
}
.faq-question:after {
    content: '\25BC';
    float: right;
    transition: transform 0.2s;
}
.faq-item.active .faq-question:after {
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background: #fff7f0;
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.active .faq-answer {
    display: block;
}
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 0.5rem;
        margin: 2rem 0.2rem;
        border-radius: 10px;
    }
    .faq-accordion {
        padding: 1rem 0.5rem;
        border-radius: 8px;
    }
    .faq-answer {
        padding: 0.7rem 0.5rem 1rem 0.5rem;
    }
}

/* Intro Section Styles */
.intro-section {
    background: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
}
.register-btn {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.intro-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.intro-desc {
    color: var(--primary-color);
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}
.syllabus-btn {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
.curriculum-heading {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}
.curriculum-underline {
    width: 120px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 2rem auto;
    border-radius: 2px;
}
.intro-curriculum-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}
.intro-curriculum-grid .curriculum-card {
    min-width: 180px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: box-shadow 0.2s, transform 0.2s;
}
.intro-curriculum-grid .curriculum-card i {
    color: var(--accent-color);
    font-size: 1.3rem;
}
.intro-curriculum-grid .curriculum-card:hover {
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
    transform: translateY(-3px) scale(1.03);
}
@media (max-width: 900px) {
    .intro-curriculum-grid {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
    .intro-curriculum-grid .curriculum-card {
        max-width: 100%;
        min-width: 0;
        padding: 1rem;
    }
    .intro-title {
        font-size: 2rem;
    }
}

/* Feature Highlights Section - Modern Theme */
.feature-highlights-section {
    background: #fff;
    padding: 3rem 0 2rem 0;
}
.feature-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.10);
    padding: 2.2rem 1.7rem 1.7rem 1.7rem;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 210px;
    text-align: center;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    transform: translateY(-4px) scale(1.03);
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.1rem;
    margin-right: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
/* Icon background colors by card order */
.feature-card:nth-child(1) .feature-icon, .feature-card:nth-child(6) .feature-icon { background: #1976d2; }
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(4) .feature-icon { background: #ff9800; }
.feature-card:nth-child(3) .feature-icon, .feature-card:nth-child(5) .feature-icon { background: #2ecc71; }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.1rem;
    line-height: 1.2;
}
.feature-underline {
    display: block;
    height: 12px;
    margin-top: -2px;
}
.feature-card p {
    color: #111;
    font-size: 1.05rem;
    margin: 0;
    margin-top: 0.5rem;
}
.feature-card strong {
    color: #111;
}
@media (max-width: 900px) {
    .feature-highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .feature-card {
        padding: 1.2rem 1rem 1rem 1rem;
    }
} 