:root {
    --primary-green: #065322;
    --dark-green: #076329;
    --light-green: #dcfce7;
    --mango-yellow: #facc15;
    --dark-yellow: #eab308;
    --light-yellow: #fef9c3;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --text-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    overflow-x: hidden;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.services-section {
    min-height: 100vh;
    padding: 30px 10px;
    background-color: var(--white);
    display: flex;
    align-items: center;
}

/* Container adjustments */
.container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 1200px;
}

.row {
    margin-left: -8px;
    margin-right: -8px;
}

.col-lg-6, .col-md-6, .col-sm-12 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Left column styles */
.left-column {
    background-color: var(--white);
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.06);
    height: 100%;
    border: 2px solid var(--light-green);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.left-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--mango-yellow));
}

.services-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color:  #347b98;
    margin-bottom: 8px;
}

.app-section-title span {
    font-size: 2.3rem;
    font-weight: 700;
    color: #065322;
    margin-bottom: 8px;
}

.section-title {
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60%;
    height: 2px;
    background-color: var(--mango-yellow);
    border-radius: 1px;
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 0.8rem;
    margin-top: 8px;
    line-height: 1.3;
    font-weight: 400;
}

/* Services Grid - Desktop: 5 per row, Mobile: 4 per row (2 rows = 8 services) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.service-icon-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(10px);
}

.service-icon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.08);
    border-color: var(--primary-green);
}

.service-icon-item.active {
    background-color: var(--light-green);
    border-color: var(--primary-green);
    transform: scale(1.02);
}

.service-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-green);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-icon-item.active .service-icon {
    background-color: var(--mango-yellow);
}

.service-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.7rem;
    margin-bottom: 0;
    line-height: 1.1;
}

.automated-notice {
    background-color: var(--light-green);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px dashed var(--primary-green);
}

.auto-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(---white);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.auto-badge i {
    margin-right: 4px;
    font-size: 0.9rem;
}

.auto-text {
    color: var(--dark-gray);
    font-size: 0.75rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* Right column styles */
.right-column {
    padding: 0 8px;
}

.mobile-frame-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* Mobile Frame Responsive Adjustments */
.mobile-frame {
    background: #333;
    border-radius: 25px;
    width: 260px;
    height: 520px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mobile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0 4px;
    position: relative;
}

.mobile-notch {
    width: 130px;
    height: 18px;
    background: #111;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-time {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
}

.mobile-screen {
    background: var(--light-gray);
    border-radius: 6px;
    width: 100%;
    height: calc(100% - 30px);
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 12px;
    height: 100%;
    overflow-y: auto;
    font-size: 0.75rem;
    font-weight: 400;
}

.mobile-footer {
    display: flex;
    justify-content: center;
    padding: 6px 0 4px;
}

.home-indicator {
    width: 90px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.step-description {
    margin-top: 15px;
    text-align: center;
    padding: 10px 12px;
    background: var(--light-green);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
    margin-bottom: 15px;
}

.step-description p {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 0.8rem;
}

/* App screen styles - Smaller fonts for mobile */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--medium-gray);
}

.app-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-green);
    gap: 6px;
}

.app-logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.banner-slider {
    height: 70px;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.search-bar {
    margin-bottom: 10px;
    position: relative;
}

.search-bar input {
    width: 100%;
    border-radius: 6px;
    padding: 6px 32px;
    border: 1px solid var(--medium-gray);
    font-size: 0.7rem;
    height: 34px;
    font-weight: 400;
    background-color: white;
}

.search-bar input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.15rem rgba(6, 83, 34, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: 12px;
}

.search-icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
    font-size: 12px;
}

.category-section {
    margin-bottom: 8px;
}

.category-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.8rem;
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 5px;
}

.category-item {
    text-align: center;
    cursor: pointer;
}

.category-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    color: var(--primary-green);
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.category-name {
    font-size: 0.6rem;
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.2;
}

/* Our Services section in mobile frame */
.services-section-home {
    margin-top: 8px;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 5px;
}

.service-card-home {
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-home {
    width: 28px;
    height: 28px;
    background-color: var(--light-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    color: var(--primary-green);
    font-size: 13px;
}

.service-content-home h6 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.7rem;
    margin-bottom: 3px;
    line-height: 1.2;
}

.service-description {
    color: var(--dark-gray);
    font-size: 0.55rem;
    margin-bottom: 6px;
    line-height: 1.2;
    height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.service-price-home {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.65rem;
    margin-top: auto;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s;
    border-left: 2px solid transparent;
    font-size: 0.75rem;
}

.service-card:hover {
    border-left-color: var(--primary-green);
}

.service-card.selected {
    border-left-color: var(--primary-green);
    background-color: var(--light-green);
}

.service-price {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.booking-form input, .booking-form select {
    margin-bottom: 10px;
    border-radius: 6px;
    padding: 7px 10px;
    border: 1px solid var(--medium-gray);
    font-size: 0.75rem;
    height: 36px;
    font-weight: 400;
}

.booking-form input:focus, .booking-form select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.15rem rgba(6, 83, 34, 0.1);
}

/* Cart and booking confirmation smaller fonts */
.cart-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    font-size: 0.75rem;
}

.cart-total {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-green);
    border-top: 1px solid var(--medium-gray);
    padding-top: 10px;
    margin-top: 10px;
}

