﻿.web-development-section {
    background: url('../webdevelopmentimg/main_back.png') no-repeat;
    background-size: cover;
}

/*Custom web offering css start*/
.main-content {
    display: flex;
}

.sidebar {
    width: 480px;
    padding: 30px 20px;
}
    
.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-btn {
    background: none;
    font-weight: 700;
    border: none;
    color: #333;
    padding: 15px 10px;
    font-size: 20px;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .service-btn:hover {
        color: #dc3545;
    }

    .service-btn.active {
        color: #dc3545;
        font-weight: 700;
        background: #fff;
        padding-left: 11px;
    }

.content-area {
    position: relative;
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1;
}

/* Hover Effects */
.content-area:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Content Styling */
.content-area h1, .content-area h2, .content-area h3 {
    position: relative;
    z-index: 10;
    color: #1f2937;
}

    .content-area p {
        position: relative;
        z-index: 10;
        color: #4b5563;
        line-height: 1.6;
        font-weight: 500;
    }

.content-section {
    display: none;
}

    .content-section.active {
        display: block;
    }

.content-title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-description {
    margin-bottom: 20px;
    font-weight:200;
}

.solutions-title {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.solutions-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.solution-text {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

    
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .solutions-list {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 20px;
    }
}
/* Title Hover Effects */
.content-title {
    transition: all 0.3s ease;
    position: relative;
}

    .content-title::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: #007bff;
        transition: width 0.3s ease;
    }

/* Solutions Title Hover */
.solutions-title {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Solution Items Hover Effects */
.solution-item {
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}


/* Solution Text Hover */
.solution-text {
    transition: all 0.3s ease;
}


/* View More Link Hover */
.view-more {
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: flex;
    padding: 8px 16px;
    border-radius: 5px;
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
    justify-content: flex-end;
}

    .view-more:hover {
        transform: translateY(-2px);
        text-decoration: none !important;
    }



    .view-more::after {
        content: ' →';
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .view-more:hover::after {
        opacity: 1;
    }

/* Responsive hover effects */
@media (max-width: 768px) {
    .solution-item:hover {
        transform: translateX(5px);
    }

    #eccomerce:hover {
        transform: translateY(-1px);
    }
}
/*Custom web offering css end*/

