/* Services Page Specific Styles */

/* Hide mobile logo on desktop */
.nav-logo-mobile {
    display: none;
}

/* Apply heading font to all heading elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Hero Section */
.services-hero {
    position: relative;
    height: calc(60vh + 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.services-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.services-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 7, 80, 0.45) 0%, rgba(26, 10, 107, 0.45) 100%);
    z-index: 1;
}

.services-hero .hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
    z-index: 1;
}

.services-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.services-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card-large {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
}

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

.service-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 400;
}

.service-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 400;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-large {
        flex-direction: column;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: 60vh; /* Augmenté de 20% (50vh * 1.2) */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-large {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .service-card-large {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Animation for service cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-large {
    animation: slideInUp 0.6s ease-out;
}

.service-card-large:nth-child(1) { animation-delay: 0.1s; }
.service-card-large:nth-child(2) { animation-delay: 0.2s; }
.service-card-large:nth-child(3) { animation-delay: 0.3s; }
.service-card-large:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for better interactivity */
.service-card-large:hover .service-content h3 {
    color: var(--primary-color);
}

.service-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    transition: var(--transition);
}

/* Loading states */
.service-card-large.loading {
    opacity: 0.7;
    pointer-events: none;
}

.service-card-large.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Service Sub-pages Styles */

/* Service Hero */
.service-hero {
    position: relative;
    height: calc(50vh + 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.service-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.service-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 7, 80, 0.45) 0%, rgba(26, 10, 107, 0.45) 100%);
    z-index: 1;
}

.service-hero .hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
    z-index: 1;
}

.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--accent-color);
}

.breadcrumb-nav .separator {
    color: var(--text-light);
}

.breadcrumb-nav .current {
    color: var(--text-dark);
    font-weight: 400;
}

/* Service Overview */
.service-overview {
    padding: 4rem 0;
    background: var(--white);
    perspective: 1000px;
    overflow: hidden;
    position: relative;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.service-intro h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    transform-style: preserve-3d;
    will-change: transform;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

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

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Details */
.service-details {
    padding: 4rem 0;
    background: var(--gray-50);
    perspective: 1000px;
    overflow: hidden;
    position: relative;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.details-content h2 {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.service-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-item-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-item-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sidebar */
.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 400;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Pricing */
.pricing-info {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.price-item:last-child {
    border-bottom: none;
}

.service-name {
    color: var(--text-dark);
    font-weight: 400;
}

.price {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin-top: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    opacity: 1 !important;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #FBBF24;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Disable 3D effects on mobile */
@media (max-width: 767px) {
    .service-overview,
    .service-details {
        perspective: none !important;
        overflow: visible !important;
    }
    
    .service-highlights,
    .details-grid {
        transform-style: flat !important;
        transition: none !important;
    }
    
    .highlight-card,
    .service-item {
        transform-style: flat !important;
        will-change: auto !important;
    }
}

/* Responsive Design for Sub-pages */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        gap: 1rem;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 48vh; /* Augmenté de 20% (40vh * 1.2) */
    }
    
    .service-highlights {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-item-icon {
        align-self: center;
        margin: 0 auto 1rem auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-item-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.partner-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 200px;
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
}

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

.partner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.partner-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.partner-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

.partner-link i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partner-card {
        padding: 2rem;
    }
    
    .partner-logo {
        width: 180px;
        height: 100px;
    }
    
    /* Specific styles for partenaires page on mobile */
    .page-partenaires .service-details {
        margin-top: 0 !important;
    }
    
    .page-partenaires .partner-link {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-intro h2 {
        font-size: 2rem;
    }
    
    .details-content h2 {
        font-size: 1.8rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 150px;
        height: 80px;
    }
    
    /* Fix timeline numbers centering */
    .timeline-number {
        margin: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix service titles centering */
    .details-content h2 {
        text-align: center;
    }
    
    /* Fix button widths */
    .btn {
        width: auto !important;
    }
    
    .btn-primary,
    .btn-secondary {
        width: auto !important;
    }
    
    /* Center all headings on mobile */
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
    }
    
    /* Center paragraphs on mobile */
    p {
        text-align: center;
    }
    
    /* Center lists on mobile */
    ul, ol {
        text-align: center;
    }
    
    /* Center form elements on mobile */
    .form-group {
        text-align: center;
    }
    
    .form-group label {
        text-align: center;
        display: block;
    }
    
    /* Center timeline content */
    .timeline-content {
        text-align: center;
    }
    
    /* Center service items */
    .service-item {
        text-align: center;
    }
    
    .service-item-content {
        text-align: center;
    }
    
    /* Decrease tag size by 10% from previous 20% increase */
    .property-tag {
        font-size: 0.864rem !important; /* 0.96rem * 0.9 = 0.864rem */
        padding: 0.54rem 0.72rem !important; /* 0.6rem 0.8rem * 0.9 */
        gap: 0.54rem !important; /* 0.6rem * 0.9 */
    }
    
    .property-tags {
        gap: 0.54rem !important; /* 0.6rem * 0.9 */
    }
    
    /* Center property card content */
    .property-card {
        text-align: center;
    }
    
    .property-card .property-title,
    .property-card .property-location,
    .property-card .property-price {
        text-align: center;
    }
    
    .property-tags {
        justify-content: center;
    }
    
    /* Center testimonial card content */
    .testimonial-card {
        text-align: center;
    }
    
    .testimonial-card .testimonial-text,
    .testimonial-card .testimonial-author,
    .testimonial-card .testimonial-role {
        text-align: center;
    }
    
    .testimonial-card .stars {
        justify-content: center;
    }
    
    /* Center contact section elements */
    .contact-section {
        text-align: center;
    }
    
    .contact-section .contact-title,
    .contact-section .contact-subtitle,
    .contact-section .contact-info,
    .contact-section .contact-form {
        text-align: center;
    }
    
    .contact-section .form-group {
        text-align: center;
    }
    
    .contact-section .form-group input,
    .contact-section .form-group textarea,
    .contact-section .form-group select {
        text-align: center;
    }
    
    /* Center property location specifically */
    .property-location {
        text-align: center !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    /* Center testimonial stars on mobile only + add space below */
    .stars {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 20px auto !important;
        text-align: center !important;
        width: 100% !important;
        gap: 0.25rem !important;
    }
    
    .testimonial-stars {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 20px auto !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .testimonial-stars .stars {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.25rem !important;
        margin: 0 auto 20px auto !important;
        text-align: center !important;
    }
    
    /* Force center all star containers on mobile */
    .testimonial-content .stars,
    .testimonial-card .stars,
    .testimonial-item .stars {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 20px auto !important;
        text-align: center !important;
        width: 100% !important;
        gap: 0.25rem !important;
    }
    
    /* Force center star icons on mobile */
    .stars i {
        display: inline-block !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* Reorganize contact section - icons on one line, text below */
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-info .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-info .contact-item .contact-icon {
        margin-bottom: 0.5rem;
    }
    
    .contact-info .contact-item .contact-text {
        text-align: center;
    }
    
    /* Social media icons in one line */
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Guarantees */
.guarantees {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.guarantee-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.guarantee-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.guarantee-item:hover i {
    color: var(--white);
}

.guarantee-item span {
    font-weight: 400;
    font-size: 0.95rem;
}
/* Final mobile fixes - Sat Oct 18 00:01:26 CEST 2025 */
/* Mobile centering fixes - Sat Oct 18 00:09:22 CEST 2025 */
