/* =============================================================================
   Practice Product Page Specific Styles
   ========================================================================== */

/* About Section Paragraph Styling */
.section.container .lead {
    font-size: 1rem;
    line-height: 1.7;
}

.section.container .lead + p {
    margin-top: 1rem;
}

/* Inherits global styles from eduskill-custom.css */

.page-practice {
    background-color: var(--eduskill-bg);
    color: var(--eduskill-text);
}

/* Ensure sections with light backgrounds have dark text for contrast */
.page-practice .bg-light-alt,
.page-practice .bg-light-blue-py-80 {
    background-color: #f8f9fa !important;
}

.page-practice .bg-light-alt h1,
.page-practice .bg-light-alt h2,
.page-practice .bg-light-alt h3,
.page-practice .bg-light-alt h4,
.page-practice .bg-light-alt p,
.page-practice .bg-light-blue-py-80 h2,
.page-practice .bg-light-blue-py-80 p {
    color: var(--eduskill-text-dark) !important;
}

/* 1. About Section */
.page-practice .lead {
    color: var(--eduskill-muted);
}

/* 2. Key Highlights Section */
.page-practice .highlight-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e5f2;
    box-shadow: 0 8px 16px rgba(142, 160, 186, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-practice .highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    background-color: #f7faff;
}

.page-practice .highlight-card .highlight-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: zoom-in;
}

.page-practice .highlight-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eduskill-text-dark) !important;
}

.page-practice .highlight-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d !important;
}

/* 3. Core Functionalities Section */
.page-practice .functionality-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e5f2;
    box-shadow: 0 8px 16px rgba(142, 160, 186, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-practice .functionality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    background-color: #f7faff;
}

.page-practice .functionality-card .func-icon {
    margin-bottom: 20px;
    height: 160px; /* Adjusted height for better proportion */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-practice .functionality-card .func-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover */
    border-radius: 10px; /* Added border-radius */
    cursor: zoom-in;
}

.page-practice .functionality-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--eduskill-text-dark) !important;    
    margin-bottom: 10px;
}

.page-practice .functionality-card p {
    color: #6c757d !important;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;    
}


.page-practice .impact-card,
.page-practice .feature-showcase-section .impact-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e5f2;
    box-shadow: 0 8px 16px rgba(142, 160, 186, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-practice .impact-card:hover,
.page-practice .feature-showcase-section .impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    background-color: #f7faff;
}

.page-practice .impact-card .impact-icon,
.page-practice .feature-showcase-section .impact-card .impact-icon {
    font-size: 2.5rem;
    color: var(--eduskill-primary);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--eduskill-soft);
    border-radius: 50%; 
    margin: 0 auto 15px;
}

.page-practice .impact-card h4,
.page-practice .feature-showcase-section .impact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eduskill-text-dark) !important;
}

.page-practice .impact-card p,
.page-practice .feature-showcase-section .impact-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d !important;
}

/* 4. Feature Showcase Section */
.page-practice .feature-showcase-section .showcase-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-practice .feature-showcase-section .showcase-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eduskill-text-dark) !important;
}
/* 5. Video Section */
.page-practice .video-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.page-practice .product-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 6. Final CTA Section */
.page-practice .final-cta-section.bg-light-blue-py-80 {
    padding: 80px 0;
    background-color: #f0f8ff !important;
}

/* Image Zoom Modal Styles */
.page-practice .zoomable-image {
  cursor: zoom-in;
  transition: transform 0.2s;
}
.page-practice .image-zoom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.page-practice .image-zoom-modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.3s ease;
}
.page-practice .image-zoom-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}
.page-practice .image-zoom-close:hover,
.page-practice .image-zoom-close:focus {
  color: #bbb;
  text-decoration: none;
}
.page-practice #zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 44, 44, 0.7);
  border-radius: 20px;
  padding: 5px;
  display: flex;
}
.page-practice #zoom-controls button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.page-practice #zoom-controls button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.page-practice #zoomInBtn {
  border-radius: 0 20px 20px 0;
}
.page-practice #zoomOutBtn {
  border-radius: 20px 0 0 20px;
}

/* Image Zoom Modal Styles for Key Highlights */
.page-practice .highlight-card .highlight-img {
  cursor: zoom-in;
  transition: transform 0.2s;
}

.page-practice .image-zoom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.page-practice .image-zoom-modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.3s ease;
}

.page-practice .image-zoom-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.page-practice .image-zoom-close:hover,
.page-practice .image-zoom-close:focus {
  color: #bbb;
  text-decoration: none;
}