.mobile-only { display: none; }
@font-face{font-family:"iconfont";src:url('//at.alicdn.com/t/c/font_4866997_syf2nvolmxr.woff2?t=1744452652555') format('woff2'),url('//at.alicdn.com/t/c/font_4866997_syf2nvolmxr.woff?t=1744452652555') format('woff'),url('//at.alicdn.com/t/c/font_4866997_syf2nvolmxr.ttf?t=1744452652555') format('truetype')}.iconfont{font-family:"iconfont" !important;font-size:40px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-huidaodingbu1:before{content:"\e695"}.icon-weixin:before{content:"\e601"}.icon-telegram:before{content:"\e794"}.icon-huidaodingbu:before{content:"\e600"}.icon-whatsapp:before{content:"\e8ec"}.aside{position:fixed;top:50%;right:3%;z-index:999;transform:translateY(-50%);display:flex;flex-direction:column;gap:20px}.aside a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);box-shadow:0 10px 25px rgba(37,117,252,0.4);color:white;text-decoration:none;transition:all .4s cubic-bezier(.175, .885, .32, 1.275);position:relative;overflow:visible}.aside a .img{position:absolute;right:100%;top:50%;transform:translateY(-50%) scale(.8);opacity:0;width:150px;height:150px;padding:10px;background:white;border-radius:10px;box-shadow:0 5px 15px rgba(0,0,0,0.2);transition:all .3s ease;margin-right:15px;pointer-events:none}.aside a .img img{width:100%;height:100%;object-fit:contain;border-radius:5px}.aside a:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 15px 30px rgba(37,117,252,0.6)}.aside a:hover .iconfont{transform:rotate(15deg)}.aside a:hover:before{left:120%}.aside a:hover .img{opacity:1;transform:translateY(-50%) scale(1)}.aside .iconfont{font-size:28px;transition:transform .3s ease;display:flex;justify-content:center;align-items:center}.aside p{margin:0;font-size:14px;font-weight:500;letter-spacing:.5px}@media (max-width:768px){.aside{right:2%;gap:15px}.aside a{width:60px;height:60px}.aside a .img{width:120px;height:120px}.aside .iconfont{font-size:22px}.aside p{font-size:12px}}#heaher .inner{display:flex;justify-content:space-between;align-items:center}#heaher .inner .logo a{display:inline-block}#heaher .inner .logo a img{width:180px}.article_container{max-width:1440px;margin:20px auto;background:#fff;border-radius:12px;box-shadow:0 2px 15px rgba(0,0,0,0.1);padding:10px}.article-list{margin-top:30px;display:flex;justify-content:space-around;flex-wrap:wrap}.article-list .article-item{width:45%;overflow:hidden;padding:20px;margin-bottom:20px;background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,0.1);transition:transform .3s ease}.article-list .article-item:hover{transform:translateX(8px)}.article-list .article-item .acticle_a{display:flex;justify-content:start;text-decoration:none}.article-list .article-item .acticle_a h3{color:var(--primary-color);font-size:1.2rem;margin-bottom:10px}.article-list .article-item .acticle_a p{color:var(--light-text);margin-bottom:5px}.article-list .article-item .acticle_a .article_img img{margin-right:20px;width:200px}.pagination{justify-content:center;gap:10px}.pagination button{padding:8px 16px;border:1px solid var(--primary-color);border-radius:4px;background:white;color:var(--primary-color);cursor:pointer;transition:all .3s ease}.pagination button:hover{background-color:var(--primary-color);color:white}.pagination button:disabled{opacity:.6;cursor:not-allowed}.container .main-content article img{width:250px}.container .main-content .new_info img{width:200px}@media (max-width:768px){.article_container{margin:10px}.article-item .acticle_a{flex-direction:column}.article-item .acticle_a .article_img img{width:100%;margin-right:0;margin-bottom:10px}.article-item .article_cont h3{font-size:1rem}.article-item .article_cont p{font-size:.9rem}.pagination{flex-wrap:wrap}.pagination button{padding:6px 12px}}footer{background:linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);color:#e0e0e0;padding:3rem 2rem 1.5rem;font-family:'Helvetica Neue',Arial,sans-serif;box-shadow:0 -5px 30px rgba(0,0,0,0.2);position:relative;z-index:10}footer .fri-main{max-width:1200px;margin:0 auto 2.5rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,0.1)}footer .fri-main .fri-name{font-size:1.2rem;margin-bottom:1.5rem;color:#fff;font-weight:500;letter-spacing:1px;position:relative;display:inline-block}footer .fri-main .fri-name::after{content:'';position:absolute;bottom:-8px;left:0;width:50px;height:3px;background:#7fdbff;border-radius:3px}footer .fri-main .fri-ul{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin:0;padding:0;list-style:none}footer .fri-main .fri-ul .fri-li{margin:.3rem 0}footer .fri-main .fri-ul .fri-li a{color:#7fdbff;text-decoration:none;font-size:1rem;transition:all .3s ease;padding:.3rem 0;position:relative;display:flex;align-items:center}footer .fri-main .fri-ul .fri-li a::before{content:'→';margin-right:6px;opacity:0;transition:all .3s ease;transform:translateX(-5px)}footer .fri-main .fri-ul .fri-li a:hover{color:#fff;padding-left:15px}footer .fri-main .fri-ul .fri-li a:hover::before{opacity:1;transform:translateX(0)}footer .bottom{max-width:1200px;margin:0 auto;text-align:center;font-size:.9rem}footer .bottom a{color:#e0e0e0;text-decoration:none;margin:0 .8rem;transition:all .3s ease;position:relative;padding:.5rem 0}footer .bottom a:hover{color:#7fdbff;text-shadow:0 0 5px rgba(127,219,255,0.5)}footer .bottom h6{margin:1.5rem 0 0;font-weight:300;font-size:.8rem;color:rgba(224,224,224,0.7);line-height:1.6}@media (max-width:768px){footer{padding:2rem 1.5rem}footer .fri-main .fri-ul{gap:.8rem 1.5rem}footer .fri-main .fri-ul .fri-li a{font-size:.9rem}footer .bottom a{margin:0 .5rem;font-size:.85rem}footer .bottom h6{font-size:.75rem}}@media (max-width:480px){footer{padding:2rem 1rem}footer .fri-main{text-align:center;padding-bottom:1.5rem;margin-bottom:1.5rem}footer .fri-main .fri-name::after{left:50%;transform:translateX(-50%)}footer .fri-main .fri-ul{justify-content:center;gap:0.8rem;flex-direction:row;flex-wrap:wrap}footer .fri-main .fri-ul .fri-li{margin:0.2rem 0;width:45%;text-align:center}footer .fri-main .fri-ul .fri-li a{justify-content:center;padding-left:0}footer .fri-main .fri-ul .fri-li a:hover{padding-left:0}footer .fri-main .fri-ul .fri-li a::before{display:none}footer .bottom a{display:inline-block;margin:0.3rem 0.5rem}footer .bottom h6{font-size:0.7rem;line-height:1.5}}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #003c7b;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

