/* --- category card base (from theme) --- */

.tdc-products-intro {
  padding: 18px 12px;
  background: #f7f9fc;
}

.tdc-products-intro,
.tdc-products-intro * {
  box-sizing: border-box;
}

.tdc-products-intro__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tdc-products-intro__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(26, 53, 100, 0.05);
}

.tdc-products-intro__icon {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #edf7f0;
  border-radius: 18px;
}

.tdc-products-intro__icon svg {
  display: block;
  width: 58px;
  height: 58px;
}

.tdc-products-intro__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.tdc-products-intro__text {
  min-width: 0;
}

.tdc-products-intro h3 {
  margin: 0 0 6px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  color: #2b5a9c;
}

.tdc-products-intro p {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #647084;
}

@media (min-width: 768px) and (max-width: 991px) {
  .tdc-products-intro__card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .tdc-products-intro__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tdc-products-intro__card {
    padding: 16px;
    gap: 16px;
    border-radius: 14px;
  }

  .tdc-products-intro__icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .tdc-products-intro__icon svg {
    width: 50px;
    height: 50px;
  }

  .tdc-products-intro h3 {
    font-size: 20px;
  }

  .tdc-products-intro p {
    font-size: 13px;
  }
}
a.tdc-products-intro__card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.tdc-products-intro__card:hover {
  border-color: #2b5a9c;
  box-shadow: 0 6px 20px rgba(43, 90, 156, 0.12);
}

a.tdc-products-intro__card:focus-visible {
  outline: 3px solid #2b5a9c;
  outline-offset: 3px;
}

.tdc-products-intro {
    position: relative;
    isolation: isolate;
    padding: 30px 12px 42px;
    background:
        radial-gradient(circle at 5% 0%, rgba(63,154,58,.14), transparent 28%),
        linear-gradient(135deg, #e8f1f8 0%, #f7fbff 52%, #e1ebf8 100%);
}

.tdc-products-intro__grid {
    gap: 18px;
}

.tdc-products-intro__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 132px;
    padding: 22px 20px;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,.88),
        rgba(255,255,255,.48)
    );

    border: 1px solid rgba(43,90,156,.28);
    border-left: 3px solid #2b5a9c;
    border-top: 4px solid #3f9a3a;
    border-radius: 0 26px 0 26px;

    box-shadow:
        0 12px 28px rgba(29,43,82,.13),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tdc-products-intro__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,.42),
        transparent 42%
    );
    pointer-events: none;
}

.tdc-products-intro__card:hover {
    transform: translateY(-5px);
    border-color: #2b5a9c;
    box-shadow:
        0 18px 34px rgba(29,43,82,.19),
        0 0 0 3px rgba(63,154,58,.10);
}

.tdc-products-intro__card > * {
    position: relative;
    z-index: 1;
}

