/* ===== Course Detail Page Styles ===== */

/* Hero Section */
.course-hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(26, 39, 68, 0.8), rgba(26, 39, 68, 0.9)),
                linear-gradient(135deg, #1a2744 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 68, 0.3);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left h1 {
    margin-top: 20px;
    padding-top: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.duration {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.stars {
    color: #ffa500;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-buttons .btn {
    font-size: 1.2rem;
    padding: 18px 40px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(212, 168, 101, 0.3);
}

.secondary-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.secondary-buttons .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.secondary-buttons .btn:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.course-logo {
    width: 250px;
    height: 250px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.course-logo i {
    font-size: 120px;
    color: var(--navy);
}

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

/* Expertise Stats Section */
.expertise-stats {
    background: var(--cream);
    padding: 100px 0;
}

.expertise-stats h2 {
    color: var(--navy);
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--navy);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.stat-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Quick Info Bar */
.quick-info {
    background: #f8f9fa;
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 20px;
}

.info-item i {
    font-size: 2rem;
    color: var(--navy);
    margin-right: 20px;
}

.info-content h4 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.info-divider {
    width: 1px;
    height: 60px;
    background: #4a90e2;
    opacity: 0.3;
}

/* Course Curriculum Section */
.curriculum-section {
    background: var(--navy);
    padding: 100px 0;
    color: var(--white);
}

.curriculum-section h2 {
    color: var(--gold);
    margin-bottom: 60px;
}

.curriculum-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 101, 0.2);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.accordion-item.active {
    background: rgba(212, 168, 101, 0.1);
    border-color: var(--gold);
}

.accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header i {
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content ul {
    padding: 0 70px 25px;
    margin: 0;
    list-style: none;
}

.accordion-content li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.accordion-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* What You Will Learn Section */
.learn-section {
    background: var(--cream);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.learn-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4a865' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.learn-section .container {
    position: relative;
    z-index: 1;
}

.learn-section h2 {
    color: var(--navy);
    margin-bottom: 60px;
}

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

.learn-card {
    background: var(--navy);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.learn-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learn-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.learn-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.learn-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Trainers Section */
.trainers-section {
    background: var(--navy);
    padding: 100px 0;
    color: var(--white);
}

.trainers-section h2 {
    color: var(--gold);
    margin-bottom: 60px;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trainer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 168, 101, 0.2);
}

.trainer-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.trainer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.experience {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Placement Section */
.placement-section {
    background: var(--cream);
    padding: 100px 0;
}

.placement-section h2 {
    color: var(--navy);
    margin-bottom: 60px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.company-logo {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 39, 68, 0.1);
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.company-logo i {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    display: block;
}

.company-logo span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.placement-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: var(--navy);
    border-radius: 15px;
    padding: 40px;
    color: var(--white);
}

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

.stat-item h3 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

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

.stat-divider {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 300;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: linear-gradient(rgba(26, 39, 68, 0.9), rgba(26, 39, 68, 0.95)),
                linear-gradient(135deg, #1a2744 0%, #2c3e50 100%);
    padding: 100px 0;
    color: var(--white);
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 68, 0.2);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section h2 {
    color: var(--gold);
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(232, 220, 200, 0.95);
    border-radius: 15px;
    padding: 30px;
    color: var(--navy);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-content .stars {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info h4 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.student-info p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Placement Notification Bar */
.placement-notification {
    background: rgba(232, 220, 200, 0.3);
    padding: 30px 0;
    border-bottom: 1px solid rgba(26, 39, 68, 0.1);
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: var(--box-shadow);
}

.notification-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-left img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-text h4 {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.notification-text p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin: 0;
}

.notification-right i {
    font-size: 2rem;
    color: #0077b5;
    transition: all 0.3s ease;
}

.notification-right i:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background: var(--navy);
    padding: 100px 0;
    color: var(--white);
}

.contact-section h2 {
    color: var(--gold);
    margin-bottom: 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 5px;
    min-width: 30px;
}

.contact-item h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.enquiry-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(212, 168, 101, 0.2);
}

.enquiry-form h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.enquiry-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enquiry-form .btn:hover {
    background: #e0b977;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 168, 101, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .course-logo {
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.3rem;
        margin-top: 110px;
    }
    
    .course-logo {
        width: 200px;
        height: 200px;
    }
    
    .course-logo i {
        font-size: 80px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-divider {
        display: none;
    }
    
    .learn-grid {
        grid-template-columns: 1fr;
    }
    
    .trainers-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .placement-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .notification-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .secondary-buttons {
        justify-content: center;
    }
    
    .secondary-buttons .btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .hero-left h1 {
        font-size: 2.3rem;
        margin-top: 110px;
    }
    
    .duration {
        font-size: 1.2rem;
    }
    
    .rating {
        flex-direction: column;
        gap: 10px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .enquiry-form {
        padding: 30px 20px;
    }
}
