 :root {
            --primary-color: #A52A2A;
            --secondary-color: #A52A2A;
            --text-color: #4a4a4a;
            --light-text-color: #9b9b9b;
            --bg-light: #f5f5f5;
            --bg-dark: #333;
            --card-bg: #fff;
            --border-color: #e0e0e0;
        }

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

        body {
            font-family: 'Roboto', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            background-color: var(--bg-light);
            
        }
       

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .header {
            background-color: var(--card-bg);
            padding: 20px 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            }

        /* Ẩn menu mặc định trên mobile */
        .nav-links {
        display: none;
        }

        /* Chỉ hiện khi có class .show */
        .nav-links.show {
        display: flex;
        }

        @media (max-width: 768px) {
        .nav-links {
            flex-direction: column;
            background: #fff;
            position: absolute;
            top: 60px;
            right: 20px;
            width: 220px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            padding: 15px;
            z-index: 9999;   /* đảm bảo nổi lên trên cùng */
        }

        .menu-toggle {
            display: block;
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 28px;
            color: var(--primary-color);
            cursor: pointer;
            z-index: 10000; /* luôn ở trên cùng */
        }
        }



        .logo {
            font-weight: 700;
            font-size: 24px;
            color: var(--primary-color);
        }

        .navbar ul {
            list-style: none;
            display: flex;
            align-items: center;
        }

        .navbar ul li {
            margin-right: 20px;
        }

        .navbar a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s ease;
        }
        /* Mobile */
        @media (max-width: 768px) {
        .navbar ul {
            display: none; /* ẩn hẳn khi load */
            flex-direction: column;
        }

        .navbar ul.show {
            display: flex; /* chỉ hiện khi toggle */
        }
        }

        @media (max-width: 768px) {
        .hero-content {
            flex-direction: column;
            text-align: center;
        }

        .hero-content .image-content {
            order: 2; /* hình xuống dưới */
        }

        .hero-content .text-content {
            order: 1; /* text lên trên */
        }
        }

        /* Mobile: chuyển sang 1 cột */
        @media (max-width: 992px) {
        .teachers-grid {
            grid-template-columns: 1fr !important;   /* xuống thành cột dọc */
            gap: 20px;
            justify-items: center;        /* căn giữa box */
        }

        .teacher-card {
            width: 100%;
            max-width: 440px;             /* hạn chế chiều ngang */
        }
        }


        @media (max-width: 768px) {
        .contact-flex {
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }

        .contact-item {
            width: 100%;
            justify-content: flex-start;
        }
        }

        
        .navbar a:hover {
            color: var(--primary-color);
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: #fff !important;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 700;
            transition: background-color 0.3s ease;
            display: inline-block;
            text-decoration: none;
        }

        .teacher-bio {
            list-style-type: disc;
            margin: 10px 0 0 20px;
            padding: 0;
            text-align: left;
        }

        .teacher-bio li {
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 5px;
            color: var(--text-color);
        }

        .btn-primary:hover {
            background-color: #6a0000;
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: #fff;
        }

        .hero-section {
            background-color: #fff;
            padding: 80px 0;
        }

        .hero-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .hero-content .text-content {
            flex: 1;
        }

        .hero-content h1 {
            font-size: 48px;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-content p {
            font-size: 18px;
            margin-bottom: 30px;
        }

        .hero-content .image-content {
            flex: 1;
            text-align: right;
        }

        .hero-image {
            width: 100%;
            max-width: 500px;
        }

       .about-wyler-section {
            position: relative;
            padding: 60px 0;
            background-color: #a32222;
            overflow: hidden;
            z-index: 0;
        }

        /* Ảnh bên trái */
        .about-wyler-section::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;       /* đảm bảo kéo full từ trên xuống dưới */
            left: 0;
            width: 200px;    /* hoặc to hơn nếu muốn */
            background: url("img/aboutus2.png") no-repeat center left;
            background-size: cover;  /* kéo phủ full chiều cao */
            opacity: 0.6;
            z-index: 1;
        }

        /* Ảnh bên phải */
        .about-wyler-section::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;
            width: 200px;
            background: url("img/aboutus3.png") no-repeat center right;
            background-size: cover;
            opacity: 0.6;
            z-index: 1;
        }

        /* Nội dung trắng nổi trên */
        .about-wyler-section .container {
            position: relative;
            z-index: 2;
        }


        .about-wyler-section h2 {
            color: #fff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            text-align: center;
        }

        @media (max-width: 768px) {
          .stats-grid {
            grid-template-columns: 1fr;   /* mỗi hàng 1 box */
            gap: 15px;
            justify-items: center;        /* căn giữa box */
        }

        .stats-grid .stat-item {
            width: 90%;                   /* box nhỏ lại */
            max-width:400px;             /* giới hạn max để không quá to */
        }
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 40px 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .stat-item h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--primary-color);
            margin: 10px 0 5px 0; /* Giảm khoảng cách trên và dưới */
        }

        .stat-item p {
            font-size: 16px;
            color: var(--text-color);
        }

        .stat-icon-wrapper {
            background-color: var(--secondary-color);
            border-radius: 50%;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            position: relative;
            /* Chỉnh sửa để icon gần h2 hơn */
            transform: translateY(-10px); 
        }

        .stat-icon {
            color: #fff;
            stroke-width: 1.5;
            width: 40px;
            height: 40px;
        }
