/* SSS Academies - Enhanced Stylesheet for v9 Redesign */
/* Additional styles for professional page redesigns */

/* Enhanced Hero Sections */
.page-hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.95) 0%, rgba(44,82,130,0.95) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumb Enhancement */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-orange);
}

.breadcrumb span {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Enhanced Stats Grid */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30,58,95,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30,58,95,0.3);
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-box {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-orange);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.feature-box-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e8850f 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-box h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.feature-box ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.feature-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* Info Panels */
.info-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
    margin: 30px 0;
}

.info-panel.warning {
    border-left-color: var(--primary-orange);
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d0 100%);
}

.info-panel.success {
    border-left-color: var(--primary-green);
    background: linear-gradient(135deg, #f0fff4 0%, #d0f0e0 100%);
}

.info-panel h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-panel p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Pricing Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-orange);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e8850f 100%);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
}

.pricing-header .price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-radius: 15px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--white);
    padding: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.comparison-table td {
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: left;
}

/* Accordion / FAQ */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

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

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 25px 25px 25px;
    color: #666;
    line-height: 1.8;
}

/* Tabs */
.tabs {
    margin: 40px 0;
}

.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 15px 30px;
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--primary-orange);
}

.tab-button.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-orange);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30,58,95,0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-orange);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Call to Action Boxes */
.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(30,58,95,0.2);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: var(--primary-orange);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h5 {
    color: var(--primary-blue);
    margin-bottom: 3px;
}

.testimonial-role {
    color: #999;
    font-size: 0.9rem;
}

/* Progress Bars */
.progress-item {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}

.progress-bar-container {
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange) 0%, #e8850f 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Video Embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin: 40px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Badge / Tag */
.badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.badge-orange {
    background: var(--primary-orange);
    color: var(--white);
}

.badge-green {
    background: var(--primary-green);
    color: var(--white);
}

.badge-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d0 100%);
    border-left: 5px solid var(--primary-orange);
    padding: 25px 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.highlight-box p {
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    margin: 50px 0;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* Icon List */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icon-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.icon-list-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.icon-list-content h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.icon-list-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-date {
        left: 30px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .stats-showcase {
        grid-template-columns: 1fr;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
}

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

.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .header, .footer, .cta-box, .btn {
        display: none;
    }
    
    .page-hero {
        padding: 40px 0;
    }
    
    .section {
        padding: 30px 0;
    }
}
