/*
Theme Name: Illoura Edu Twenty Six
Theme URI: https://www.illoura.edu.au
Author: Raju Tako
Author URI:
Description: This is mobile best approach theme for Landing, Twig based!!
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: illouraedutwentysix
*/

/* Theme-specific overrides (loaded after assets/css/custom.css) */

/* Slight spacing for nav items */
.nav-link-custom {
  gap: 4px;
  margin-left: 12px;
}

/* Show mega menu on hover or when a JS-added .is-open class is present */
.mega-parent:hover .mega-menu-wrapper,
.mega-parent.is-open .mega-menu-wrapper {
  display: block;
}

/* Softer hover effect on mega menu links */
.mega-menu-wrapper a.menu-link:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Black badge text for white backgrounds */
.cp-badge-row.cp-badge-black-text,
.cp-badge.cp-badge-black-text {
  color: black !important;
}

.cp-info-box p,
.cp-info-box ul {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.cp-check-icon {
  left: 0;
  top: 2px;
  font-size: 16px;
  margin-right: 8px;
}

/* Compact badge styling */
.cp-badge-compact {
  padding: 4px 9px !important;
}

/* Course fees table styling */
.course-fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.course-fees-table thead th {
  background: #1e3a8a;
  color: #fff;
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-fees-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
}

.course-fees-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.course-fees-table tbody tr:hover {
  background-color: #f3f4f6;
}

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

.course-fees-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .course-fees-table thead th {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .course-fees-table tbody td {
    padding: 8px;
    font-size: 13px;
  }
}

/* ===================================
   TESTIMONIALS SECTION STYLES
   =================================== */

.testimonials-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-section .swiper {
  padding: 0 20px 40px !important;
  margin-bottom: 20px;
  overflow: hidden;
}

.testimonials-section .swiper-wrapper {
  align-items: stretch;
}

/* Testimonials Swiper Navigation Styles */
.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
  color: var(--primary) !important;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-section .swiper-button-next::after,
.testimonials-section .swiper-button-prev::after {
  font-size: 16px;
}

.testimonials-section .swiper-button-next {
  right: 10px;
}

.testimonials-section .swiper-button-prev {
  left: 10px;
}

/* Testimonials Swiper Pagination */
.testimonials-section .swiper-pagination {
  bottom: 0 !important;
}

.testimonials-section .swiper-pagination-bullet {
  background: #ccc !important;
  opacity: 0.5;
}

.testimonials-section .swiper-pagination-bullet-active {
  background: var(--teal) !important;
  opacity: 1;
}

.testimonials-section .swiper-slide {
  height: auto;
  display: flex;
  width: 50% !important;
}

@media (max-width: 768px) {
  .testimonials-section .swiper-slide {
    width: 100% !important;
  }
}

.testimonial-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
  background: white;
  width: 100%;
}

.testimonial-card .testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-description {
  flex: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.testimonial-description {
  font-style: italic;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.testimonial-description::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: #14b8a6;
  opacity: 0.3;
}

.client-image img {
  transition: all 0.3s ease;
}

.testimonial-card:hover .client-image img {
  transform: scale(1.05);
}

.rating .fa-star {
  font-size: 1rem;
  margin-right: 2px;
}

/* Testimonials Responsive Design */
@media (max-width: 768px) {
  .testimonials-section .swiper {
    padding: 0 10px 40px !important;
  }
  
  .testimonials-section .swiper-button-next,
  .testimonials-section .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  
  .testimonials-section .swiper-button-next::after,
  .testimonials-section .swiper-button-prev::after {
    font-size: 14px;
  }
  
  .testimonials-section .swiper-button-next {
    right: 5px;
  }
  
  .testimonials-section .swiper-button-prev {
    left: 5px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-description {
    padding-left: 10px;
  }
  
  .testimonial-description::before {
    font-size: 1.5rem;
  }
  
  .client-image img {
    width: 100px;
  }
}

@media (max-width: 576px) {
  .testimonials-section .swiper-button-next,
  .testimonials-section .swiper-button-prev {
    display: none;
  }
}