/* Kết thúc style cho phần About Us mới */

        .companies-section {
            padding: 60px 0;
            background-color: #fff;
        }

        .company-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        .company-logos img {
            height: 80px;
            filter: grayscale(100%);

        }

        .company-logos img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }
/* Kết thúc style cho phần About Us mới */
       /* Style cho phần "Có thể bạn muốn xem thêm" đã cập nhật */
        .related-section {
            padding: 80px 0;
            background-color: #fff;
            text-align: center;
        }

        .related-title {
            color: var(--primary-color);
            font-size: 36px;
            margin-bottom: 40px;
            font-weight: 700;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .related-card {
            position: relative;
            background-color: var(--card-bg);
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: left;
            border: 1px solid #f0f0f0;
        }

        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }
        
        .related-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: #A52A2A;
            color: #fff;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 500;
            border-radius: 5px;
            text-transform: uppercase;
            z-index: 10;
        }
            .related-card img.related-image {
            width: 100%;
            max-height: 180px;
            object-fit: cover;
            border-radius: 12px; /* bo tròn góc */
            margin-bottom: 12px;
            }

        .related-image-placeholder {
            background-color: #fff;
            height: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #A52A2A;
            font-size: 1.2rem;
            font-weight: 700;
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }
        
        .related-image-placeholder h2 {
            font-size: 2rem;
            color: #A52A2A;
            margin-bottom: 0;
        }

        .related-info {
            padding: 20px;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .related-info h3 {
            font-size: 20px;
            font-weight: 700;
            margin: 10px 0 10px;
            color: var(--text-color);
            min-height: 50px;
            line-height: 1.3;
        }

        .related-info p {
            font-size: 14px;
            color: var(--light-text-color);
            line-height: 1.5;
            flex-grow: 1;
        }

        .related-date {
            font-size: 12px;
            color: var(--light-text-color);
            text-transform: uppercase;
            font-weight: 500;
        }

        
         .btn-read-more {
            display: inline-flex;
            align-items: center;
            text-color: var(--primary-color);
            font-weight: 500;
            text-decoration: none;
            margin-top: 15px;
            transition: color 0.3s ease;
        }

        .btn-read-more:hover {
            color: #881e1e;
        }

        .related-cta {
            margin-top: 40px;
        }

        .related-cta .btn-primary {
            padding: 12px 30px;
            font-size: 16px;
        }
        
        .teachers-section, .cta-form-section, .related-section {
            padding: 60px 0;
        }

       .courses-section {
        padding: 60px 0;
        background-color: #fff;
        background-image: url("img/coursesection-decor.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        }

        .teachers-section {
        background-color: #fff;    
        }

        










        h2 {
            text-align: center;
            font-size: 36px;
            margin-bottom: 40px;
            color: var(--primary-color);
        }

        /* H2 trong trang bài viết */
        body.post-page h2 {
        text-align: left;
        }

        /* H2 trong index.html (không có class .post-page) */
        body:not(.post-page) h2 {
        text-align: center;
        }
        .related-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .related-header h2 {
            margin-bottom: 0;
            text-align: left;
        }

        .related-header .view-more {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--primary-color);
            font-weight: 500;
            gap: 5px;
        }

        .courses-grid, .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        /* Trainer grid mặc định (desktop: 3 cột) */

        .teachers-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        }
       
        .course-card, .teacher-card, .related-card {
            background-color: var(--card-bg);
            border-radius: 10px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            transition: transform 0.3s ease;
        }
    /* Cập nhật style cho thẻ khóa học để phù hợp với hình ảnh */
        .course-card {
            background-color: #fff;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
.course-header {
    position: relative;
    color: #fff;
    padding: 40px 20px;
    text-align: left;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* Ảnh nền */
.course-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cover) center/cover no-repeat;
    filter: blur(1px) brightness(0.5);
    z-index: 1;
}

/* Lớp overlay đen để text rõ hơn */
.course-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

.course-header .header-content {
    position: relative;
    z-index: 3;
}

.course-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 15px 0 0;
    color: #fff;
}

