*, *::before, *::after {
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
a {
  text-decoration: none;
  color: #E2725B;
  transition: color 0.3s ease;
}
a:hover {
  color: #40E0D0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
header {
  background-color: #fff;
  padding: 15px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
#logo {
  width: 80px;
  height: 80px;
  transition: transform 0.8s ease-in-out;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
   }
    to {
        transform: rotate(360deg);
   }
}
.logo-container:hover #logo {
  animation: rotate 2s linear infinite;
}
.site-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #E2725B;
  margin-left: 15px;
}
nav {
  margin-top: 0;
}
.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
.main-menu > li {
  margin: 0 15px;
  position: relative;
}
.main-menu > li > a {
  display: block;
  padding: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.main-menu > li:hover > a {
  background-color: #E2725B;
  color: #fff;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  min-width: 200px;
  z-index: 110;
}
.main-menu > li:hover .sub-menu {
  display: block;
  animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sub-menu li {
  border-bottom: 1px solid #eee;
}
.sub-menu li a {
  display: block;
  padding: 10px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sub-menu li:hover a {
  background-color: #f5f5f5;
  color: #E2725B;
}
.hero-section {
  text-align: center;
  padding: 50px 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.9)), url('consen.vn-7.png') no-repeat center / cover;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #E2725B;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}
.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  padding: 50px 0;
}
.section-content:nth-child(even) {
    flex-direction: row-reverse;
}
.content-left, .content-right {
  width: 48%;
}
.section-heading {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}
.section-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.lazy-load {
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.8;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px; 
    width: auto;
    object-fit: cover;
    object-position: center;
}
.content-left .lazy-load {
    margin-right: 10px;
}
.content-right .lazy-load {
    margin-left: 10px;
}
.lazy-load:hover {
    transform: scale(1.05);
    opacity: 1;
}
.contact-form {
  text-align: center;
  padding: 50px 0;
  background-color: #f2f2f2;
}
.contact-form .section-heading {
  margin-bottom: 30px;
}
.contact-form form {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
.contact-form textarea {
  resize: vertical;
}
.contact-link {
  background-color: #E2725B;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-link:hover {
  background-color: #40E0D0;
}
.partner-sponsor-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 60px 30px;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.sponsor-badge {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}
.badge-content {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-icon {
    background: #ff6b6b;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}
.sponsor-content {
    max-width: 850px;
    text-align: center;
}
.sponsor-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
}
.sponsor-link {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.sponsor-link:hover {
    color: #ff4757;
}
.sponsor-desc {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}
.sponsor-link-strong {
    color: #333;
    text-decoration: none;
    font-weight: 800;
}
.sponsor-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.service-link {
    background: #fff;
    border: 1px solid #e1e4e8;
    padding: 12px 20px;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-color: currentColor;
}
.s-fb { color: #1877f2; }
.s-ig { color: #e1306c; }
.s-tt { color: #000000; }
.s-tw { color: #1da1f2; }
.s-yt { color: #ff0000; }
.s-th { color: #000000; }
.s-tg { color: #0088cc; }
.s-sp { color: #ee4d2d; }
.s-lz { color: #0f136d; }
.sponsor-extra {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
}
.extra-title {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 15px;
    font-weight: 700;
}
.extra-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}
.extra-link {
    color: #ff6b6b;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding: 0 2px;
}
.extra-link:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6b6b;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.extra-link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.site-footer {
    background-color: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #dee2e6;
    color: #495057;
}
.footer-copy {
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 600;
}
.strategic-partners {
    padding: 60px 0;
    background-color: #fff;
    margin-top: 50px;
    border-top: 1px solid #eaeaea;
}
.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.sp-heading {
    text-align: center;
    font-size: 2.2rem;
    color: #E2725B;
    margin-bottom: 15px;
}
.sp-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.8;
}
.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.sp-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}
.sp-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}
.sp-link {
    color: #E2725B;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}
.sp-link:hover {
    color: #40E0D0;
    text-decoration: underline;
}
.footer-credit {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 20px;
}
.fc-link {
    color: #6c757d;
    font-weight: 600;
    transition: color 0.2s ease;
}
.fc-link:hover {
    color: #343a40;
}
.section-1 .content-right, .section-3 .content-right {
  display: flex;
  flex-direction: column;
}
.section-2 .content-left, .section-4 .content-left, .section-4 .content-right  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}
.section-4 .content-right, .section-4 .content-left {
  flex: 1;
  min-width: 45%; 
  max-width: 45%; 
}
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    header {
        flex-direction: column;
        padding: 15px;
    }
    .logo-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }
    .site-name{
        margin-left: 0;
    }
    .main-menu {
        flex-direction: column;
        align-items: center;
    }
    .main-menu > li {
        margin: 10px 0;
    }
    .sub-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }
    .main-menu > li:hover .sub-menu {
        display: block;
    }
    .section-content {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .content-left, .content-right {
        width: 100%;
        margin-bottom: 20px;
    }
    .section-4 .content-left,
    .section-4 .content-right {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    .section-heading {
        font-size: 1.8rem;
    }
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 0.9rem;
    }
    .contact-link {
        font-size: 1rem;
    }
    .lazy-load {
        max-height: 200px;
    }
}
