/* About Page Styles */

/* About Hero Section - Use same structure as home page */
.elementor-element-about-hero {
    min-height: 60vh;
    max-height: none;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: url('/images/image2.jpg') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    image-rendering: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    margin: 0 auto;
    max-width: 95vw;
    backface-visibility: hidden;
}

.about-hero-section::before {
    display: none;
}

/* Force about hero background properties */
.about-hero-section * {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Mobile About Hero - Focus on center content */
@media (max-width: 768px) {
    .about-hero-section {
        background-position: center center !important;
        background-size: 120% !important;
        height: auto !important;
        min-height: 35vh !important;
        padding: 30px 15px !important;
    }
    
    .about-hero-section * {
        background-position: center center !important;
        background-size: 120% !important;
    }
    
    .about-hero-section::before {
        display: none;
    }
}

.elementor-element-about-hero .e-con-inner {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-element-about-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
    text-align: center;
}

.elementor-element-about-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Remove overlay completely for clean background */
.about-hero-section::before {
    display: none;
}

.hero-content {
    /* Remove container styling to eliminate box effect */
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: white;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-card,
.vision-card {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.card-description {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Our Story Section */
.our-story-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content {
    padding-right: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    border-radius: 2px;
}

.story-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.story-text:last-child {
    margin-bottom: 0;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.value-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

/* Ensure consistent grid layout regardless of team member count */
.team-grid:has(.team-member:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid:has(.team-member:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Fallback for browsers that don't support :has() */
.team-grid.single-member {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid.two-members {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    height: 250px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Image styling for team member photos */
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.member-photo:hover img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.photo-placeholder i {
    font-size: 3rem;
    color: white;
}

.member-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-title {
    color: #0693e3;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.credential {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Statistics Section - Now using main serena-main.css styles */

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.cert-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.cert-item:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cert-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 20px;
    margin-top: 0;
    background: url('/images/image3.jpg');
    background-size: contain;
    background-position: center 50%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    text-align: center;
    position: relative;
    height: 100vh;
}

.cta-section::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #0693e3;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #0576b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 147, 227, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Animation Classes */
.elementor-invisible {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.elementor-animation-fadeInUp {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.elementor-animation-fadeInLeft {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.elementor-animation-fadeInRight {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mission-vision-grid,
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-content {
        padding-right: 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        justify-items: center;
    }
    
    .team-grid:has(.team-member:nth-child(1):last-child) {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .team-grid:has(.team-member:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    /* Statistics now use main serena-main.css responsive styles */
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        height: 100vh;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .mission-vision-section,
    .our-story-section,
    .values-section,
    .team-section,
    .stats-section,
    .certifications-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .mission-card,
    .vision-card {
        padding: 40px 30px;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
    }
    
    .team-grid:has(.team-member:nth-child(1):last-child),
    .team-grid:has(.team-member:nth-child(2):last-child) {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    /* Statistics now use main serena-main.css responsive styles */
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        height: 35vh;
        padding: 5px 0;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-vision-section,
    .our-story-section,
    .values-section,
    .team-section,
    .stats-section,
    .certifications-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .value-card,
    .cert-item {
        padding: 30px 20px;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    /* Statistics now use main serena-main.css responsive styles */
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.team-member.loading {
    animation: pulse 2s infinite;
}

/* Hover Effects */
.team-member,
.value-card,
.cert-item {
    cursor: pointer;
}

/* Focus States for Accessibility */
.cta-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.testimonials-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.testimonials-section .section-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating .fas.fa-star {
    color: #ffc107;
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonial-rating .fas.fa-star:not(.active) {
    color: #e9ecef;
}

/* Google Review Badge */
.google-review-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.google-review-badge i {
    font-size: 0.9rem;
}

/* Author photo styling */
.author-photo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    margin-right: 10px !important;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #adb5bd;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

.testimonials-cta .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.testimonials-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-date {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .testimonials-section .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Review CTA Section */
.review-cta-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.review-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    pointer-events: none;
}

.review-cta-content {
    text-align: center;
    color: #333;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.review-cta-content .cta-icon {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.review-cta-content .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.review-cta-content .cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.review-cta-content .cta-button-container {
    margin-top: 30px;
}

.review-cta-content .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #007bff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.review-cta-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #0056b3;
}

.review-cta-content .cta-button i {
    transition: transform 0.3s ease;
}

.review-cta-content .cta-button:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Review CTA */
@media (max-width: 768px) {
    .review-cta-section {
        padding: 15px 0;
    }
    
    .review-cta-content .cta-title {
        font-size: 2rem;
    }
    
    .review-cta-content .cta-description {
        font-size: 1.1rem;
    }
    
    .review-cta-content .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .review-cta-content .cta-title {
        font-size: 1.8rem;
    }
    
    .review-cta-content .cta-description {
        font-size: 1rem;
    }
    
    .review-cta-content .cta-icon {
        font-size: 3rem;
    }
}

@media print {
    .about-hero-section,
    .stats-section,
    .cta-section,
    .review-cta-section {
        background: none !important;
        color: black !important;
    }
    
    .team-member,
    .value-card,
    .cert-item,
    .testimonial-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}



