/* ===== SERVICES PAGE STYLES ===== */
.local-simplepages-services {
    --primary-dark: #001f3f;
    --primary-light: #0056b3;
    --accent: #001f3f;
    --bg-light: #f0f4f8;
    --card-bg: #ffffff;
    --shadow-light: rgba(0, 123, 255, 0.15);
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

.local-simplepages-services .section {
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 0 20px;
    text-align: center;
}

.local-simplepages-services .section h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.25em;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Underline effect */
.local-simplepages-services .section h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: var(--accent);
    margin: 8px auto 0;
    border-radius: 4px;
}

.local-simplepages-services .section p.description {
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
}

.local-simplepages-services .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.local-simplepages-services .card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 35px 30px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06),
                0 12px 30px var(--shadow-light);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Decorative circle top right */
.local-simplepages-services .card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.15;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.local-simplepages-services .card:hover::before {
    opacity: 0.3;
}

.local-simplepages-services .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12),
                0 16px 40px var(--shadow-light);
}

.local-simplepages-services .card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

/* Accent underline under titles */
.local-simplepages-services .card h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 3px;
    margin-top: 8px;
    margin-left: 0;
    position: relative;
    z-index: 1;
}

.local-simplepages-services .card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .local-simplepages-services .section h2 {
        font-size: 2.4rem;
    }

    .local-simplepages-services .card {
        padding: 30px 25px 35px;
    }

    .local-simplepages-services .card h3 {
        font-size: 1.5rem;
    }

    .local-simplepages-services .section p.description {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .local-simplepages-services .section h2 {
        font-size: 2rem;
    }
    
    .local-simplepages-services .card {
        padding: 25px 20px;
    }
    
    .local-simplepages-services .card h3 {
        font-size: 1.3rem;
    }
    
    .local-simplepages-services .section p.description {
        font-size: 1rem;
    }
}

/* ===== END SERVICES PAGE STYLES ===== */

.local-simplepages-about .founder-img {
    max-width: 220px;
    border: 7px solid #f8f9fa; /* Lighter border to blend with light backgrounds */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.local-simplepages-about .founder-img:hover {
    transform: scale(1.05);
}

.local-simplepages-about .display-4 {
    font-weight: 600; /* Bolder title */
}

.local-simplepages-about .lead {
    font-size: 1.2rem; /* Slightly larger lead text for readability */
    color: #6c757d; /* Softer text color */
}

.local-simplepages-about .omar {
    font-size: 1.2rem; /* Slightly larger lead text for readability */
    color: #f0f3f7; /* Softer text color */
}

.local-simplepages-about .why-choose-us {
    background-color: #f8f9fa;
    border-radius: 10px;
}

.local-simplepages-about .feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.local-simplepages-about .col-md-4:hover .feature-icon {
    transform: translateY(-5px);
}

.local-simplepages-about .program-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.local-simplepages-about .program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.local-simplepages-about .testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.local-simplepages-about .testimonial-card .blockquote {
    font-size: 1.1rem;
    font-style: italic;
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
}

.local-simplepages-about .testimonial-card .blockquote-footer {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #343a40;
}

.local-simplepages-about .cta-section {
    border-radius: 10px;
    padding: 3rem !important;
}

.local-simplepages-about .cta-section h2 {
    font-weight: 700;
}

/* Accordion Styles for Services Page */
.local-simplepages-services .accordion .program-card {
    box-shadow: none; /* Remove shadow from individual accordion cards if not desired */
    border: 1px solid rgba(0,0,0,.125);
}

.local-simplepages-services .accordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.local-simplepages-services .accordion .btn-link {
    font-weight: 600;
    color: #343a40;
    text-decoration: none;
    font-size: 1.1rem;
}

.local-simplepages-services .accordion .btn-link:hover {
    text-decoration: none;
}

.local-simplepages-services .accordion .btn-link:after {
    content: '\002B'; /* Plus sign */
    font-weight: bold;
    float: right;
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
}

.local-simplepages-services .accordion .btn-link[aria-expanded="true"]:after {
    content: '\2212'; /* Minus sign */
}

/* Contact Form Styles */
.local-simplepages-contact .contact-form .form-control {
    padding: 1.25rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.local-simplepages-contact .contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.local-simplepages-contact .contact-form .btn-primary {
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
}

/* About Page Styles */
.local-simplepages-about {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafc;
    color: #003366;
    line-height: 1.6;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Override Moodle's default container width */
#page-local-simplepages-about #page,
#page-local-simplepages-about #page-content,
#page-local-simplepages-about #region-main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.local-simplepages-about .hero-container {
    width: 100%;
    background-color: #e6edf8;
    padding: 5rem 2rem;
    margin: 0;
}

.local-simplepages-about .hero {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.local-simplepages-about .hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem 0;
}

.local-simplepages-about .hero-text {
    flex: 1;
    max-width: 700px;
    margin: 0;
    text-align: left;
    padding: 0 1rem 0 0;
}

.local-simplepages-about .hero-text h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: #003366;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.local-simplepages-about .hero-text h2 {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
    font-weight: 500;
    color: #1a3b72;
}

