/* Enhanced CSS for Viettel Website */

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

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    min-height: 100vh;
}

/* Header Styles */
#header-wrapper {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(220, 53, 69, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header {
    text-align: center;
    background: white;
    padding:0 10px;
    border-radius: 5px;
}

.header img {
    max-height: 45px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}
.header-inner{
    padding: 10px;
}
.header img:hover {
    transform: scale(1.03);
}

/* Menu wrapper */
.menu-wrapper {
    width: 100%;
}

#LinkList55 {
    width: 100%;
    max-width: none;
    float: none;
}

#LinkList55 li {
    opacity: 1 !important;
    font-size: inherit !important;
}

/* Navigation Menu */
.menu {
    width: 100%;
}

.menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.menu ul li {
    display: inline-block !important;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s;
}

.menu a:hover::before {
    left: 100%;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #c82333;
}
.menu a.active {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #c82333;
}

/* Banner Slider */
#slider-wrapper {
    margin: 30px 0;
    overflow: hidden;
    padding: 0 20px;
}

#slider-wrapper .widget-content {
    text-align: center;
}

#slider-wrapper img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
    transition: transform 0.4s ease;
}

#slider-wrapper img:hover {
    transform: scale(1.01);
}

/* Title Styles */
.title-viettel {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    text-align: center;
    margin: 25px 0 15px 0;
    color: #dc3545;
    position: relative;
}

.title-viettel::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #dc3545;
    border-radius: 1px;
}

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

/* Main content wrapper */
.col-md-12 {
    width: 100%;
    padding: 0;
}

.news-box2 {
    margin: 0;
    padding: 0;
}

.group-title {
    width: 100%;
}

/* Sim di dong container */
#sim-di-dong {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
}
.sim-di-dong::before{
    content: none;
}
.sim-di-dong.container.section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Widget containers */
.widget.HTML {
    width: 100%;
    margin: 0;
}

/* Data Package Cards */
.datap {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px 18px;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 53, 69, 0.1);
    overflow: hidden;
}

.datap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
}

.datap .new {
    position: absolute;
    top: 0px;
    right: 30px;
    width: 45px;
    height: 45px;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.datap ul {
    list-style: none;
    margin-bottom: 18px;
}

.datap li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: color 0.3s ease;
}

.datap li:last-child {
    border-bottom: none;
}

.datap .name a {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
}

.datap .number .big {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    line-height: 1.3;
}

/* Enhanced Button */
.datap .signup {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 80%;
    margin: 0 auto;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.datap .signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s;
}

.datap .signup:hover::before {
    left: 100%;
}

.datap .signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.datap .signup:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Sidebar titles */
.sidebar h2.title {
    background: #dc3545;
    padding: 6px;
    color: #fff;
    font-size: 16px;
    margin: 5px 0;
    border-radius: 6px;
}

#sim-di-dong .widget h2.title {
    display: none;
}

/* Footer */
.footer-main {
    padding: 40px 0 25px 0;
    color: white;
    margin-top: 50px;
}

.footer-main .widget-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-main img {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(1.1);
    border-radius: 15px;
}

.social-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.social-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.social-list li a:hover .social-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.hotline {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.hotline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    #header-wrapper .container {
        padding: 0 15px;
    }
    
    .menu ul {
        align-items: center;
        gap: 6px;
    }
    
    .menu a {
        font-size: 12px;
        padding: 7px 12px;
        width: auto;
        text-align: center;
    }
    
    .sim-di-dong.container.section {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .datap {
        margin: 0;
    }
    
    .social-list {
        gap: 12px;
    }
    
    .title-viettel {
        font-size: 20px;
        margin: 20px 0 12px 0;
    }
    
    #slider-wrapper {
        margin: 20px 0;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .sim-di-dong.container.section {
        padding: 15px 10px;
    }
    
    .datap {
        padding: 18px 15px;
    }
    
    .datap .signup {
        width: 100%;
        font-size: 13px;
        padding: 10px 18px;
    }
    
    .menu ul {
        gap: 5px;
    }
    
    .menu a {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .title-viettel {
        font-size: 18px;
    }
    
    #slider-wrapper {
        padding: 0 10px;
    }
}

.single-wrapper-left{
    max-width: 1000px;
    margin: auto;
}