/* css/about.css - Enhanced SEO-Optimized Version */

/* Page Title Section - Enhanced */
/* css/about.css - Enhanced SEO-Optimized Version */

/* Page Title Section - Enhanced */
.page-title-section {
    background: linear-gradient(135deg, #ad5207 0%, #e88e07 100%);
    color: white;
    padding: 20px 1rem 3rem; /* Adjusted top padding to 20px */
    text-align: center;
    position: relative;
    padding-left: 0px;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/images/pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.page-title-section > * {
    position: relative;
    z-index: 2;
}

.page-title-section h1 {
    font-size: clamp(2.0rem, 5vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: white;
    line-height: 1.2;
    padding-top: 20px;
    padding-left: 0.75rem;/* This padding rule will be overridden by the main one now */
}

.page-title-section p {
    font-size: 1.1rem;
    color: white;
    max-width: 50rem;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    padding-left: 0.75rem
}
/* ... (rest of the file remains unchanged) ... */
/* Content Grid Sections - Enhanced */
.content-grid-section {
    padding: 5rem 1rem;
}

.content-grid {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    text-align: center; 
    width: 100%;
}

.text-content h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    text-align: center;
}

.text-content p.description {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Founder Quote */
.founder-quote {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fffaf2 0%, #fff5e6 100%);
    border-left: 5px solid #e88e07;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(173, 82, 7, 0.1);
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1rem;
    font-size: 4rem;
    color: #e88e07;
    line-height: 1;
    font-family: Georgia, serif;
}

.founder-quote blockquote {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
}

.founder-quote cite {
    display: block;
    text-align: right;
    margin-top: 1.5rem;
    font-weight: 700;
    color: #ad5207;
    font-style: normal;
}

/* Image Container - Enhanced */
.image-container {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.image-container img {
    width: 100%;
    max-width: 40rem;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

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

/* Why Different Section - Enhanced */
.why-different-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 5rem 1rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    margin: 0 0 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #e88e07;
}

/* Refactored .value-icon to use sprites directly */
.value-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 90px;
    height: 90px;
    transition: all 0.3s ease;
    /* Sprite properties */
    background-image: url('../../assets/images/about-us/css_sprites-about-us.webp');
    background-repeat: no-repeat;
    background-size: 389px 292px;
    /* Hide font icon fallback text */
    font-size: 0;
    color: transparent;
}

/* Positions for each specific value icon */
.value-icon.fa-certificate   { background-position: -3.6px -3.6px; }
.value-icon.fa-user-cog      { background-position: -295.2px -3.6px; }
.value-icon.fa-globe         { background-position: -100.8px -100.8px; }
.value-icon.fa-shield-heart  { background-position: -100.8px -198px; }
.value-icon.fa-chart-line    { background-position: -3.6px -100.8px; }
.value-icon.fa-headset       { background-position: -198px -3.6px; }

/* Cleaned up hover state */
.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* Tutors Section - Enhanced */
.tutors-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #fffaf2 0%, #fff0e1 100%);
    position: relative;
}

.tutors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/pattern.svg');
    background-size: 80px 80px;
    opacity: 0.03;
    z-index: 1;
}

.tutors-section > * {
    position: relative;
    z-index: 2;
}

.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tutor-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.tutor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #e88e07;
}

.tutor-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.tutor-card:hover img {
    transform: scale(1.05);
}

.tutor-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tutor-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #374151;
}

.tutor-card .tutor-role {
    font-size: 0.9rem;
    color: #e88e07;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutor-card .tutor-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Credentials Section */
.credentials-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.credential-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.credential-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Refactored .credential-item i to use sprites directly */
.credential-item i {
    display: block;
    margin-bottom: 1rem;
    width: 40px;
    height: 40px;
    /* Sprite properties */
    background-image: url('../../assets/images/about-us/css_sprites-about-us.webp');
    background-repeat: no-repeat;
    background-size: 173px 130px;
    /* Hide font icon fallback text */
    font-size: 0;
    color: transparent;
}

/* Positions for each specific credential icon */
.credential-item .fa-graduation-cap    { background-position: -88px -44.8px; }
.credential-item .fa-university        { background-position: -88px -88px; }
.credential-item .fa-chalkboard-teacher{ background-position: -44.8px -1.6px; }
.credential-item .fa-laptop             { background-position: -1.6px -88px; }

.credential-item p {
    margin: 0;
    line-height: 1.5;
    color: #374151;
}

/* Methodology Section */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-step {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fffaf2 0%, #fff5e6 100%);
    border-radius: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.methodology-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ad5207 0%, #e88e07 100%);
}

.methodology-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(173, 82, 7, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ad5207 0%, #e88e07 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(173, 82, 7, 0.3);
}

.methodology-step h3 {
    color: #374151;
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.methodology-step p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #ad5207 0%, #8b4513 100%);
    padding: 5rem 1rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.stats-section h2 {
    color: white;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/pattern.svg');
    background-size: 120px 120px;
    opacity: 0.1;
    z-index: 1;
}

.stats-section > * {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1rem;
    background-color: #f9fafb;
}

.faq-grid details {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    border-left: 4px solid #ad5207;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-grid details:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-grid details summary {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    padding-right: 2rem;
    position: relative;
}

.faq-grid details summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: #ad5207;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-grid details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-grid details p {
    color: #6b7280;
    line-height: 1.7;
    margin: 1rem 0 0 0;
    font-size: 1rem;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ad5207 0%, #8b4513 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/pattern.svg');
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-text .btn-primary {
    background-color: white;
    color: #ad5207;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-text .btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* List Styles - Enhanced */
.list-style-disc-orange {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.list-style-disc-orange li {
    padding: 1rem 0 1rem 2rem;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.list-style-disc-orange li:last-child {
    border-bottom: none;
}

.list-style-disc-orange li:hover {
    background-color: #fffaf2;
    padding-left: 2.5rem;
}

.list-style-disc-orange li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: #e88e07;
    font-weight: bold;
    font-size: 1.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #fff0e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Responsive Design - Enhanced */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .credentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .content-grid {
        flex-direction: row;
        gap: 5rem;
        align-items: center;
    }
    
    .text-content,
    .image-container {
        width: 50%;
    }

    .text-content {
        text-align: left;
    }
    
    /* Reverse image order for alternating layout */
    .content-grid-section.image-left .content-grid {
        flex-direction: row-reverse;
    }
}

@media (min-width: 1200px) {
    .tutor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading Animation for Better UX */
.tutor-card img {
    transition: opacity 0.3s ease;
}

.tutor-card img:not([src]) {
    opacity: 0;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .tutor-card,
    .value-item,
    .methodology-step,
    .image-container img {
        transition: none;
    }
    
    .tutor-card:hover,
    .value-item:hover,
    .methodology-step:hover,
    .image-container:hover img {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .cta-section,
    .whatsapp-float {
        display: none;
    }
    
    .page-title-section,
    .stats-section {
        background: white !important;
        color: black !important;
    }
}