.local-simplepages-about .hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #2f4a7d;
    line-height: 1.7;
    max-width: 90%;
    font-weight: 400;
}

.local-simplepages-about .hero-img {
    flex: 0 0 auto;
    text-align: center;
    margin: 0;
}

.local-simplepages-about .hero-img img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0;
    transition: transform 0.3s ease;
}

.local-simplepages-about .hero-img img:hover {
    transform: scale(1.03);
}

.local-simplepages-about .hero-img h3 {
    margin: 1rem 0 0.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #003366;
}

.local-simplepages-about .hero-img p {
    color: #4a5c8c;
    font-weight: 500;
    font-size: 1rem;
}

.local-simplepages-about section {
    padding: 4rem 5%;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #003366;
}

.local-simplepages-about section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    border-bottom: 2px solid #003366;
    display: inline-block;
    padding-bottom: 6px;
}

.local-simplepages-about .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1400px;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.local-simplepages-about .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 51, 102, 0.15);
    flex: 1 1 30%;
    min-width: 300px;
    max-width: 100%;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.local-simplepages-about .card:hover {
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.3);
}

.local-simplepages-about .card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #00264d;
}

.local-simplepages-about .card p {
    font-size: 0.95rem;
    color: #264d7a;
    line-height: 1.4;
}

.local-simplepages-about .testimonials {
    margin: 3rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.local-simplepages-about .testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    flex: 1 1 30%;
    min-width: 300px;
    max-width: 100%;
    box-shadow: 0 3px 12px rgba(0, 51, 102, 0.15);
    text-align: left;
    font-style: italic;
    color: #2f4a7d;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.local-simplepages-about .testimonial:hover {
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.3);
}

.local-simplepages-about .testimonial .author {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.local-simplepages-about .testimonial .author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #003366;
    object-fit: cover;
}

.local-simplepages-about .cta {
    background-color: #e6edf8;
    padding: 4rem 10%;
    margin: 4rem 0 0 0;
    text-align: center;
    color: #003366;
    width: 100%;
    box-sizing: border-box;
}

.local-simplepages-about .cta h2 {
    font-size: 2.4rem;
    margin-bottom: 1.3rem;
    font-weight: 700;
}

.local-simplepages-about .cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #2c3e70;
}

.local-simplepages-about .cta a {
    background-color: #003366;
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 2.6rem;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    user-select: none;
}

.local-simplepages-about .cta a:hover {
    background-color: #001a33;
    color: #fff;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .local-simplepages-about .card,
    .local-simplepages-about .testimonial {
        flex: 1 1 45%;
    }
}

@media (max-width: 1024px) {
    .local-simplepages-about .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
        padding: 1rem 0;
    }
    
    .local-simplepages-about .hero-text {
        text-align: center;
        padding: 0;
        max-width: 100%;
    }
    
    .local-simplepages-about .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .local-simplepages-about .hero {
        padding: 3rem 1.5rem;
    }
    
    .local-simplepages-about .hero-text h1 {
        font-size: 3rem;
    }
    
    .local-simplepages-about .hero-text h2 {
        font-size: 2rem;
    }
    
    .local-simplepages-about .hero-text p {
        font-size: 1.2rem;
    }
    
    .local-simplepages-about .hero-img img {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
    
    .local-simplepages-about .hero-text,
    .local-simplepages-about .hero-img {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .local-simplepages-about .hero-img {
        margin-top: 2rem;
    }
    
    .local-simplepages-about .hero-img img {
        width: 200px;
        height: 200px;
    }
    
    .local-simplepages-about section h2 {
        font-size: 2rem;
    }
    
    .local-simplepages-about .card,
    .local-simplepages-about .testimonial {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .local-simplepages-about .cards,
    .local-simplepages-about .testimonials {
        flex-direction: column;
        align-items: center;
        padding: 0 10%;
    }
    
    .local-simplepages-about .cta {
        padding: 3rem 10%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .local-simplepages-about .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .local-simplepages-about .hero-text h2 {
        font-size: 1.1rem;
    }
    
    .local-simplepages-about .hero-text p {
        font-size: 0.9rem;
    }
    
    .local-simplepages-about .cta h2 {
        font-size: 1.8rem;
    }
    
    .local-simplepages-about .cta p {
        font-size: 1rem;
    }
    
    .local-simplepages-about .cta a {
        font-size: 0.95rem;
        padding: 0.8rem 2rem;
    }
}