.tdc-products-intro__icon {
    background: rgba(232,241,248,.78);
    border: 1px solid rgba(43,90,156,.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 4px 10px rgba(43,90,156,.08);
}

.tdc-products-intro h3 {
    color: #2b5a9c;
}

.tdc-products-intro p {
    color: #596b86;
}

@media (max-width: 767px) {
    .tdc-products-intro {
        padding: 18px 10px 25px;
    }

    .tdc-products-intro__grid {
        gap: 12px;
    }

    .tdc-products-intro__card {
        min-height: 104px;
        padding: 16px;
        border-radius: 0 20px 0 20px;
    }

    .tdc-products-intro__card:hover {
        transform: none;
    }
}

/* --- VSC overrides --- */
:root{--vsc-green:#3f9a3a;--vsc-green-d:#2f7d2c;--vsc-blue:#2b5a9c;--vsc-navy:#142a4f;--vsc-red:#d23a2f;--vsc-soft:#eef5ec}
/* logo */
.main-header__logo{width:250px;height:109px}
.main-header__logo img{width:100%;max-height:88px;object-fit:contain}
.main-header__wellcome img{height:64px;width:auto;background:#fff;border-radius:8px;padding:2px 8px}
.vsc-footlogo{display:inline-block;background:#fff;border-radius:14px;padding:10px 16px}
.vsc-footlogo img{display:block;height:auto}
.vsc-mobile-slogan{color:#fff;opacity:.85;margin:18px 0 0;font-style:italic}
/* hero */
.tdc-slider-area{background:linear-gradient(135deg,#eef5ec,#e6eff8)}
.tdc-slider-frame{border-color:var(--vsc-blue);border-top-color:var(--vsc-green)}
.vsc-slide{min-height:460px;display:flex;align-items:center;gap:20px;padding:36px 56px;color:#fff;background:linear-gradient(120deg,var(--vsc-navy),var(--vsc-blue))}
.vsc-slide--brand{background:linear-gradient(120deg,#f7fbf5,#e3f0e0);color:var(--vsc-navy)}
.vsc-slide--c0{background:linear-gradient(120deg,#2f7d2c,#5fb35a)}
.vsc-slide--c1{background:linear-gradient(120deg,#1e6a5b,#3f9a86)}
.vsc-slide--c2{background:linear-gradient(120deg,#8a3b12,#d97a2b)}
.vsc-slide--c3{background:linear-gradient(120deg,#142a4f,#2b5a9c)}
.vsc-slide--c4{background:linear-gradient(120deg,#4a2a7a,#7a52b3)}
.vsc-slide__text{flex:1 1 44%;min-width:0}
.vsc-slide__logo{width:min(320px,80%);margin-bottom:14px}
.vsc-slide__kicker{display:inline-block;font-size:13px;letter-spacing:.14em;text-transform:uppercase;opacity:.85;margin-bottom:8px}
.vsc-slide h2{font-family:"Oswald",sans-serif;font-size:clamp(28px,4vw,52px);line-height:1.15;margin:0 0 12px;color:inherit;text-transform:uppercase}
.vsc-slide p{font-size:17px;line-height:1.6;margin:0 0 22px;color:inherit;opacity:.92;max-width:460px}
.vsc-slide .grdeen-btn{background:#fff;color:var(--vsc-navy)}
.vsc-slide--brand .grdeen-btn{background:var(--vsc-green);color:#fff}
.vsc-slide__imgs{flex:1 1 56%;display:flex;align-items:flex-end;justify-content:center;gap:10px;min-width:0}
.vsc-slide__imgs img{max-height:370px;max-width:32%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(0,0,0,.28))}
.vsc-slide--brand .vsc-slide__imgs img{max-width:24%}
@media(max-width:767px){.vsc-slide{flex-direction:column;padding:26px 20px 20px;min-height:0;text-align:center}.vsc-slide p{font-size:14px;margin-left:auto;margin-right:auto}.vsc-slide__imgs img{max-height:150px}}
/* category cards */
.vsc-cats .tdc-products-intro__grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.vsc-cats .tdc-products-intro__card{flex-direction:column;text-align:center;gap:10px;border-top-color:var(--vsc-green);border-left-color:var(--vsc-blue)}
.vsc-cats .tdc-products-intro__icon i{font-size:30px;color:var(--vsc-green)}
.vsc-cats .tdc-products-intro h3{font-size:21px;margin-bottom:2px}
@media(max-width:991px){.vsc-cats .tdc-products-intro__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.vsc-cats .tdc-products-intro__card{flex-direction:row;text-align:left}}
/* about */
.vsc-about-logo{background:linear-gradient(135deg,#f4faf2,#e6eff8);border:1px solid #dbe7dd;border-radius:0 40px 0 40px;padding:48px 36px;display:flex;justify-content:center;box-shadow:0 10px 30px rgba(20,42,79,.08)}
.vsc-about-logo img{width:min(440px,100%)}
.vsc-lead{font-size:16px;line-height:1.8;color:#4f5b4f;margin-bottom:18px}
.vsc-groups{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:10px}
.vsc-groups a{display:flex;align-items:center;gap:12px;padding:11px 16px;background:#fff;border:1px solid #e1e8e2;border-left:4px solid var(--vsc-green);border-radius:10px;color:#3d493d;transition:.2s}
.vsc-groups a:hover{border-left-color:var(--vsc-blue);transform:translateX(4px);box-shadow:0 6px 16px rgba(20,42,79,.08)}
.vsc-groups i{width:22px;color:var(--vsc-green)}
.vsc-groups b{font-family:"Oswald",sans-serif;font-weight:600;color:var(--vsc-navy);min-width:110px}
.vsc-groups span{flex:1;font-size:13px}
.vsc-groups em{font-style:normal;font-weight:700;background:var(--vsc-soft);color:var(--vsc-green-d);border-radius:20px;padding:2px 10px;font-size:13px}
/* sections & cards */
.vsc-sec{padding:70px 0}
.vsc-sec--alt{background:#f3f7f4}
.product-one .service-one__bg{display:none}
.vsc-card .product__item__img{aspect-ratio:4/5;background:#fff;border:1px solid #e6ece7;border-radius:14px;overflow:hidden;display:flex}
.vsc-card .product__item__img a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:14px}
.vsc-card .product__item__img img{width:100%;height:100%;object-fit:contain;transition:transform .35s}
.vsc-card:hover .product__item__img img{transform:scale(1.06)}
.vsc-card .product__item__content{text-align:center;padding-top:14px}
.vsc-card .product__item__title{font-size:18px;margin:6px 0 0}
.vsc-badge{display:inline-block;font-size:12px;font-weight:600;color:var(--vsc-green-d);background:var(--vsc-soft);border-radius:20px;padding:3px 12px}
.vsc-combo-img{background:#f2f5f8;aspect-ratio:4/3}
.vsc-combo-img img{width:100%;height:100%;object-fit:contain}
.project-one__item__image img{width:100%}
/* page head */
.vsc-pagehead{background:linear-gradient(120deg,var(--vsc-navy),var(--vsc-blue));color:#fff;padding:54px 0 46px;border-bottom:5px solid var(--vsc-green)}
.vsc-pagehead h1{font-family:"Oswald",sans-serif;color:#fff;font-size:clamp(28px,4vw,44px);margin:6px 0 4px;text-transform:uppercase}
.vsc-pagehead p{margin:0;opacity:.85;font-style:italic}
.vsc-crumbs{font-size:14px;opacity:.9}.vsc-crumbs a{color:#cfe3ff}.vsc-crumbs span{margin:0 8px;opacity:.6}
/* tabs */
.vsc-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;justify-content:center}
.vsc-tab{border:1px solid #cfdccf;background:#fff;color:var(--vsc-navy);border-radius:30px;padding:8px 20px;font-weight:600;font-size:14px;cursor:pointer;transition:.2s}
.vsc-tab:hover,.vsc-tab.is-active{background:var(--vsc-green);border-color:var(--vsc-green);color:#fff}
.vsc-cat-desc{text-align:center;color:#647084;margin:-8px 0 28px}
/* product detail */
.vsc-gallery__main{background:#fff;border:1px solid #e1e8e2;border-radius:18px;height:520px;display:flex;align-items:center;justify-content:center;padding:18px}
.vsc-gallery__main img{max-width:100%;max-height:100%;object-fit:contain}
.vsc-gallery__cap{text-align:center;font-size:13px;color:#7a877a;margin:8px 0}
.vsc-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.vsc-thumb{width:84px;height:84px;padding:4px;background:#fff;border:2px solid #e1e8e2;border-radius:10px;cursor:pointer}
.vsc-thumb.is-active,.vsc-thumb:hover{border-color:var(--vsc-green)}
.vsc-thumb img{width:100%;height:100%;object-fit:contain}
.vsc-info h2{font-family:"Oswald",sans-serif;font-size:36px;color:var(--vsc-navy);margin:12px 0}
.vsc-table{width:100%;margin:18px 0 26px;border-collapse:collapse}
.vsc-table th,.vsc-table td{padding:11px 4px;border-bottom:1px solid #e6ece7;font-size:15px;text-align:left}
.vsc-table th{width:38%;color:#647084;font-weight:600}
.vsc-related{margin-top:70px}
.vsc-searchbox input{width:100%;max-width:560px;display:block;margin:0 auto 20px;padding:14px 22px;border:2px solid #cfdccf;border-radius:40px;font-size:16px;outline:none}
.vsc-searchbox input:focus{border-color:var(--vsc-green)}
@media(max-width:767px){.vsc-gallery__main{height:340px}.vsc-sec{padding:44px 0}}
.main-slider-one .tdc-slider-frame .vsc-slide__imgs img{display:block!important}
.main-header__btn,.main-header .grdeen-btn{background:var(--vsc-green)!important;color:#fff!important}
.main-header__btn::before{background:var(--vsc-navy)!important}
.sec-title__tagline{color:var(--vsc-green)!important}
.grdeen-btn{background-color:var(--vsc-green)}
.vsc-slide .grdeen-btn{background:#fff}.vsc-slide--brand .grdeen-btn{background:var(--vsc-green)}
.main-footer--two .main-footer__top .row{justify-content:space-between}
/* Chia đều các cột chân trang theo số cột thực có (3 khi chưa điền liên hệ, 4 khi đã có) */
.main-footer--two .footer-widget__col{flex:1 1 0;min-width:190px;max-width:none;width:auto;padding:0 15px}
@media(max-width:1199px){.main-footer--two .footer-widget__col{flex-basis:44%}}
@media(max-width:767px){.main-footer--two .footer-widget__col{flex-basis:100%}}

/* ===== Bổ sung cho bản PHP: bài viết, liên hệ, nội dung soạn thảo ===== */
.vsc-post-card{background:#fff;border:1px solid #e6ece7;border-radius:0 22px 0 22px;overflow:hidden;height:100%;display:flex;flex-direction:column;transition:.25s}
.vsc-post-card:hover{box-shadow:0 12px 28px rgba(20,42,79,.12);transform:translateY(-4px)}
.vsc-post-card__img{display:block;aspect-ratio:16/10;background:#f3f7f4;overflow:hidden}
.vsc-post-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.vsc-post-card:hover .vsc-post-card__img img{transform:scale(1.05)}
.vsc-post-card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.vsc-post-card__body h4{font-family:"Oswald",sans-serif;font-size:19px;margin:0;line-height:1.35}
.vsc-post-card__body h4 a{color:var(--vsc-navy)}
.vsc-post-card__body h4 a:hover{color:var(--vsc-green)}
.vsc-post-card__body p{font-size:14px;color:#647084;margin:0}
.vsc-post-card__date{font-size:13px;color:#8a968a;margin-top:auto}
.vsc-post__meta{display:flex;flex-wrap:wrap;gap:18px;color:#7a877a;font-size:14px;margin-bottom:18px}
.vsc-post__meta i{color:var(--vsc-green);margin-right:6px}
.vsc-post__thumb{margin-bottom:24px;border-radius:0 30px 0 30px;overflow:hidden}
.vsc-post__thumb img,.vsc-page__thumb img{width:100%;height:auto;display:block}
.vsc-page__thumb{margin-bottom:26px;border-radius:0 30px 0 30px;overflow:hidden}
.vsc-post,.vsc-page{max-width:900px;margin:0 auto}

/* nội dung soạn trong admin */
.vsc-richtext{font-size:16px;line-height:1.85;color:#4f5b4f}
.vsc-richtext h2,.vsc-richtext h3,.vsc-richtext h4{font-family:"Oswald",sans-serif;color:var(--vsc-navy);margin:28px 0 12px}
.vsc-richtext h2{font-size:28px}.vsc-richtext h3{font-size:23px}.vsc-richtext h4{font-size:19px}
.vsc-richtext p{margin:0 0 16px}
.vsc-richtext ul,.vsc-richtext ol{margin:0 0 16px;padding-left:22px}
.vsc-richtext li{margin-bottom:8px}
.vsc-richtext img{max-width:100%;height:auto;border-radius:10px;margin:10px 0}
.vsc-richtext a{color:var(--vsc-blue);text-decoration:underline}
.vsc-richtext blockquote{margin:18px 0;padding:14px 22px;background:var(--vsc-soft);border-left:4px solid var(--vsc-green);border-radius:0 10px 10px 0}
.vsc-richtext table{width:100%;border-collapse:collapse;margin:16px 0}
.vsc-richtext th,.vsc-richtext td{border:1px solid #dbe4dc;padding:10px 12px}
.vsc-richtext th{background:var(--vsc-soft);color:var(--vsc-navy)}
.vsc-richtext iframe{max-width:100%;aspect-ratio:16/9;height:auto;border-radius:10px}
.vsc-detail-content{margin-top:50px;max-width:900px}
.vsc-detail-content__title{font-family:"Oswald",sans-serif;color:var(--vsc-navy);font-size:24px;margin:30px 0 14px;padding-bottom:10px;border-bottom:2px solid var(--vsc-soft)}
.vsc-info__hotline{margin:-8px 0 18px;font-size:15px}
.vsc-info__hotline i{color:var(--vsc-green);margin-right:6px}

/* liên hệ */
.vsc-contact-info,.vsc-contact-form{background:#fff;border:1px solid #e1e8e2;border-left:4px solid var(--vsc-green);border-radius:0 24px 0 24px;padding:28px 26px;height:100%}
.vsc-contact-info h3,.vsc-contact-form h3{font-family:"Oswald",sans-serif;color:var(--vsc-navy);font-size:22px;margin:0 0 18px}
.vsc-contact-info ul{list-style:none;margin:0;padding:0}
.vsc-contact-info li{display:flex;gap:12px;padding:11px 0;border-bottom:1px dashed #e6ece7;font-size:15px;color:#4f5b4f}
.vsc-contact-info li:last-child{border-bottom:0}
.vsc-contact-info i{color:var(--vsc-green);width:20px;margin-top:4px}
.vsc-contact-form label{display:block;font-size:14px;font-weight:600;color:var(--vsc-navy);margin-bottom:14px;width:100%}
.vsc-contact-form label span{color:var(--vsc-red)}
.vsc-contact-form input,.vsc-contact-form textarea{width:100%;margin-top:6px;padding:11px 14px;border:1px solid #cfdccf;border-radius:10px;font:inherit;font-weight:400;outline:none;background:#fff}
.vsc-contact-form input:focus,.vsc-contact-form textarea:focus{border-color:var(--vsc-green)}
.vsc-error{color:var(--vsc-red);font-size:13px;display:block;margin:-10px 0 12px}
.vsc-alert{padding:13px 20px;border-radius:10px;margin-bottom:22px;font-weight:500}
.vsc-alert--success{background:#e6f5e6;color:#2f7d2c;border:1px solid #b9e0b7}
.vsc-alert--error{background:#fdeaea;color:#b3271c;border:1px solid #f3c2be}

/* phân trang & 404 */
.vsc-pagination{display:flex;gap:8px;justify-content:center;margin-top:40px}
.vsc-pagination a{min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #cfdccf;border-radius:50%;color:var(--vsc-navy);font-weight:600}
.vsc-pagination a:hover,.vsc-pagination a.is-active{background:var(--vsc-green);border-color:var(--vsc-green);color:#fff}
.vsc-404{font-family:"Oswald",sans-serif;font-size:96px;line-height:1;color:var(--vsc-green);margin:0 0 10px}
a.vsc-tab{display:inline-flex;align-items:center;text-decoration:none}

/* ===== Dải mạng xã hội dưới slider (bố cục lấy từ mẫu gốc) ===== */
.vsc-social-bar{width:100%;height:54px;display:flex;align-items:center;justify-content:center;background:#fff}
.vsc-social-bar__items{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:54px;margin:0;padding:0;list-style:none}
.vsc-social-bar__items a{
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;flex:0 0 34px;margin:0;padding:0;
  border-radius:50%;background:var(--vsc-blue);color:#fff;text-decoration:none;transition:.2s;
}
.vsc-social-bar__items a:hover{background:var(--vsc-green);transform:translateY(-2px)}
.vsc-social-bar__items i{color:#fff;font-size:16px}
.vsc-social-bar__items svg{display:block;width:17px;height:17px}
.vsc-social-bar__items .zalo-text{color:#fff;font:700 9px Arial,sans-serif}
/* Chữ "Zalo" ở thanh trên cùng và chân trang: kế thừa màu của nút,
   không ép trắng - nền hai chỗ này sáng nên chữ trắng sẽ mất hút. */
.topbar-one__social .zalo-text,.main-footer__social-list .zalo-text{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;font:700 9px Arial,sans-serif;color:inherit;
}