.course-header .tag {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.course-header .course-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 1rem;
    color: #fff;
}

        .course-header .course-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .course-header .course-meta span i.icon {
            font-style: normal;
        }

        .course-info {
            padding: 30px;
            text-align: left;
        }

        .course-info h3 {
            font-size: 1.5rem;
            margin-top: 0;
            color: var(--primary-color);
        }

        .course-info p {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
            min-height: 80px;
        }
        
        .course-details {
            margin-top: 20px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
        }

        .course-details ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .course-details li {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .course-details li i.icon {
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .course-buy-area {
            display: flex;
            justify-content: flex-end;
            margin-top: 20px;
        }
            .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            justify-content: center;
        }
  
        .course-card:hover, .teacher-card:hover, .related-card:hover {
            transform: translateY(-5px);
        }

        .course-image, .teacher-image, .related-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }

        .teacher-info, .related-info {
            padding: 20px;
            text-align: center;
        }

        .related-info {
            text-align: left;
        }

        .related-info h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .related-info p {
            color: var(--light-text-color);
            margin-bottom: 15px;
        }

        .course-info h3, .teacher-info h3 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .teacher-info h3 {
            margin-bottom: 5px;
        }

        .course-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            color: var(--light-text-color);
            justify-content: center;
        }

        .course-meta .icon {
            font-size: 18px;
        }

        .course-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .btn-read-more {
        background-color: #fff;   /* nền trắng */
        color: var(--primary-color); /* chữ thành màu đỏ (giữ màu chủ đạo của bạn) */
            border: none;
            padding: 10px 10px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s ease;
            width: 100%;
        }

        .btn-read-more:hover {
            color: #B80000;
            background-color: #fff;   /* nền trắng */

        }

        .btn-buy {
            background-color: var(--secondary-color);
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .btn-buy:hover {
            background-color: #f7a33e;
        }

        .cta-form-section {
            background-color: #fff;
            text-align: center;
            padding: 60px 0;
        }

        .cta-form-section h2 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .cta-form {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .cta-form input {
            width: 300px;
            padding: 12px 20px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-size: 16px;
        }

        .footer {
            background-color: var(--bg-dark);
            color: #fff;
            padding: 40px 0;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-links {
            display: flex;
            gap: 50px;
        }

        .footer-col h4 {
            font-size: 18px;
            margin-bottom: 15px;
            position: relative;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            height: 2px;
            width: 30px;
            background-color: var(--secondary-color);
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-col ul li a:hover {
            color: var(--secondary-color);
        }

        .social-media a img {
            width: 30px;
            height: 30px;
            margin-left: 10px;
        }

        .copyright {
            text-align: center;
            margin-top: 30px;
            font-size: 14px;
            color: #ccc;
        }

        /* Hiệu ứng mới */
        .fade-in-up {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
            will-change: opacity, transform;
        }

        .fade-in-up.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* CSS cho phần Phản hồi học viên (Slider) */
        .testimonial-section {
            padding: 60px 0;
            background-color: #f5f5f5;
            text-align: center;
        }

        .testimonial-container {
            position: relative;
            margin: 0 auto;
            overflow: hidden;
        }

        .testimonial-slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .testimonial-slide {
            flex-shrink: 0;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .testimonial-text-column {
            flex: 1;
            padding: 0 40px;
            max-width: 800px;
        }
        
        .testimonial-text {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            text-align: left;
            position: relative;
        }

        .testimonial-text p {
            font-style: italic;
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: var(--text-color);
        }

        .testimonial-author {
            text-align: right;
        }

        .testimonial-author h4 {
            font-weight: 700;
            font-size: 1rem;
            color: var(--primary-color);
            margin: 0;
        }

        .testimonial-author span {
            font-size: 0.9rem;
            color: var(--light-text-color);
        }

        .testimonial-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            pointer-events: none;
        }
        
        .testimonial-nav .nav-btn {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            pointer-events: auto;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .testimonial-nav .nav-btn:hover {
            background-color: #A52A2A;
        }

        .testimonial-dots {
            text-align: center;
            margin-top: 20px;
        }

        .testimonial-dots .dot {
            height: 12px;
            width: 12px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .testimonial-dots .dot.active {
            background-color: var(--primary-color);
        }

        .post-content {
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.7;
}

.post-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.post-content h2 {
  margin-top: 30px;
  color: #b22222;
}

.post-container {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
}

.post-content {
  flex: 3;
}

.post-sidebar {
  flex: 1;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}

.related-section {
  padding: 40px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.related-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 16px;
}
.related-card h3 {
  font-size: 18px;
  margin: 10px 0;
}
.related-card p {
  font-size: 14px;
  color: #555;
margin-bottom: 8px; /* giảm khoảng cách xuống */

}

.related-card .btn-read-more {
  margin-top: 0;  /* bỏ khoảng trống trên */
  display: inline-block;
}

.related-card .related-info {
  padding: 0 0 16px; /* lùi vào trong cho gọn */
}

            .contact-section {
            padding: 60px 20px;
            background: #fff;
            text-align: left;
            }
            .contact-section h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #A52A2A;
            margin-bottom: 40px;
            }
            .contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            }
            .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            }
            .contact-item .icon {
            flex-shrink: 0;
            }
            .contact-info strong {
            font-size: 1rem;
            color: #333;
            }
            .contact-info p {
            margin: 5px 0 0;
            color: #555;
            }
            .contact-info a {
            color: #A52A2A;
            text-decoration: none;
            }
            .contact-info a:hover {
            text-decoration: underline;
            }

            /* Responsive */
            @media (min-width: 768px) {}
            .contact-grid {
                grid-template-columns: repeat(2, 1fr);
            }

.contact-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;

}


.contact-flex {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1px;
  min-width: 220px;
}

.contact-item .icon {
  font-size: 1.8rem;
  color: #1d4ed8;
  flex-shrink: 0;
}

.contact-info strong {
  font-size: 1rem;
  color: #333;
  display: block;
  margin-bottom: 4px;
  text-align: left; 
}

.contact-info p, 
.contact-info a {
  font-size: 0.95rem;
  color: #555;
  text-align: left; 
  margin: 0;
  text-decoration: none;
}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit; /* giữ màu chữ gốc */
  font-weight: 600;
}

.logo-img {
  height: 34px;   /* chỉnh kích thước logo theo ý */
  margin-right: 9px;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* Blog Page Style */
        .blog-section {
            padding: 60px 0;
            background-color: #fff;
        }

        .blog-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .blog-header h1 {
            font-size: 48px;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .blog-meta {
            color: var(--light-text-color);
            font-size: 16px;
        }

        .blog-author {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 15px;
        }

        .blog-author-image {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
        }

        .blog-author-info span {
            display: block;
            font-size: 14px;
        }

        .divider {
            border: 0;
            height: 1px;
            background-color: var(--border-color);
            margin: 20px auto;
            width: 50%;
        }

        .blog-image-wrapper {
            margin: 0 auto 40px;
            max-width: 800px;
            text-align: center;
        }

        .blog-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }
        
        .placeholder-image {
            background-color: #f0f0f0;
            height: 400px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light-text-color);
            font-size: 24px;
            font-style: italic;
            border-radius: 10px;
        }

        .blog-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .blog-content h2,
        .blog-content h3 {
            color: var(--primary-color);
            margin-top: 30px;
            margin-bottom: 15px;
        }
        .blog-content h2 {
            font-size: 32px;
        }

        .blog-content p {
            margin-bottom: 20px;
            text-align: justify;
        }

        .blog-content ul {
            list-style: disc;
            margin-left: 20px;
            margin-bottom: 20px;
        }

        .blog-content li {
            margin-bottom: 10px;
        }

        .contact-section {
            position: relative;
            padding: 60px 20px;
            background-color: #fff;
            overflow: hidden;
            z-index: 0;
            }

/* Ảnh trái */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 400px;
  background: url("img/contactleft.png") no-repeat center left;
  background-size: contain; /* giữ tỉ lệ ảnh */
  opacity: 0.7;
  z-index: 1;
}

