/* CSS Reset with phpwebsoft prefix */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.phpwebsoft-footer-bottom a {
    color: #999;
    
}
/* Base Styles */
.phpwebsoft-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.phpwebsoft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.phpwebsoft-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.phpwebsoft-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.phpwebsoft-logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.phpwebsoft-logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    background-color: #4a90e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.phpwebsoft-site-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.phpwebsoft-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.phpwebsoft-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.phpwebsoft-nav a:hover {
    color: #4a90e2;
}

/* Mobile Menu Toggle */
.phpwebsoft-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner Styles */
.phpwebsoft-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.phpwebsoft-banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.phpwebsoft-banner-slide.active {
    opacity: 1;
}

.phpwebsoft-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phpwebsoft-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.phpwebsoft-banner-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.phpwebsoft-banner-desc {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Categories */
.phpwebsoft-services {
    padding: 60px 0;
    background-color: #fff;
}

.phpwebsoft-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.phpwebsoft-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.phpwebsoft-service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.phpwebsoft-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #4a90e2;
}

.phpwebsoft-service-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.phpwebsoft-service-desc {
    color: #666;
    line-height: 1.6;
}

/* Case Studies */
.phpwebsoft-cases {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.phpwebsoft-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.phpwebsoft-case-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.phpwebsoft-case-card:hover {
    transform: translateY(-5px);
}

.phpwebsoft-case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.phpwebsoft-case-content {
    padding: 20px;
}

.phpwebsoft-case-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.phpwebsoft-case-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Main Content Layout */
.phpwebsoft-main-layout {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.phpwebsoft-main-content {
    flex: 1;
}

.phpwebsoft-sidebar {
    width: 350px;
}

/* Sidebar Widgets */
.phpwebsoft-widget {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
    color: #333;
}

.phpwebsoft-widget-content {
    color: #666;
}

/* Recent Cases Widget */
.phpwebsoft-recent-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.phpwebsoft-recent-case {
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
}

.phpwebsoft-recent-case:hover {
    opacity: 0.8;
}

.phpwebsoft-recent-case-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 8px;
}

.phpwebsoft-recent-case-title {
    font-size: 14px;
    line-height: 1.4;
}

/* Recent Articles Widget */
.phpwebsoft-recent-articles {
    list-style: none;
}

.phpwebsoft-recent-article {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.phpwebsoft-recent-article:last-child {
    border-bottom: none;
}

.phpwebsoft-recent-article a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s;
}

.phpwebsoft-recent-article a:hover {
    color: #4a90e2;
}

.phpwebsoft-article-date {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* Tags Widget */
.phpwebsoft-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.phpwebsoft-tag {
    padding: 6px 12px;
    background-color: #f0f4f8;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.phpwebsoft-tag:hover {
    background-color: #4a90e2;
    color: white;
}

/* Article List */
.phpwebsoft-article-list {
    list-style: none;
}

.phpwebsoft-article-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    transition: transform 0.3s;
}

.phpwebsoft-article-item:hover {
    transform: translateY(-2px);
}

.phpwebsoft-article-thumb {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.phpwebsoft-article-content {
    flex: 1;
}

.phpwebsoft-article-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.phpwebsoft-article-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.phpwebsoft-article-title a:hover {
    color: #4a90e2;
}

.phpwebsoft-article-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.phpwebsoft-article-meta {
    font-size: 14px;
    color: #999;
}

/* Pagination */
.phpwebsoft-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.phpwebsoft-pagination a,
.phpwebsoft-pagination span {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.phpwebsoft-pagination a:hover {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.phpwebsoft-pagination .current {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

/* Article Detail */
.phpwebsoft-article-header {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-article-detail-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.phpwebsoft-article-meta-info {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 20px;
}

.phpwebsoft-article-body {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-article-body h1,
.phpwebsoft-article-body h2,
.phpwebsoft-article-body h3 {
    margin: 30px 0 15px;
    color: #333;
}

.phpwebsoft-article-body h1 { font-size: 28px; }
.phpwebsoft-article-body h2 { font-size: 24px; }
.phpwebsoft-article-body h3 { font-size: 20px; }

.phpwebsoft-article-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.phpwebsoft-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

/* Article Navigation */
.phpwebsoft-article-nav {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

.phpwebsoft-article-nav a {
    text-decoration: none;
    color: #4a90e2;
    font-weight: 500;
    transition: color 0.3s;
}

.phpwebsoft-article-nav a:hover {
    color: #2c5aa0;
}

/* Related Articles */
.phpwebsoft-related-articles {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-related-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
}

.phpwebsoft-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.phpwebsoft-related-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s;
}

.phpwebsoft-related-item:hover {
    background-color: #f8f9fa;
    border-color: #4a90e2;
}

.phpwebsoft-related-item a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s;
}

.phpwebsoft-related-item a:hover {
    color: #4a90e2;
}

/* Category Page */
.phpwebsoft-category-header {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-category-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.phpwebsoft-category-desc {
    color: #666;
    line-height: 1.6;
}

/* About Page */
.phpwebsoft-about-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.phpwebsoft-about-section {
    margin-bottom: 40px;
}

.phpwebsoft-about-section:last-child {
    margin-bottom: 0;
}

.phpwebsoft-about-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.phpwebsoft-about-text {
    color: #666;
    line-height: 1.8;
}

/* Contact Page */
.phpwebsoft-contact-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.phpwebsoft-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.phpwebsoft-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.phpwebsoft-contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4a90e2;
    flex-shrink: 0;
}

.phpwebsoft-contact-text h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.phpwebsoft-contact-text p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.phpwebsoft-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.phpwebsoft-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.phpwebsoft-footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.phpwebsoft-footer-column ul {
    list-style: none;
}

.phpwebsoft-footer-column ul li {
    margin-bottom: 10px;
}

.phpwebsoft-footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.phpwebsoft-footer-column ul li a:hover {
    color: #fff;
}

.phpwebsoft-footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* Back to Top */
.phpwebsoft-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.phpwebsoft-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.phpwebsoft-back-to-top:hover {
    background-color: #2c5aa0;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .phpwebsoft-main-layout {
        flex-direction: column;
    }

    .phpwebsoft-sidebar {
        width: 100%;
    }

    .phpwebsoft-article-item {
        flex-direction: column;
    }

    .phpwebsoft-article-thumb {
        width: 100%;
    }

    .phpwebsoft-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .phpwebsoft-header-content {
        flex-direction: column;
        gap: 20px;
    }

    .phpwebsoft-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .phpwebsoft-nav.active {
        display: flex;
    }

    .phpwebsoft-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .phpwebsoft-banner {
        height: 300px;
    }

    .phpwebsoft-banner-title {
        font-size: 32px;
    }

    .phpwebsoft-banner-desc {
        font-size: 16px;
    }

    .phpwebsoft-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phpwebsoft-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phpwebsoft-recent-cases {
        grid-template-columns: 1fr;
    }

    .phpwebsoft-article-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .phpwebsoft-container {
        padding: 0 15px;
    }

    .phpwebsoft-site-name {
        font-size: 20px;
    }

    .phpwebsoft-service-grid {
        grid-template-columns: 1fr;
    }

    .phpwebsoft-case-grid {
        grid-template-columns: 1fr;
    }

    .phpwebsoft-footer {
        padding-top: 20px;
    }

    .phpwebsoft-footer-content {
        display: none;
    }

    .phpwebsoft-contact-info {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.phpwebsoft-text-center {
    text-align: center;
}

.phpwebsoft-mt-20 {
    margin-top: 20px;
}

.phpwebsoft-mb-20 {
    margin-bottom: 20px;
}

.phpwebsoft-clearfix::after {
    content: "";
    display: table;
    clear: both;
}