/* ===== PAGES CSS ===== */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.breadcrumbs {
    font-size: 1rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    color: #fff;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

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

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

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 12s;
}

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

/* About Page Styles */
.about-page {
    padding: 100px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    animation: pulse 2s infinite;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.text-left {
    text-align: left;
}

.text-left .underline {
    margin: 0;
}

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

.feature {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.vision-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.vision-text {
    flex: 1;
    min-width: 300px;
}

.vision-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.values-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.values-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

.values-list li span {
    font-weight: 600;
    color: var(--primary-color);
}

.vision-image {
    flex: 1;
    min-width: 300px;
}

.vision-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.vision-image:hover img {
    transform: scale(1.02);
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: rgba(0, 123, 255, 0.8);
    transition: all 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
}

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

.stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: var(--secondary-color);
}

.stat-content .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-content .stat-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #fff;
}

.partners-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.partner-logo {
    flex: 0 0 200px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Courses Page Styles */
.course-search {
    padding: 50px 0;
    background-color: #fff;
}

.search-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary-color);
}

.filter-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-label {
    font-weight: 600;
    color: var(--dark-color);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.courses-section {
    padding: 50px 0 100px;
    background-color: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.course-card {
    height: 500px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.course-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background-color: #fff;
    box-shadow: var(--card-shadow);
}

.card-back {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.course-card:hover .card-image img {
    transform: scale(1.1);
}

.course-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 1;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.course-meta span {
    display: flex;
    align-items: center;
}

.course-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.course-rating {
    margin-bottom: 15px;
}

.course-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.course-rating span {
    color: var(--gray-color);
    margin-left: 5px;
}

.course-price {
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-back ul {
    margin-bottom: 20px;
    text-align: left;
}

.card-back li {
    margin-bottom: 10px;
}

.card-back p {
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.view-details-btn,
.enroll-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.view-details-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.enroll-btn {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
}

.enroll-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Course Comparison */
.course-comparison {
    padding: 80px 0;
    background-color: #fff;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 50px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background-color: var(--primary-color);
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table tbody tr {
    background-color: #fff;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: var(--light-gray);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table i.fa-check {
    color: var(--secondary-color);
}

/* Course FAQ */
.course-faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-container {
    margin-top: 50px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.6);
}

.cta-button.outline {
    background-color: transparent;
    border: 2px solid #fff;
    box-shadow: none;
}

.cta-button.outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Consultation Modal */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: zoomIn 0.3s ease forwards;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-header {
    padding: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.modal-body {
    padding: 30px;
}

/* AI Robot */
.ai-robot {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 998;
}

.robot-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.robot-icon:hover {
    background-color: #218838;
    transform: scale(1.1);
}

.robot-speech {
    position: absolute;
    bottom: 80px;
    right: -20px;
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;
    animation: slideUp 0.3s ease forwards;
}

.robot-speech:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.robot-speech p {
    margin-bottom: 15px;
}

.robot-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.robot-close,
.robot-speak {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.robot-close {
    background-color: #f8f9fa;
    color: var(--gray-color);
}

.robot-speak {
    background-color: var(--primary-color);
    color: #fff;
}

.robot-close:hover,
.robot-speak:hover {
    transform: scale(1.1);
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(40, 167, 69, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .vision-content {
        flex-direction: column;
    }
    
    .about-image,
    .vision-image {
        margin-bottom: 30px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-robot {
        right: 30px;
    }
    
    .robot-speech {
        width: 250px;
        right: -10px;
    }
}

@media (max-width: 575.98px) {
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}