/*
Theme Name: Manh Cuong Digital
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#logo {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.stuck #logo img {
    max-height: 55px !important;
}

@media (max-width: 549px) {
    .header-main {
        height: 90px!important;
    }
}

#logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: pnv-shine 5s infinite;
}
#logo img {
    max-height: 80px!important;
}

@keyframes pnv-shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

video {
    width: 600px;
    margin-top: -35px;
}

/* Hiệu ứng Gradient chuyển động cho section dự án */
.rowduanweb, .rowdichvu {
    /* Tạo dải màu Gradient (anh có thể thay đổi mã màu tại đây) */
    background: linear-gradient(-45deg, #fb9273ab, #56e8ff82, #4681ff82, #ffa45682, #d4a7f78f, #a6ffeaa3);
    
    /* Kéo dãn background ra 400% để tạo không gian trượt màu */
    background-size: 400% 400% !important;
    
    /* Kích hoạt animation */
    animation: pnvGradientBG 10s ease infinite !important;
    
    /* Đảm bảo nội dung bên trong nổi bật */
    position: relative;
}

/* Định nghĩa chuyển động trượt dải màu */
@keyframes pnvGradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.S1C1, .S1C3 {
	font-size: 16px;
}

.col, .columns, .gallery-item{
	padding: 0 15px 0px!important;
}

.accordion-title{
	font-size: 100%!important;
}

.AC1{
	border: 1px solid #2d94e0;
}
.AC1 a, .AC1 a.active{
	background-image: linear-gradient(to right, #268dff, #693fcf);
    color: white;
    font-weight: bold;
}

.AC2{
	border: 1px solid #ff7dc0;
}
.AC2 a, .AC2 a.active{
	background-image: linear-gradient(to right, #e956a9, #693fcf);
    color: white;
    font-weight: bold;
}

.AC3{
	border: 1px solid #f3a13c;
}
.AC3 a, .AC3 a.active{
	background-image: linear-gradient(to right, #f3a13c, #ff744c);
    color: white;
    font-weight: bold;
}

.AC4{
	border: 1px solid #0f9100;
}
.AC4 a, .AC4 a.active{
	background-image: linear-gradient(to right, #0f9100, #31b4c9);
    color: white;
    font-weight: bold;
}

.AC5{
	border: 1px solid #ffadf9;
}
.AC5 a, .AC5 a.active{
	background-image: linear-gradient(to right, #ffadf9, #75ecff);
    color: white;
    font-weight: bold;
}

<style>
.noidung11 { padding: 60px 0; background: #f7f7f7; overflow: hidden; }
.noidung11 .title_blockPagetk .name { color: #004a99; font-weight: bold; text-align: center; margin-bottom: 20px; font-size: 28px; line-height: 1.3; }

/* Cấu trúc iMac 100% giống mẫu */
.imac-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
	height: 330px;
}

.imac-bg {
    background-image: url('https://phuongnamvina.com/templates/images/imac.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 420px; /* Điều chỉnh phù hợp tỷ lệ ảnh */
    position: relative;
    z-index: 10; /* Nằm trên ảnh sản phẩm */
    pointer-events: none;
}

.imac-container .inner {
    position: absolute;
    top: 34%;
    left: 10.3%;
    width: 79.4%;
    height: 57%;
    z-index: 15;
    overflow: hidden;
    background: #fff;
}

/* Hiệu ứng ảnh trượt tự động mượt mà */
.img_bob1 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    animation: pnvScroll 15s linear infinite;
}

@keyframes pnvScroll {
    0% { transform: translateY(0); }
    50% { transform: translateY(calc(-100% + 250px)); } /* 250px là vùng nhìn thấy của màn hình */
    100% { transform: translateY(0); }
}

/* Dừng khi rê chuột */
.imac-container:hover .img_bob1 {
    animation-play-state: paused;
}

/* Style cho text và nút giống mẫu */
.swp-container h3 { text-align: center; color: #004a99; font-size: 18px; margin-top: 15px; font-weight: bold; }
.df-action-theme { text-align: center; margin-top: 40px; }
.lienhhe-fixv1 { background: #2c5d8a; color: #fff !important; padding: 12px 30px; border-radius: 5px; margin-right: 15px; display: inline-block; font-weight: bold; }
.btn_tk_vt { border: 2px solid #2c5d8a; color: #2c5d8a !important; padding: 10px 30px; border-radius: 5px; display: inline-block; font-weight: bold; }

/* Custom Swiper Buttons */
.swiper-theme-next, .swiper-theme-prev { color: #004a99 !important; font-weight: bold; }
</style>

/*************** dich vu  ***************/
<style>
/* ===== SECTION ===== */
div#col-154137639 {
    padding: 0px !important;
}
.services-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
	padding: 15px;
}

/* ===== CARD ===== */
.services-section .service-item {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgb(255 151 0 / 22%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ===== ICON ===== */
.services-section .icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-section .icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ===== TEXT ===== */
.services-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.services-section p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  text-align: left!important;
}
/* ===== HOVER (chỉ desktop) ===== */
@media (hover: hover) {
  .services-section .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }
}

/* ===== MOBILE TỐI ƯU ===== */
@media (max-width: 600px) {
  .services-section {
    gap: 16px;
  }

  .services-section{
    padding-top: 10px;
    grid-template-columns: repeat(2, 1fr) !important;
  }
	.services-section .service-item {
  padding: 10px;
	}
	  .services-section .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }
  .services-section .icon {
    width: 50px;
    height: 50px;
  }

  .services-section .icon svg {
    width: 22px;
    height: 22px;
  }

	video {
		width: 370px !important;
		margin-top:0px;
  }
	
}
</style>
/*************** dich vu  ***************/

.whyme-pro {
  padding: 80px 0;
}

.whyme-container {
  display: flex;
  align-items: center;
}

/* LEFT */
.whyme-left {
  flex: 1;
}

.whyme-left h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #ff7a18;
}

.whyme-left .desc {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* LIST */
.whyme-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.whyme-list li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* CTA */
.whyme-cta a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  margin-right: 10px;
  font-weight: 600;
  text-decoration: none;
}
.whyme-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.whyme-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* PRIMARY */
.btn-primary {
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  color: #fff !important;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,122,24,0.4);
}

/* OUTLINE */
.btn-outline {
  border: 2px solid #ff7a18;
  color: #ff7a18 !important;
  background: transparent;
}

.btn-outline:hover {
  background: #ff7a18;
  color: #fff !important;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  color: #fff;
}

/* OUTLINE */
.btn-outline {
  border: 2px solid #ff7a18;
  color: #ff7a18;
}

/* RIGHT */
.whyme-right {
  flex: 1;
}

/* STATS */
.stats {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.stat {
  flex: 1;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #ff7a18;
}

.stat h3 {
  font-size: 28px;
  color: #ff7a18;
}

/* TESTIMONIAL */
.testimonial {
  padding: 25px;
  border-radius: 12px;
  background: #f9f9f9;
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #999;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .whyme-container {
    flex-direction: column;
	  padding: 15px;
  }
}

.cv-pro {
  display: flex;
  gap: 30px;
}

/* SIDEBAR */
.cv-sidebar {
  width: 57%;
}

.cv-item {
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: 0.4s;
}

/* gradient */
.cv-item:nth-child(1){background:linear-gradient(90deg,#3a7bd5,#6a11cb);}
.cv-item:nth-child(2){background:linear-gradient(90deg,#ff5f6d,#ffc371);}
.cv-item:nth-child(3){background:linear-gradient(90deg,#f7971e,#ffd200);}
.cv-item:nth-child(4){background:linear-gradient(90deg,#00b09b,#96c93d);}
.cv-item:nth-child(5){background:linear-gradient(90deg,#56ccf2,#2f80ed);}

.cv-item span {
  font-weight: bold;
  margin-right: 10px;
}

/* ACTIVE */
.cv-item.active {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* RIGHT */
.cv-content-wrap {
  width: 65%;
  position: relative;
}

/* PANEL */
.cv-panel {
  display: none;
  animation: fadeSlide 0.5s ease;
}

.cv-panel.active {
  display: block;
}

@keyframes fadeSlide {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}

/* STATS */
.cv-stats {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.cv-stats div {
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  text-align: center;
}

.cv-stats b {
  display: block;
  font-size: 20px;
  color: #ff7a18;
}

/* SKILL BAR */
.skill {
  margin-top: 5px;
}

.bar {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#ff7a18,#ffb347);
}
/* MOBILE giữ layout desktop */
@media (max-width: 768px) {

  .cv-pro {
    flex-direction: row; /* ❗ không xuống dòng */
    gap: 10px;
  }

  /* LEFT nhỏ lại */
  .cv-sidebar {
    width: 45%;
  }

  .cv-item {
    font-size: 12px;
    padding: 10px;
    margin-bottom: 8px;
  }

  .cv-item span {
    display: block;
    font-size: 10px;
  }

  /* RIGHT lớn hơn */
  .cv-content-wrap {
    width: 55%;
  }

  .cv-panel h3 {
    font-size: 16px;
  }

  .cv-panel p {
    font-size: 13px;
  }

  /* stats nhỏ lại */
  .cv-stats {
    gap: 8px;
  }

  .cv-stats b {
    font-size: 16px;
  }

  /* skill nhỏ */
  .skill label {
    font-size: 12px;
  }

}


/* WRAP */
.trust-box {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  margin-top: 60px;
}

/* CARD */
.trust-item {
  background: radial-gradient(circle at top left, rgba(255, 122, 24, 0.15), #b3060600 60%);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* subtle gradient glow */
.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgb(255 122 24 / 25%), #cd000026 60%);
  opacity: 0;
  transition: 0.4s;
}

.trust-item:hover::before {
  opacity: 1;
}

/* hover nâng card */
.trust-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ICON */
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg,#ff7a18,#ffb347);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.trust-icon svg {
  width: 20px;
  fill: #fff;
}

/* TITLE */
.trust-item h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #111;
}

/* TEXT */
.trust-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* HOVER TEXT EFFECT */
.trust-item:hover h4 {
  color: #ff7a18;
}

@media (max-width: 768px) {
  .trust-box {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/*************** Ngôn Ngữ  ***************/
<style>
.tools-section {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.tools-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
}

.tool-group {
  margin-bottom: 40px;
}

.tool-group h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #666;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.tool-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

/* Logo giữ nguyên màu */
.tool-item img {
  height: 34px;
  margin-bottom: 8px;
  transition: 0.3s;
}

/* Text */
.tool-item span {
  display: block;
  font-size: 13px;
  color: #333;
}

/* HOVER */
.tool-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  border-color: #dbeafe;
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.08);
}

/* Glow nhẹ */
.tool-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,123,255,0.15), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.tool-item:hover::before {
  opacity: 1;
}
</style>
/*************** Ngôn Ngữ  ***************/


/*************** Dự án ảnh  ***************/
.ai-slider {
  padding: 40px 0;
  background: #f9fafc;
}

/* CARD */
.ai-card {
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}

.ai-card img {
  width: 100%;
  display: block;
  transition: 0.4s;
}

/* HOVER */
.ai-card:hover img {
  transform: scale(1.08);
}

/* SLIDE SIZE */
.aiSwiper .swiper-slide {
  width: 280px;
}
/*************** Dự án ảnh  ***************/


/*************** Dự án Video  ***************/

/* SLIDE WIDTH */
.aiVideoSwiper .swiper-slide {
  width: 250px;
	padding: 10px;
}

/* CARD */
.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

/* VIDEO */
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOVER */
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 20px rgba(0,0,0,0.15);
}

/* PLAY ICON */
.video-card::after {
  content: "▶";
  position: absolute;
  font-size: 16px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s;
}

.video-card:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
.aiVideoSwiper .swiper-slide {
    width: 100%;
    padding: 0px;
}
}
/*************** Dự án Video  ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}