/**
 * Homepage Styles
 * ServiceMates Theme
 * Only enqueued on the homepage
 */

/* ==========================================
   About Us Section
   ========================================== */

.sm-about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.sm-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(255, 153, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.sm-about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Image */
.sm-about-image {
    position: relative;
}

.sm-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.sm-image-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    animation: imageShine 3s infinite;
    pointer-events: none;
}

@keyframes imageShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.sm-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sm-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Experience Badge */
.sm-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 83, 38, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.sm-exp-years {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.sm-exp-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.9;
}

/* About Content */
.sm-about-content {
    padding-left: 20px;
}

.sm-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sm-badge-light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sm-about-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.sm-about-text {
    font-size: 17px;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.sm-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--primary-color, #f93);
    color: var(--primary-color, #f93);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sm-about-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sm-about-btn:hover {
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 83, 38, 0.35);
}

.sm-about-btn:hover svg {
    transform: translateX(5px);
}

/* ==========================================
   Why Choose Us Section
   ========================================== */

.sm-why-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.sm-why-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(22, 33, 62, 0.95) 100%);
}

.sm-why-section .container {
    position: relative;
    z-index: 2;
}

/* Why Header */
.sm-why-header {
    text-align: center;
    margin-bottom: 60px;
}

.sm-why-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.sm-why-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* USP Grid */
.sm-usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* USP Card */
.sm-usp-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--card-delay, 1) * 0.15s);
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-usp-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-10px);
    border-color: rgba(255, 153, 51, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* USP Icon */
.sm-usp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 83, 38, 0.4);
}

.sm-usp-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.sm-usp-card:hover .sm-usp-icon {
    transform: rotateY(180deg) scale(1.1);
}

/* USP Content */
.sm-usp-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

.sm-usp-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Why CTA */
.sm-why-cta {
    text-align: center;
}

.sm-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 83, 38, 0.4);
}

.sm-cta-button svg {
    width: 22px;
    height: 22px;
    animation: phoneRing 1.5s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.sm-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 83, 38, 0.5);
    color: #fff;
}

/* ==========================================
   Responsive Styles
   ========================================== */

@media (max-width: 991px) {
    .sm-about-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sm-about-content {
        padding-left: 0;
        text-align: center;
    }
    
    .sm-about-title {
        font-size: 32px;
    }
    
    .sm-experience-badge {
        right: 20px;
        bottom: 20px;
    }
    
    .sm-usp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sm-why-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .sm-about-section {
        padding: 60px 0;
    }
    
    .sm-why-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .sm-about-title {
        font-size: 28px;
    }
    
    .sm-why-title {
        font-size: 28px;
    }
    
    .sm-image-wrapper img {
        height: 300px;
    }
    
    .sm-experience-badge {
        padding: 15px 20px;
    }
    
    .sm-exp-years {
        font-size: 32px;
    }
    
    .sm-usp-card {
        padding: 30px 20px;
    }
    
    .sm-usp-icon {
        width: 70px;
        height: 70px;
    }
    
    .sm-usp-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .sm-cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* ==========================================
   Decorative Elements
   ========================================== */

.sm-about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==========================================
   SEO Content Section
   ========================================== */

.sm-seo-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.sm-seo-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* SEO Content */
.sm-seo-header {
    margin-bottom: 25px;
}

.sm-seo-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0;
}

.sm-seo-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 30px;
}

.sm-seo-text p {
    margin-bottom: 16px;
}

.sm-seo-text p:last-child {
    margin-bottom: 0;
}

/* SEO Actions */
.sm-seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sm-seo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sm-seo-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sm-btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 83, 38, 0.3);
}

.sm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 83, 38, 0.4);
    color: #fff;
}

.sm-btn-outline {
    background: transparent;
    color: var(--primary-color, #f93);
    border: 2px solid var(--primary-color, #f93);
}

.sm-btn-outline:hover {
    background: var(--primary-color, #f93);
    color: #fff;
    transform: translateY(-3px);
}

.sm-btn-outline:hover svg {
    transform: translateX(5px);
}

/* SEO Image */
.sm-seo-image {
    position: relative;
}

.sm-seo-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.sm-seo-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sm-seo-image-wrapper:hover img {
    transform: scale(1.05);
}

.sm-seo-image-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    animation: imageShine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

/* SEO Image Badge */
.sm-seo-image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 83, 38, 0.4);
    z-index: 2;
}

.sm-seo-image-badge svg {
    width: 22px;
    height: 22px;
}

.sm-seo-image-badge span {
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================
   Testimonials Section
   ========================================== */

.sm-testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.sm-testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 153, 51, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Testimonials Header */
.sm-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.sm-testimonials-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 15px 0;
}

.sm-testimonials-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0;
}