.booking-confirmation {
    text-align: center;
    padding-top: 15px;
    font-size: 0.75rem;
}

.confirmation-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 25px;
    animation: pulse 2s infinite;
}

.provider-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-green);
    font-size: 0.75rem;
}

.provider-photo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-green);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 500;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border-radius: 6px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    width: 100%;
    font-size: 0.75rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
}

.booking-id {
    background-color: var(--primary-green);
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 12px auto;
    display: inline-block;
}

.btn-primary-custom {
    background-color: var(--primary-green);
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s;
    color: white;
    font-size: 0.8rem;
    width: 100%;
}

.btn-primary-custom:hover {
    background-color: var(--dark-green);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.animate-up {
    animation: slideInUp 0.4s ease forwards;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .mobile-frame {
        width: 240px;
        height: 480px;
        border-radius: 20px;
        padding: 8px;
    }
    
    .mobile-notch {
        width: 120px;
        height: 16px;
    }
    
    .screen-content {
        padding: 10px;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .service-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .service-name {
        font-size: 0.65rem;
    }
    
    .step-description p {
        font-size: 0.75rem;
    }
    
    /* Mobile frame responsive */
    .banner-slider {
        height: 65px;
    }
    
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .service-icon-home {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .service-content-home h6 {
        font-size: 0.65rem;
    }
    
    .service-description {
        font-size: 0.5rem;
        height: 26px;
    }
    
    .service-price-home {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 20px 8px;
    }
    
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    
    .col-lg-6, .col-md-6, .col-sm-12 {
        padding-left: 6px;
        padding-right: 6px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .mobile-frame {
        width: 220px;
        height: 440px;
        border-radius: 18px;
    }
    
    .banner-slider {
        height: 60px;
    }
    
    /* Mobile frame responsive */
    .app-logo img {
        height: 22px;
    }
    
    .app-logo span {
        font-size: 0.9rem;
    }
    
    .header-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .user-avatar {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .search-bar input {
        padding: 5px 28px;
        font-size: 0.65rem;
        height: 32px;
    }
    
    .search-icon,
    .search-icon-right {
        font-size: 11px;
    }
    
    .category-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .category-name {
        font-size: 0.55rem;
    }
    
    .service-card-home {
        padding: 6px;
    }
    
    .service-icon-home {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .services-grid {
        gap: 5px;
    }
    
    .service-icon-item {
        padding: 8px 4px;
    }
    
    .service-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .service-name {
        font-size: 0.6rem;
    }
    
    .mobile-frame {
        width: 200px;
        height: 400px;
    }
    
    .screen-content {
        padding: 8px;
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    /* Mobile frame responsive */
    .banner-slider {
        height: 55px;
    }
    
    .categories {
        gap: 5px;
    }
    
    .category-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .mobile-frame {
        width: 180px;
        height: 360px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    
    .service-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Mobile frame responsive */
    .app-header {
        padding: 6px 0 8px;
        margin-bottom: 6px;
    }
    
    .banner-slider {
        height: 50px;
        margin-bottom: 8px;
    }
    
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
}

/* Desktop specific styles */
@media (min-width: 992px) {
    .services-section {
        padding: 50px 0;
    }
    
    .left-column {
        margin-bottom: 0;
        padding: 25px 20px;
    }
    
    .services-grid {
        gap: 12px;
    }
    
    .service-icon-item {
        padding: 12px 8px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .service-name {
        font-size: 0.75rem;
    }
    
    .mobile-frame {
        width: 280px;
        height: 550px;
    }
    
    .screen-content {
        padding: 15px;
        font-size: 0.8rem;
    }
    
    /* Mobile frame desktop specific */
    .app-logo img {
        height: 26px;
    }
    
    .app-logo span {
        font-size: 1.1rem;
    }
    
    .banner-slider {
        height: 75px;
    }
    
    .categories {
        gap: 10px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .category-name {
        font-size: 0.7rem;
    }
    
    .service-card-home {
        padding: 10px;
    }
    
    .service-icon-home {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    
    .service-content-home h6 {
        font-size: 0.75rem;
    }
    
    .service-description {
        font-size: 0.6rem;
    }
    
    .service-price-home {
        font-size: 0.7rem;
    }
}

/* Prevent scrolling in mobile screen */
.mobile-screen {
    background: var(--light-gray);
    border-radius: 6px;
    width: 100%;
    height: calc(100% - 30px);
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 12px;
    height: 100%;
    overflow-y: auto;
    font-size: 0.75rem;
    font-weight: 400;
    /* Disable scrolling for home page */
    overflow-y: hidden !important;
}


/* ===== APP DOWNLOAD BUTTONS ======================= */