/* Ảnh phải */
.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 400px;
  background: url("img/contactright.png") no-repeat center right;
  background-size: contain;
  opacity: 0.7;
  z-index: 1;
}
.iconcontact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #ffe3e3;
  overflow: hidden; /* đảm bảo ảnh không bị tràn ra ngoài */
}
.contact-info a {
  text-decoration: none !important;   /* bỏ gạch dưới */
  color: #af4246;          /* giữ màu đỏ như cũ */
  font-weight: 500;        /* nếu muốn nổi bật hơn */
}

.contact-info a:hover {
  text-decoration: underline; /* optional: chỉ underline khi hover */
}

.iconcontact img {
  width: 60%;   /* hoặc 24px tuỳ chỉnh */
  height: auto;
  object-fit: contain;
}

/* Container chính */
.contact-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #a32222;
  text-align:center;
  text-transform: capitalize;
}

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  min-width: 220px;
  text-align: left;
}

.contact-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-item a {
  color: #a32222;
  text-decoration: underline;
}

.icon {
  font-size: 1.5rem;
}

/* Divider dọc */
.divider {
  width: 2px;
  height: 40px;
  background-color: #a32222;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-section::before,
  .contact-section::after {
    display: none; /* ẩn 2 ảnh khi màn nhỏ để tránh che */
  }

  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .divider {
    display: none;
  }
}