/* Testimonials Grid */
.sm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Testimonial Card */
.sm-testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--card-delay, 1) * 0.15s);
    opacity: 0;
}

.sm-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #f93);
}

/* Featured Card */
.sm-card-featured {
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    border: none;
    transform: scale(1.05);
}

.sm-card-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.sm-card-featured .sm-testimonial-quote svg {
    color: rgba(255, 255, 255, 0.2);
}

.sm-card-featured .sm-testimonial-stars svg {
    color: #fff;
}

.sm-card-featured .sm-testimonial-text {
    color: #fff;
}

.sm-card-featured .sm-author-name {
    color: #fff;
}

.sm-card-featured .sm-author-location {
    color: rgba(255, 255, 255, 0.8);
}

.sm-card-featured .sm-author-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Quote Icon */
.sm-testimonial-quote {
    position: absolute;
    top: 25px;
    right: 25px;
}

.sm-testimonial-quote svg {
    width: 40px;
    height: 40px;
    color: #f1f5f9;
    transition: color 0.3s ease;
}

.sm-testimonial-card:hover .sm-testimonial-quote svg {
    color: rgba(255, 153, 51, 0.2);
}

/* Stars */
.sm-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.sm-testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

/* Testimonial Content */
.sm-testimonial-content {
    margin-bottom: 25px;
}

.sm-testimonial-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Author */
.sm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.sm-card-featured .sm-testimonial-author {
    border-color: rgba(255, 255, 255, 0.2);
}

.sm-author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sm-author-avatar span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.sm-author-info {
    display: flex;
    flex-direction: column;
}

.sm-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.sm-author-location {
    font-size: 13px;
    color: #64748b;
}

/* Testimonials CTA */
.sm-testimonials-cta {
    text-align: center;
}

.sm-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sm-review-btn svg {
    width: 22px;
    height: 22px;
}

.sm-review-btn svg path:nth-child(1) { fill: #4285f4; }
.sm-review-btn svg path:nth-child(2) { fill: #34a853; }
.sm-review-btn svg path:nth-child(3) { fill: #fbbc05; }
.sm-review-btn svg path:nth-child(4) { fill: #ea4335; }

.sm-review-btn:hover {
    border-color: var(--primary-color, #f93);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

/* ==========================================
   Full Width Map Section
   ========================================== */

.sm-map-section {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.sm-map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sm-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
}

/* Dark Overlay */
.sm-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.75) 100%);
    display: flex;
    align-items: center;
}

/* Map Info */
.sm-map-info {
    display: flex;
    justify-content: flex-start;
}

.sm-map-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 25px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out forwards;
}

.sm-map-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 83, 38, 0.4);
}

.sm-map-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.sm-map-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.sm-map-address {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.sm-map-contact {
    margin-bottom: 20px;
}

.sm-map-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sm-map-phone svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color, #f93);
}

.sm-map-phone:hover {
    color: var(--primary-color, #f93);
}

.sm-map-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sm-map-directions svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.sm-map-directions:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 83, 38, 0.4);
    color: #fff;
}

.sm-map-directions:hover svg {
    transform: translate(3px, -3px);
}

/* ==========================================
   Responsive - SEO & Testimonials
   ========================================== */

