

/* Screen Reader Only for Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Wrapper for the main services layout */
.services-wrapper {
    display: flex; /* Default: Desktop two-column layout */
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    gap: 20px; /* Space between menu and detail pane */
    max-width: 1200px;
    margin: 0px auto;
    background-color: #f2fff7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 95%; /* Your existing width */
    box-shadow: var(--shadow-elevation-medium), inset 5px 5px 5px 0px rgb(255 255 255 / 50%);
   
}

/* --- Mobile Dropdown Styles (Hidden by Default) --- */
.mobile-menu-dropdown-container {
    display: none; /* Hidden on desktop */
    width: 100%; /* Take full width when visible */
    margin-bottom: 15px; /* Space below dropdown */
}

.mobile-service-select {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #009a44; /* Your green */
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #009a44; /* Your green */
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23009a44"><path d="M7 10l5 5 5-5z"/></svg>'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

/* Service Menu (Left Pane) - Default Desktop Styles */
.services-menu {
    flex: 1; /* Allows it to grow, but min-width will dominate */
    min-width: 200px; /* Minimum width for the menu */
    max-width: 350px; /* Maximum width for the menu */
    background-color: #009a44; /* Your green */
    border-radius: 8px;
    padding: 7px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    display: block; /* Default: Visible on desktop */
    box-shadow: var(--shadow-elevation-low), inset 3px 3px 3px 0px rgb(255 255 255 / 50%);
}

.service-menu-item {
    padding: 7px;
    margin-bottom: 3px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #f7d875; /* Your gold */
    border: 1px solid transparent; /* For active state border */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.service-menu-item h3 {
    margin: 0;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); /* Responsive font size */
    font-weight: bold;
    color: inherit; /* Inherit color from parent for hover effect */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-menu-item .brief-description {
    font-size: clamp(0.75rem, 0.65rem + 0.5vw, 0.9rem);
    color: whitesmoke;
    margin-top: 5px;
    line-height: 1;
    margin-top: 2px;
}

.service-menu-item:hover {
    background-color: #f7d875; /* Your gold */
    color: #009a44; /* Your green */
}

.service-menu-item:hover h3,
.service-menu-item:hover .brief-description {
    color: #009a44; /* Change text color on hover */
}

.service-menu-item.active {
    background-color: #f7d875; /* Active background */
    color: #009a44; /* Active text color */
    border: 1px solid #009a44;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      box-shadow: var(--shadow-elevation-low), inset 3px 3px 5px 0px rgb(255 255 255 / 50%);
}

.service-menu-item.active h3,
.service-menu-item.active .brief-description {
    color: #009a44; /* Active text color */
}

/* Service Detail Pane (Right Pane) */
.services-detail-pane {
    flex: 2; /* Allows it to take more space */
    background-color: #f9f9f98e;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 85%; /* This max-width should be balanced with services-menu flex */
    min-height: 200px; /* Ensure it has some height even if content is small */
    box-shadow: var(--shadow-elevation-low)
}

.service-detailed-content {
    display: none; /* Hidden by default */
    padding: 10px;
    animation: fadeIn 0.5s ease-in-out; /* Smooth fade-in */
    max-width: 95%; /* Adjusted from your input */
}

.service-detailed-content.active {
    display: block; /* Shown when active */
}

.service-detailed-content ul {
    color: #009a44;
    padding-left: 15px;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styling for detailed content within the pane */
.detailed-title {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); /* Larger title for the detailed section */
    font-weight: bold;
    color: #009a44; /* Your green */
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #f7d875; /* Your gold */
}

.service-detailed-content p {
    font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1rem); /* Responsive font size */
    line-height: 1.1;
    margin-bottom: 5px;
    color: #555;
}

.accounts-package-detailed-header {
    color: #009a44; /* Your green */
    font-weight: bold;
    font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
    margin-top: 10px;
    margin-bottom: 0px;
}

/* Included in package styling (from your original CSS) */
.inc-in-package {
    justify-content: left;
    align-items:center;
    text-align: center;
    margin-top: auto; /* Pushes it to the bottom if within a flex column */
    padding-top: 10px;
    border-top: 1px dashed #ccc;
   
    margin-top: 20px;
}

.inc-in-package-text {
    color: #f7d875;
    text-shadow: 1px 1px 2px rgba(25, 0, 255, 0.8);
     box-shadow: var(--shadow-elevation-low), inset 3px 3px 5px 0px rgb(255 255 255 / 50%);
    font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1rem);
    background-color: #009a44;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block; /* To make padding/background work */
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .services-wrapper {
        flex-direction: column; /* Stack columns on smaller screens */
        padding: 10px;
        gap: 1px; /* Adjust gap for stacked layout */
    }

    /* Show mobile dropdown */
    .mobile-menu-dropdown-container {
        display: block;
    }

    /* Hide the traditional vertical menu */
    .services-menu {
        display: none;
    }

    .services-detail-pane {
        min-width: unset; /* Remove min-width restriction */
        max-width: 100%; /* Take full width on mobile */
        width: 90%; /* Ensure full width */
        padding: 10px; /* Adjust padding for mobile */
        margin: auto;
    }

    /* Mobile specific font sizes (from your input) */
    .service-menu-item {
        padding: 10px;
    }
    .service-menu-item h3 {
        font-size: clamp(0.725rem, 0.5946rem + 0.7522vw, 1rem);
    }
    .service-menu-item .brief-description {
        font-size: clamp(0.6875rem, 0.6005rem + 0.4348vw, 0.9375rem);
    }
    .detailed-title {
        font-size: 1.4rem;
    }
    .service-detailed-content p {
        font-size: 0.85rem;
    }
    .accounts-package-detailed-header {
        font-size: 0.9rem;
    }
    .inc-in-package-text {
        font-size: 0.8rem;
    }
}