/* Compact styles for index.php */

/* Global reductions */
.container {
    max-width: 1280px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.75rem;
    font-size: 14px;
}

.rts-section-gap {
    padding: 60px 0;
}

.rts-section-gapBottom {
    padding-bottom: 60px;
}

.ptb--100 {
    padding: 50px 0;
}

/* Header & Banner area */
.banner-area-one {
    padding-top: 30px;
    padding-bottom: 50px;
}

.banner-content-one .pre-title-banner span {
    font-size: 14px;
}

.banner-content-one h1.title-banner {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.banner-content-one h1.title-banner img {
    max-width: 40px;
}

.banner-content-one p.disc {
    font-size: 14px;
    margin-bottom: 15px;
}

.banner-btn-author-wrapper {
    margin-top: 15px;
}

.banner-btn-author-wrapper .sm-image-wrapper .info h6.title {
    font-size: 14px;
}

.banner-btn-author-wrapper .sm-image-wrapper .info span {
    font-size: 12px;
}

.review-thumb .review-single {
    padding: 10px;
}

.review-thumb .review-single img {
    max-width: 40px;
}

.review-thumb .review-single .info-right h6.title {
    font-size: 14px;
    margin-bottom: 0;
}

.review-thumb .review-single .info-right span {
    font-size: 12px;
}

.rts-btn {
    padding: 10px 18px;
    font-size: 14px;
}

.rts-btn.with-arrow {
    padding-right: 40px;
}

.rts-btn.with-arrow i {
    right: 15px;
}

/* Brand area */
.brand-area-one .left-title h6.title {
    font-size: 16px;
}

.brand-area-one .brand-area img {
    height: 120px;
    max-height: 160px;
}

/* About area */
.about-area-start .about-one-left-image {
    max-width: 90%;
}

.about-area-start .about-one-left-image .first-order .thumb-one .information {
    padding: 10px;
}

.about-area-start .about-one-left-image .first-order .thumb-one .information .left h3.title {
    font-size: 24px;
}

.about-area-start .about-one-left-image .first-order .thumb-one .information .left span.review {
    font-size: 12px;
}

.about-area-start .about-one-left-image .first-order .thumb-one .information .right svg {
    width: 30px;
    height: 30px;
}

.title-area-left-style .pre-title {
    margin-bottom: 10px;
}

.title-area-left-style .pre-title img {
    width: 16px;
}

.title-area-left-style .pre-title span {
    font-size: 14px;
}

.title-area-left-style h2.title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.about-inner-right-one .what-you-get {
    margin-top: 15px;
}

.about-inner-right-one .single-facilityes {
    padding: 15px;
    margin-bottom: 10px;
}

.about-inner-right-one .single-facilityes .icon {
    width: 50px;
    height: 50px;
}

.about-inner-right-one .single-facilityes .icon img {
    max-width: 25px;
}

.about-inner-right-one .single-facilityes .information h5.title {
    font-size: 16px;
    margin-bottom: 5px;
}

.about-inner-right-one .single-facilityes .information p {
    font-size: 13px;
    margin-bottom: 0;
}

.about-inner-right-one .author-area {
    padding: 15px;
    margin-top: 15px;
}

.about-inner-right-one .author-area .single-author-and-info img {
    width: 45px !important;
    height: 50px !important;
}

.about-inner-right-one .author-area .single-author-and-info .information h6.title {
    font-size: 14px;
}

.about-inner-right-one .author-area .single-author-and-info .information p.desig {
    font-size: 12px;
}

/* Course area */
.title-between-area .button-group button {
    font-size: 14px;
    padding: 6px 10px;
}

.rts-single-course {
    margin-bottom: 15px;
}

.rts-single-course .thumbnail img {
    height: 160px;
}

.rts-single-course .tags-area-wrapper {
    top: 10px;
    left: 10px;
}

.rts-single-course .tags-area-wrapper .single-tag span {
    font-size: 12px;
    padding: 4px 8px;
}

.rts-single-course .lesson-studente {
    padding: 8px 12px;
}

.rts-single-course .lesson-studente .lesson span {
    font-size: 12px;
}

.rts-single-course .lesson-studente .lesson i {
    font-size: 12px;
}

.rts-single-course h5.title {
    font-size: 16px;
    padding: 0 12px;
    margin: 10px 0 5px;
}

.rts-single-course p.teacher {
    font-size: 13px;
    padding: 0 12px;
    margin-bottom: 8px;
}

.rts-single-course .rating-and-price {
    padding: 8px 12px;
}

.rts-single-course .rating-and-price .rating-area span {
    font-size: 14px;
}

.rts-single-course .rating-and-price .rating-area .stars ul li i {
    font-size: 12px;
}

/* Make grid more compact */
.row.g-5 {
    --bs-gutter-x: 1.5rem;
}

.col-xl-3, .col-lg-4, .col-md-6, .col-sm-6 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner-content-one h1.title-banner {
        font-size: 32px;
    }
    
    .title-area-left-style h2.title {
        font-size: 24px;
    }
    
    .about-area-start .about-one-left-image {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .banner-content-one h1.title-banner {
        font-size: 28px;
    }
    
    .rts-section-gap {
        padding: 40px 0;
    }
    
    .rts-section-gapBottom {
        padding-bottom: 40px;
    }
    
    .ptb--100 {
        padding: 30px 0;
    }
    
    .title-between-area {
        flex-direction: column;
    }
    
    .title-between-area .button-group {
        margin-top: 15px;
    }
}

/* Additional compact styles for testimonials and other sections */
.testimonial-section {
    padding: 50px 0;
}

.testimonial-item {
    padding: 15px;
}

.testimonial-item .testimonial-content p {
    font-size: 14px;
    line-height: 1.5;
}

.testimonial-item .testimonial-author {
    margin-top: 15px;
}

.testimonial-item .testimonial-author h5 {
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-item .testimonial-author span {
    font-size: 12px;
}

/* Stats counters */
.counter-item {
    padding: 15px;
}

.counter-item .counter {
    font-size: 28px;
}

.counter-item h5 {
    font-size: 14px;
    margin-top: 5px;
}

/* Call to action section */
.call-to-action {
    padding: 30px 0;
}

.call-to-action h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.call-to-action p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Footer */
.footer-area {
    padding-top: 60px;
}

.footer-area .footer-widget .title {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-area .footer-widget .menu li a {
    font-size: 14px;
    padding: 5px 0;
}

.footer-area .footer-widget p {
    font-size: 13px;
}

.copyright-area {
    padding: 15px 0;
    font-size: 13px;
}

/* Additional compact styles for course cards */
.compact-course {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: scale(0.98);
    transition: all 0.3s ease;
}

.compact-course:hover {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.compact-course .thumbnail img {
    height: 150px;
    object-fit: cover;
}

.compact-course .lesson-studente {
    padding: 6px 10px;
}

.compact-course .lesson-studente .lesson i {
    font-size: 11px;
    margin-right: 4px;
}

.compact-course .lesson-studente .lesson span {
    font-size: 11px;
}

.compact-course h5.title {
    font-size: 15px;
    margin: 8px 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-course p.teacher {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.compact-course .rating-and-price {
    padding: 6px 10px;
    align-items: center;
}

.compact-course .rating-area span {
    font-size: 13px;
}

.compact-course .rating-area .stars ul li i {
    font-size: 11px;
    margin-right: 1px;
}

.compact-course .price-area .rts-btn.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1;
}

/* Adjust grid spacing */
.ms-portfolio-filter-area .element-item {
    padding: 8px !important;
}

/* Filter buttons */
.button-group.filters-button-group .button {
    font-size: 13px;
    padding: 5px 12px;
    margin-right: 5px;
}

/* Section titles */
.course-area-start .title-area-left-style h2.title {
    font-size: 26px;
}

.course-area-start .title-area-left-style p.post-title {
    font-size: 14px;
}

/* Enhanced banner styles */
.compact-banner {
    padding-top: 25px;
    padding-bottom: 40px;
}

.compact-banner .banner-content-one .inner {
    padding-right: 15px;
}

.compact-banner .banner-content-one h1.title-banner {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.compact-banner .banner-content-one p.disc {
    margin-bottom: 10px;
    line-height: 1.5;
}

.compact-banner .banner-btn-author-wrapper {
    gap: 15px;
}

.compact-banner .sm-image-wrapper {
    margin-left: 10px;
}

.compact-banner .sm-image-wrapper .images-wrap img {
    width: 30px;
    height: 30px;
}

.compact-banner .banner-right-img img {
    max-width: 95%;
}

.compact-banner .review-thumb .review-single {
    transform: scale(0.85);
}

@media (max-width: 991px) {
    .compact-banner {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    
    .compact-banner .banner-content-one h1.title-banner {
        font-size: 30px;
    }
    
    .compact-banner .banner-right-img {
        margin-bottom: 15px;
    }
} 