/* ===== services.css for EFG Afro Market Services Page - ENHANCED & FIXED ===== */

/* ===== MOBILE-FIRST RESPONSIVE BASE ===== */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ===== CSS VARIABLES ===== */
:root {
  --primary-green: #055440;
  --accent-orange: #E88824;
  --brown-accent: #8B5A3C;
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --background-white: #FFFFFF;
  --background-light: #F7FAFC;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 20px 40px rgba(5, 84, 64, 0.15);
}

/* ===== SERVICES HERO SECTION ===== */
.services-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    overflow: hidden;
    width: 100%;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.services-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 84, 64, 0.1);
    border: 1px solid rgba(5, 84, 64, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
    backdrop-filter: blur(10px);
}

.services-hero-badge i {
    animation: spin 3s linear infinite;
    color: var(--accent-orange);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--text-primary);
    text-align: center;
}

.services-hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ===== SERVICES HERO VISUAL ELEMENTS ===== */
.services-hero-visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-service {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 35px rgba(5, 84, 64, 0.2);
    animation: floatService 6s ease-in-out infinite;
}

.floating-service-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
    background: var(--primary-green);
}

.floating-service-2 {
    top: 25%;
    right: 8%;
    animation-delay: 1.5s;
    background: var(--accent-orange);
}

.floating-service-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: 3s;
    background: var(--brown-accent);
}

.floating-service-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: 4.5s;
    background: var(--primary-green);
}

