body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.home-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('station.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('labour.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gradient-bg {
    background: linear-gradient(to right, #146341, #2DC55F);
}

.section-padding {
    padding: 80px 0;
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header Scroll Transition Styles */
.header-transparent {
    background-color: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-scrolled {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-transparent .nav-link-color {
    color: white;
    transition: color 0.3s ease;
}

.header-scrolled .nav-link-color {
    color: #146341;
}

.header-transparent .logo-text-color {
    color: white;
    transition: color 0.3s ease;
}

.header-scrolled .logo-text-color {
    color: #146341;
}

.nav-link-color.active {
    font-weight: 600;
    color: #2DC55F !important;
}

/* Split Overlay Styles */
.split-overlay {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 50vw;
    z-index: 9999;
    transition: transform 1.5s ease-out;
    background-color: white;
}

#split-overlay-left {
    left: 0;
    transform: translateX(0);
}

#split-overlay-right {
    right: 0;
    transform: translateX(0);
}

#split-overlay-left.split-out {
    transform: translateX(-100%);
}

#split-overlay-right.split-out {
    transform: translateX(100%);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #f3f4f6;;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-overlay.no-transition-modal {
    transition: none !important;
    animation: none !important;
}

.modal-overlay.no-transition-modal .modal-content {
    transition: none !important;
    animation: none !important;
}

/* Scroll Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1200ms ease-out, transform 1200ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Teletek at a Glance Grid Specific Styles */
.teletek-glance-panel {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .teletek-glance-panel {
        margin-bottom: 0;
    }
}

/* Update this section in your styles.css */
.solution-category-card {
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 380px; /* Adjust height to your preference */
    flex-shrink: 0;
    width: 250px; /* Adjust width to your preference */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0.5rem;
    position: relative;
    z-index: 1;
}

.solution-category-card:hover {
    transform: scale(1.05); /* Subtle scale */
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}


.category-card-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.solution-category-card:hover .category-card-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.category-card-overlay p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.solution-category-card:hover .category-card-overlay p {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-bottom: 0.75rem;
}

.category-card-overlay button {
    margin-top: auto;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.solution-category-card:hover .category-card-overlay button {
    transform: translateY(-5px);
}

#solutions-category-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
}

#solutions-category-grid::-webkit-scrollbar {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#solutions-category-grid::-webkit-scrollbar-thumb {
    background: #2DC55F;
    border-radius: 4px;
}

#solutions-category-grid::-webkit-scrollbar-thumb:hover {
    background: #146341;
}

/* For Firefox */
#solutions-category-grid {
    scrollbar-width: thin;
    scrollbar-color: #2DC55F rgba(0, 0, 0, 0.1);
}

.offering-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.offering-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}