@media (max-width: 768px) {
    body {
        min-width: 0 !important;
        width: 100% !important;
        overflow-x: hidden;
    }
    .auto, .autoWidth {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hamburger {
        display: flex;
    }
    
    .headnav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px;
        display: block !important; /* Ensure it overrides any display:none */
        margin-top: 0;
    }

    .headnav.active {
        right: 0;
    }

    .headnav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .headnav li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .headnav li a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Helper classes for ali/index.html mobile menu */
    .c-nav { display: none; }
    .mobile-only { display: block !important; }
    .mobile-only .inner { padding: 10px 20px; }
    
    #heaher {
        width: 100%;
        background: #fff;
        position: relative;
        z-index: 1001;
    }
    
    /* Hide logo in mobile header as requested */
    #heaher .logo {
        display: none !important;
    }
    
    /* Adjust hamburger position if needed (e.g. keep it on right) */
    #heaher .inner {
        justify-content: flex-end !important;
        padding-right: 20px; /* Add some padding if needed */
        height: 50px; /* Ensure height if logo was providing it */
    }
    .hamburger {
        margin-top: 12px; /* Center vertically if height is 50px */
    }

    /* Server Page Mobile Styles */
    .info-banner {
        height: auto !important;
        padding: 80px 20px 40px !important;
        background-size: cover !important;
    }
    .info-box, .info-nav {
        width: 100% !important;
        padding-top: 0 !important;
    }
    .product-info-detail {
        width: 100% !important;
        text-align: center;
    }
    .product-info-title {
        font-size: 28px !important;
        height: auto !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    .product-info-btn {
        text-align: center !important;
    }
    .product-info-btn a.btn {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 !important;
    }
    .banner-product-price {
        display: block !important;
        text-align: center !important;
        margin: 10px 0 !important;
    }

    .virtue-list li {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 20px !important;
        height: auto !important;
        padding: 20px !important;
    }
    
    .server-module.double, .server-module.single {
        padding-bottom: 30px !important;
    }
    .module-title {
        height: auto !important;
        line-height: 2 !important;
        padding: 40px 0 20px !important;
        font-size: 24px !important;
    }
    
    .youshi-wrapper {
        overflow-x: auto !important;
        display: flex !important;
        padding-bottom: 20px !important;
    }
    .youshi-item {
        float: none !important;
        flex: 0 0 150px !important;
    }
    
    .product-fun-list li {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px !important;
        height: auto !important;
    }
    .product-detail {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        padding: 10px !important;
        box-sizing: border-box;
    }
    
    .server-pkg-list {
        display: flex !important;
        flex-direction: column !important;
    }
    .server-pkg-item {
        width: 100% !important;
        margin: 0 0 20px !important;
    }
    
    .footer-join-box {
        height: auto !important;
        padding: 40px 20px !important;
        text-align: center !important;
    }
    .f-join-photo {
        display: none !important;
    }
    .footer-servie-wrap {
        height: auto !important;
    }
    .servie-commit {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 20px 0 !important;
    }
    .servie-commit li {
        width: 100% !important;
        margin: 10px 0 !important;
        text-align: center !important;
        float: none !important;
    }

    /* Extra mobile polish for server.html */
    .banner-engine .info-banner {
        padding: 60px 16px 32px !important;
        background-position: center !important;
    }
    .banner-engine .info-nav {
        padding-top: 10px !important;
    }
    .banner-engine .product-info {
        text-align: center;
    }
    .banner-engine .product-info-detail {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 10px;
    }

    .banner-engine .virtue-list li {
        min-height: 150px !important;
        padding: 20px 16px 16px 80px !important;
        background-position: 18px 22px !important;
        background-size: 46px 46px !important;
        border-radius: 12px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    }
    .banner-engine .virtue-list li::before {
        width: 100% !important;
        height: 100% !important;
        opacity: 0.08;
        right: 0;
    }
    .banner-engine .virtue-list .virtue-title {
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.4;
        display: block;
    }
    .banner-engine .virtue-list .virtue-sub-title {
        padding: 8px 0 0 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .banner-engine .youshi-wrapper {
        gap: 12px;
        scrollbar-width: thin;
    }
    .banner-engine .youshi-item {
        min-width: 230px !important;
        border-radius: 12px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    }
    .banner-engine .youshi-item .youshi-header {
        position: static;
        box-shadow: none;
    }
    .banner-engine .youshi-item-li {
        padding: 12px 10px;
        line-height: 1.5 !important;
    }

    .banner-engine .server-module.product-function {
        background: #f7f9fb !important;
        height: auto !important;
        padding: 30px 0 20px !important;
    }
    .banner-engine .product-function .module-title {
        padding: 10px 0 20px !important;
        color: #0f172a !important;
    }
    .banner-engine .product-function .clearfix {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .banner-engine .product-fun-list {
        margin: 0;
        padding: 0;
    }
    .banner-engine .product-fun-list li {
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 14px !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
        background: #fff;
    }
    .banner-engine .product-fun-list h3 {
        padding-left: 0 !important;
        margin-bottom: 8px !important;
    }
    .banner-engine .product-fun-list h3::after {
        display: none;
    }
    .banner-engine .product-fun-desc {
        padding: 0 !important;
        line-height: 1.7 !important;
        color: #374151;
    }
    .banner-engine .product-detail {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
        margin-bottom: 14px;
    }
    .banner-engine .product-detail-title {
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.5 !important;
        color: #0f172a !important;
    }
    .banner-engine .product-detail-content {
        padding: 10px 0 0 !important;
        color: #374151;
    }
    .banner-engine .product-detail-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        border-collapse: collapse;
    }
    .banner-engine .product-detail-content table th,
    .banner-engine .product-detail-content table td {
        white-space: nowrap;
        font-size: 14px;
    }

    .banner-engine .server-package.server-module {
        padding: 30px 0 !important;
    }
    .banner-engine .server-pkg-list {
        gap: 16px;
        margin-left: 0 !important;
    }
    .banner-engine .server-pkg-item {
        float: none !important;
        height: auto !important;
    }
    .banner-engine .server-pkg-item .pkg-inner {
        width: 100% !important;
        height: auto !important;
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
    }
    .banner-engine .server-pkg-item .server-pkg-top {
        padding: 18px 16px !important;
        height: auto !important;
        background-size: cover !important;
        background-position: center !important;
        border-radius: 12px 12px 0 0;
    }
    .banner-engine .server-pkg-title {
        height: auto !important;
        line-height: 1.4 !important;
        font-size: 20px !important;
        text-align: left !important;
        margin-bottom: 6px;
        background: none !important;
    }
    .banner-engine .server-pkg-brief {
        height: auto !important;
        line-height: 1.6 !important;
        font-size: 14px !important;
        color: #374151 !important;
        margin: 0;
    }
    .banner-engine .server-pkg-box {
        padding: 16px !important;
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    .banner-engine .server-pkg-config {
        white-space: normal !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .banner-engine .pkg-config-item {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        height: auto !important;
        padding: 10px 12px !important;
        background: #f8fafc !important;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .banner-engine .pkg-config-sub {
        font-size: 14px !important;
        color: #4b5563 !important;
    }
    .banner-engine .pkg-config-main {
        font-size: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #111827 !important;
    }
    .banner-engine .pkg-price-row {
        margin: 0 !important;
        text-align: left !important;
    }
    .banner-engine .pkg-buy-button {
        margin: 0 !important;
        width: 100%;
    }
    .banner-engine .pkg-buy-button a {
        width: 100% !important;
        max-width: 260px;
        border-radius: 10px;
        display: block;
        margin: 0 auto;
    }

    /* Fix inner widths */
    .auto, .wl {
        width: 100% !important;
        padding: 0 15px !important;
    }
    /* Fix footer nav stack */
    .footer-top a {
        display: block;
        margin: 5px 0;
    }

    /* Partners Module (Index) Mobile Styles */
    .partner-section {
        padding: 40px 15px !important;
        margin-bottom: 20px !important;
    }
    .partner-section .font {
        margin-bottom: 20px;
    }
    .partner-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    .partner-card {
        width: 44% !important;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        margin-bottom: 15px !important;
        padding: 20px 10px !important;
        height: auto !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* Make the last partner item full width */
    .partner-card:last-child {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .partner-logo-box {
        width: 100% !important;
        height: 60px !important;
        border: none !important;
        border-radius: 0 !important;
        margin-bottom: 10px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .partner-logo-box img {
        width: auto !important;
        max-width: 80% !important;
        height: auto !important;
        max-height: 100% !important;
        margin-top: 0 !important;
    }

    /* Safe Page Mobile Styles */
    .banner {
        height: 200px !important;
        background-size: cover !important;
    }
    .ideabox .til {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
        background: none !important;
    }
    .ideabox .til a {
        float: none !important;
        display: inline-block !important;
        width: 45% !important;
        height: 40px !important;
        line-height: 40px !important;
        margin: 5px !important;
        background-color: #003c7b !important;
        border: 1px solid #fff !important;
        color: #fff !important;
        border-radius: 4px;
    }
    .ideabox .main .item {
        padding-top: 20px !important;
        border-bottom: none !important;
    }
    .ideabox .main .comt {
        padding-bottom: 20px !important;
        padding: 0 15px 20px !important;
        border-bottom: none !important;
    }
    .ideabox .main img {
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 !important;
        display: block;
    }

    /* Help Center (ali/index.html) Mobile Styles */
    .article_container {
        margin: 10px 0 !important;
        padding: 0 !important;
    }
    .main-content {
        padding: 15px !important;
    }
    .main-content h1 {
        font-size: 24px !important;
        text-align: center;
        margin-bottom: 20px !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    .article-list {
        display: block !important;
        margin-top: 10px !important;
    }
    .article-list .article-item {
        width: 100% !important;
        margin: 0 0 15px !important;
        padding: 15px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        border-radius: 10px !important;
        float: none !important;
    }
    .article-list .article-item .acticle_a {
        display: flex !important;
        flex-direction: row !important; /* Keep row if possible, or column if desired */
        align-items: flex-start !important;
    }
    /* If image is too big, maybe column is better. Let's try row with small image or column. 
       Previous media query said column. Let's stick to column for better mobile view. */
    .article-list .article-item .acticle_a {
        flex-direction: column !important;
    }
    .article-list .article-item .acticle_a .article_img {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 10px !important;
    }
    .article-list .article-item .acticle_a .article_img img {
        width: 100% !important;
        height: auto !important;
        border-radius: 6px !important;
    }
    .article-item .article_cont {
        width: 100% !important;
    }
    .article-item .article_cont h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
    }
    .article-item .article_cont p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #666 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .pagination {
        margin: 20px 0 !important;
        gap: 5px !important;
    }
    .pagination button {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
}

/* New Partners Style (Desktop & Global) - Premium Tech Version */
.partner-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 60px !important;
}

.partner-card {
    width: 19%;
    height: 180px;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.partner-name {
    font-size: 16px;
    font-weight: 500;
    color: #586069;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.partner-card:hover {
    border-color: #0366d6;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    z-index: 2;
}

.partner-card:hover .partner-name {
    color: #0366d6;
}

.partner-logo-box {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo-box img {
    max-width: 180px;
    max-height: 65px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-box img {
    transform: scale(1.08);
}

/* New Services Style */
.services-section {
    padding: 60px 0;
    /* background-color: #f8f9fa; */
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.service-card {
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #e6f0ff;
    transform: scale(1.1);
}

.service-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.service-card:hover .service-content h3 {
    color: #007bff;
}

.service-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.service-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

@media (max-width: 768px) {
    .services-grid {
        gap: 15px;
    }
    .service-card {
        width: 44%; /* 2 per row */
        padding: 20px 10px;
    }
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .service-icon img {
        width: 30px;
        height: 30px;
    }
    .service-content h3 {
        font-size: 15px;
    }
    .service-content p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* Last card full width if odd number */
    .service-card:last-child {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 15px;
        text-align: left;
    }
    .service-card:last-child .service-icon {
        margin-bottom: 0;
    }
}