@media (max-width: 991px) {
    .sm-seo-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sm-seo-image {
        order: -1;
    }
    
    .sm-seo-title {
        font-size: 28px;
    }
    
    .sm-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sm-card-featured {
        transform: scale(1);
    }
    
    .sm-card-featured:hover {
        transform: translateY(-10px);
    }
    
    .sm-testimonials-title {
        font-size: 32px;
    }
    
    .sm-map-info-card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .sm-seo-section {
        padding: 60px 0;
    }
    
    .sm-testimonials-section {
        padding: 60px 0;
    }
    
    .sm-seo-title {
        font-size: 24px;
    }
    
    .sm-seo-actions {
        flex-direction: column;
    }
    
    .sm-seo-btn {
        justify-content: center;
    }
    
    .sm-seo-image-wrapper img {
        height: 300px;
    }
    
    .sm-seo-image-badge {
        bottom: 15px;
        left: 15px;
        padding: 10px 16px;
    }
    
    .sm-seo-image-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .sm-seo-image-badge span {
        font-size: 12px;
    }
    
    .sm-testimonial-card {
        padding: 25px;
    }
    
    .sm-testimonials-title {
        font-size: 28px;
    }
    
    /* Map Section Mobile */
    .sm-map-section {
        height: auto;
        min-height: 600px;
    }
    
    .sm-map-container {
        height: 300px;
        position: relative;
    }
    
    .sm-map-overlay {
        position: relative;
        padding: 40px 0;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    }
    
    .sm-map-info-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .sm-map-icon {
        margin: 0 auto;
    }
    
    .sm-map-details h3 {
        font-size: 20px;
    }
    
    .sm-map-phone {
        font-size: 18px;
        justify-content: center;
    }
}

/* ==========================================
   Blog Posts Section
   ========================================== */

.sm-blog-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.sm-blog-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.sm-blog-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 16px 0;
    line-height: 1.2;
}

.sm-blog-subtitle {
    font-size: 17px;
    color: #64748b;
    margin: 0;
}

/* Blog Grid - Masonry-like layout */
.sm-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Card */
.sm-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
    opacity: 0;
}

.sm-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Featured Card - Takes 2 columns */
.sm-blog-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.sm-blog-featured .sm-blog-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sm-blog-featured .sm-blog-image {
    flex: 1;
    min-height: 350px;
}

.sm-blog-featured .sm-blog-card-title {
    font-size: 26px;
}

.sm-blog-featured .sm-blog-content {
    padding: 30px;
}

/* Blog Link */
.sm-blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Blog Image */
.sm-blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sm-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sm-blog-card:hover .sm-blog-image img {
    transform: scale(1.08);
}

.sm-blog-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sm-blog-card:hover .sm-blog-image-overlay {
    opacity: 1;
}

/* Placeholder for posts without images */
.sm-blog-placeholder {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-placeholder-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sm-placeholder-icon svg {
    width: 28px;
    height: 28px;
    color: #94a3b8;
}

.sm-blog-card:hover .sm-placeholder-icon {
    transform: scale(1.1);
}

/* No image card adjustments */
.sm-blog-card.no-image {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.sm-blog-card.no-image .sm-blog-image {
    height: 120px;
}

/* Blog Content */
.sm-blog-content {
    padding: 24px;
}

.sm-blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.sm-blog-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.sm-blog-date svg {
    width: 14px;
    height: 14px;
}

.sm-blog-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sm-blog-card:hover .sm-blog-card-title {
    color: var(--primary-color, #f93);
}

.sm-blog-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sm-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color, #f93);
    transition: gap 0.3s ease;
}

.sm-blog-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.sm-blog-card:hover .sm-blog-read-more {
    gap: 12px;
}

.sm-blog-card:hover .sm-blog-read-more svg {
    transform: translateX(4px);
}

/* Blog Footer */
.sm-blog-footer {
    text-align: center;
    margin-top: 50px;
}

.sm-blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-color, #f93) 0%, var(--secondary-color, #FF5326) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.sm-blog-view-all svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sm-blog-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 83, 38, 0.35);
    color: #fff;
}

.sm-blog-view-all:hover svg {
    transform: translateX(4px);
}

/* Responsive - Blog Section */
@media (max-width: 991px) {
    .sm-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sm-blog-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .sm-blog-featured .sm-blog-link {
        flex-direction: row;
    }
    
    .sm-blog-featured .sm-blog-image {
        width: 45%;
        min-height: auto;
    }
    
    .sm-blog-featured .sm-blog-content {
        width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .sm-blog-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .sm-blog-section {
        padding: 60px 0;
    }
    
    .sm-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sm-blog-featured {
        grid-column: span 1;
    }
    
    .sm-blog-featured .sm-blog-link {
        flex-direction: column;
    }
    
    .sm-blog-featured .sm-blog-image {
        width: 100%;
        min-height: 200px;
    }
    
    .sm-blog-featured .sm-blog-content {
        width: 100%;
    }
    
    .sm-blog-featured .sm-blog-card-title {
        font-size: 20px;
    }
    
    .sm-blog-title {
        font-size: 28px;
    }
    
    .sm-blog-card-title {
        font-size: 16px;
    }
}