@keyframes floatService {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* ===== MAIN SERVICES SECTION ===== */
.main-services-section {
    padding: 100px 0;
    background: var(--background-white);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-services-section .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(5, 84, 64, 0.1);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MAIN SERVICE CARDS (DESKTOP) - FIXED SIZE & ALIGNMENT ===== */
.main-service-card {
    background: var(--background-white);
    border: 2px solid rgba(5, 84, 64, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
    height: 500px; /* FIXED HEIGHT */
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: var(--card-shadow-hover);
}

/* ===== FIXED MOBILE SWIPER CAROUSEL SYSTEM ===== */
.mobile-services-wrapper {
    width: 100%;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.mobile-additional-services-wrapper {
    width: 100%;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.mobile-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    padding-bottom: 120px; /* INCREASED SPACE for navigation and pagination */
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    height: auto;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
    min-height: 100%;
}

/* ===== MOBILE SERVICE CARDS - GUARANTEED NO VERTICAL STACKING ===== */
.main-service-card-mobile {
    background: var(--background-white);
    border: 2px solid rgba(5, 84, 64, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    height: auto;
}

.main-service-card-mobile:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: var(--card-shadow-hover);
}

.additional-service-card {
    background: var(--background-white);
    border: 2px solid rgba(5, 84, 64, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    margin: 15px auto;
    height: 280px; /* FIXED HEIGHT for desktop */
    min-height: 280px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.additional-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.additional-service-card:hover::before {
    transform: scaleX(1);
}

.additional-service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: var(--card-shadow-hover);
}

/* ===== SERVICE IMAGE STYLES ===== */
.service-image {
    position: relative;
    height: 180px; /* FIXED HEIGHT */
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-service-card:hover .service-image img,
.main-service-card-mobile:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(5, 84, 64, 0.9), rgba(232, 136, 36, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-service-card:hover .service-overlay,
.main-service-card-mobile:hover .service-overlay {
    opacity: 1;
}

.service-icon-large {
    font-size: 4rem;
    color: white;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== SERVICE CONTENT STYLES ===== */
.service-content {
    padding: 1.5rem;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(500px - 180px); /* FIXED HEIGHT - image height */
}

.service-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(5, 84, 64, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.service-features li:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.service-features li i {
    color: var(--primary-green);
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 84, 64, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-cta-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(5, 84, 64, 0.2);
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: auto;
}

.service-cta-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(232, 136, 36, 0.3);
}

/* ===== SWIPER NAVIGATION AND PAGINATION - INCREASED SPACING ===== */
.swiper-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px; /* INCREASED from 20px */
    position: absolute;
    bottom: 60px; /* INCREASED from 40px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-btn-prev,
.swiper-btn-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 84, 64, 0.2);
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover,
.swiper-btn-prev:focus,
.swiper-btn-next:focus {
    background: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(232, 136, 36, 0.3);
    outline: none;
}

.swiper-btn-prev:disabled,
.swiper-btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 20px; /* INCREASED from 10px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(5, 84, 64, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
}

.swiper-pagination-bullet.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: var(--accent-orange);
}

/* ===== ADDITIONAL SERVICES SECTION ===== */
.additional-services-section {
    padding: 100px 0;
    background: var(--background-light);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.additional-services-section .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* ===== ADDITIONAL SERVICES GRID (DESKTOP) ===== */
.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.additional-service-icon {
    width: 60px; /* REDUCED from 80px */
    height: 60px; /* REDUCED from 80px */
    background: var(--primary-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem; /* REDUCED margin */
    font-size: 1.5rem; /* REDUCED from 2rem */
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(5, 84, 64, 0.2);
    flex-shrink: 0;
}

.additional-service-card:hover .additional-service-icon {
    transform: rotate(5deg) scale(1.1);
    background: var(--accent-orange);
    box-shadow: 0 15px 35px rgba(232, 136, 36, 0.3);
}

.additional-service-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem; /* REDUCED from 1.3rem */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem; /* REDUCED from 1.5rem */
    line-height: 1.3;
    flex-shrink: 0;
}

.additional-service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* REDUCED gap */
}

.additional-service-card li {
    color: var(--text-secondary);
    padding-left: 1.5rem; /* REDUCED from 2rem */
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.85rem; /* REDUCED from 0.95rem */
    line-height: 1.4; /* REDUCED from 1.5 */
}

.additional-service-card li::before {
    content: "✓";
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1rem; /* REDUCED from 1.1rem */
    width: 18px; /* REDUCED from 20px */
    height: 18px; /* REDUCED from 20px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 84, 64, 0.1);
    border-radius: 50%;
    font-size: 0.7rem; /* REDUCED from 0.8rem */
}

.additional-service-card:hover li {
    color: var(--text-primary);
}

/* ===== SERVICE PROCESS SECTION - RESTORED TIMELINE DESIGN ===== */
.service-process-section {
    padding: 100px 0;
    background: var(--background-white);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-process-section .container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-orange));
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .process-content {
    text-align: right;
    padding-right: 3rem;
    padding-left: 0;
}

.process-step:nth-child(odd) .process-content {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

.process-content {
    flex: 1;
    background: var(--background-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(5, 84, 64, 0.1);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 400px;
}

.process-step:hover .process-content {
    border-color: var(--primary-green);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

.process-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.process-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(5, 84, 64, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    margin: 0 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.process-step:hover .process-icon {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

/* Process Number */
.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Space Grotesk', sans-serif;
    z-index: 3;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(5, 84, 64, 0.2);
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* Mobile Portrait (320px to 575px) */
@media (max-width: 575.98px) {
    .services-hero-section {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .services-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .floating-service {
        display: none;
    }
    
    .mobile-services-wrapper,
    .mobile-additional-services-wrapper {
        padding: 0 15px;
    }
    
    .mobile-swiper-container {
        padding-bottom: 100px; /* INCREASED spacing for mobile */
    }
    
    .main-service-card-mobile {
        min-height: 380px;
        max-width: 320px;
    }
    
    .additional-service-card {
        padding: 1.5rem;
        min-height: 260px; /* REDUCED for mobile */
        max-width: 320px;
        height: auto;
    }
    
    .service-content {
        padding: 1.2rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
    }
    
    .additional-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .additional-service-card h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .additional-service-card li {
        font-size: 0.8rem;
        padding-left: 1.3rem;
    }
    
    .additional-service-card li::before {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .swiper-nav {
        bottom: 50px; /* INCREASED spacing */
        margin-top: 30px;
    }
    
    .swiper-btn-prev,
    .swiper-btn-next {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .swiper-pagination {
        bottom: 15px; /* INCREASED spacing */
    }
    
    /* Process Timeline Mobile */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
        margin-bottom: 3rem;
    }
    
    .process-step:nth-child(even) .process-content,
    .process-step:nth-child(odd) .process-content {
        text-align: left;
        padding: 1rem;
        max-width: none;
    }
    
    .process-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .process-content p {
        font-size: 0.85rem;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-left: 1.5rem;
        margin-right: 0;
        position: absolute;
        left: 5px;
    }
    
    .process-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: -10px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .services-hero-section {
        padding: 110px 0 70px;
    }
    
    .floating-service {
        display: none;
    }
    
    .mobile-services-wrapper,
    .mobile-additional-services-wrapper {
        padding: 0 20px;
    }
    
    .mobile-swiper-container {
        padding-bottom: 110px; /* INCREASED spacing */
    }
    
    .main-service-card-mobile {
        min-height: 420px;
        max-width: 350px;
    }
    
    .additional-service-card {
        max-width: 350px;
        height: 270px;
    }
    
    .swiper-nav {
        bottom: 55px; /* INCREASED spacing */
    }
    
    .swiper-pagination {
        bottom: 18px; /* INCREASED spacing */
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .process-step:nth-child(even) .process-content,
    .process-step:nth-child(odd) .process-content {
        text-align: left;
        padding: 1.5rem;
        max-width: none;
    }
    
    .process-content p {
        font-size: 0.9rem;
    }
    
    .process-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-left: 1.5rem;
        margin-right: 0;
        position: absolute;
        left: 5px;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .services-hero-section {
        padding: 120px 0 80px;
    }
    
    .floating-service {
        display: none;
    }
    
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .additional-service-card {
        height: 300px;  /* Slightly taller for tablet */
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .process-step:nth-child(even) .process-content,
    .process-step:nth-child(odd) .process-content {
        text-align: left;
        padding: 1.5rem;
        max-width: none;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-left: 2rem;
        margin-right: 0;
        position: absolute;
        left: 5px;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .floating-service {
        display: flex;
    }
    
    .additional-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .additional-service-card {
        height: 280px;  /* CONSISTENT HEIGHT for desktop */
    }
    
    .process-timeline::before {
        left: 50%;
    }
    
    .process-step {
        margin-bottom: 4rem;
    }
    
    .process-step:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .process-step:nth-child(even) .process-content {
        text-align: right;
        padding-right: 3rem;
        padding-left: 0;
        max-width: 400px;
    }
    
    .process-step:nth-child(odd) .process-content {
        text-align: left;
        padding-left: 3rem;
        padding-right: 0;
        max-width: 400px;
    }
    
    .process-content {
        padding: 2rem;
    }
    
    .process-content p {
        font-size: 1rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin: 0 2rem;
        position: relative;
        left: auto;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: -15px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .additional-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .floating-service {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-service-card,
.main-service-card-mobile {
    animation: serviceSlideIn 0.6s ease-out;
}

.additional-service-card {
    animation: serviceSlideIn 0.6s ease-out;
}

/* ===== INTERACTIVE ENHANCEMENTS ===== */
.service-cta-btn.btn-loading {
    opacity: 0.8;
    transform: scale(0.98);
    pointer-events: none;
}

.service-cta-btn.btn-clicked {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 136, 36, 0.4);
}

.service-card.service-clicked {
    transform: translateY(-5px) scale(1.02);
    transition: all 0.3s ease;
}

.page-transitioning {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.feature-highlighted {
    color: var(--primary-green) !important;
    transform: translateX(5px);
    background: rgba(5, 84, 64, 0.05);
    border-radius: 4px;
    padding: 0.2rem 0.5rem !important;
}

.service-active {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(5, 84, 64, 0.15) !important;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .floating-service {
        animation: none;
    }
    
    .services-hero-badge i {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .main-service-card,
    .main-service-card-mobile,
    .additional-service-card,
    .process-content {
        border-width: 3px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .floating-service,
    .services-hero-visual-elements {
        display: none;
    }
    
    .swiper-nav,
    .swiper-pagination {
        display: none;
    }
}