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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #F2F2F2;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.wrapper {
    width: 960px;
    margin: 0 auto;
}


.hero-banner {
    background-color: #fff;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 960px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 130px;
    width: 45px;
    height: 45px;
    margin-top: -20px;
    font-size: 70px;
    font-weight: 300;
    line-height: 30px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #222;
    border: 3px solid #fff;
    border-radius: 23px;
    opacity: .5;
    z-index: 10;
}

.carousel-control.left {
    left: 15px;
}

.carousel-control.right {
    right: 15px;
}

.carousel-control:hover {
    opacity: .8;
}

.dots {
    position: absolute;
    top: 15px;
    right: 2%;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
}

main {
    padding-bottom: 40px;
}

.process-section {
    background-color: #fff;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.process-section h2 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #bebebe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
}

.icon-box img {
    width: 80px;
}

.arrow {
    font-size: 24px;
    color: #ccc;
    position: relative;
    top: -10px;
}

.step p {
    font-size: 14px;
    color: #333;
}

.action-bar {
    background-color: #E31837;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.btn-outline {
    width: 130px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.grid-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background: #fff;
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
}

.card h3 {
    text-align: center;
    padding: 15px 0;
    height: 90px;
    font-size: 20px;
    color: #555;
    margin: 0 15px;
}

.card-content {
    padding: 20px;
    min-height: 160px;
    position: relative;
}

.center-align {
    text-align: center;
}

.border-teal { border-top: 4px solid #00B5B5; }
.border-pink { border-top: 4px solid #D40055; }
.border-green { border-top: 4px solid #88C540; }
.border-red { border-top: 4px solid #E31837; }

.bullet-list {
    margin-bottom: 20px;
}

.bullet-list.two-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.bullet-list.two-col li {
    width: 50%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}
.bullet-list.two-col li:hover{
    text-decoration: underline;
}
.bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 8px;
}

.more-link {
    display: block;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 10px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
}

.more-link:hover {
    text-decoration: underline;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: -40px;

}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.social-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}

.news-list li {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    position: relative;
    top: -40px;
}
.news-list li span {
    cursor: pointer;
}
.news-list li:hover span{
    color: #e31836;
}

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

.btn-red, .btn-teal {
    min-width: 120px;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.btn-red { background-color: #E31837; }
.btn-teal { background-color: #00B5B5; }

.btn-red:hover { text-decoration: underline; }
.btn-teal:hover { text-decoration: underline; }


.floating-service {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #219c97;
    color: white;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
}

.floating-service .service-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.floating-service .service-text {
    font-size: 14px;
}

.test-ukvi h3, .test-life h3 {
    line-height: 1.4;
    padding: 10px 0;
}

.user-dashboard-panel {
    background: #fff;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    border-radius: 4px;
    position: sticky;
    z-index: 11;
    top: 0;
}

.panel-left {
    flex: 1;
    padding: 20px 30px;
}

.panel-left h2 {
    font-size: 26px;
    color: #555;
    font-weight: bold;
    margin-bottom: 25px;
}

.panel-right {
    width: 140px;
    border-left: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.panel-right a {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: #08c;
    font-size: 14px;
    border-bottom: 2px solid #f0f0f0;
    text-decoration: none;
    gap: 8px;
}

.panel-right a:last-child {
    border-bottom: none;
}

.panel-right a.logout {
    color: #e31836;
}

.panel-right a img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.info-group {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .label {
    font-size: 12px;
    color: #999;
}

.info-item .value {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.info-item .value.highlight {
    color: #FF6633;
}

.info-item .link {
    font-size: 14px;
    color: #08c;
    margin-left: 5px;
}

.notice-section {
    background-color: #fff;
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #f4f4f4;
}

.notice-header img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.notice-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.notice-list {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 7px 0;
    border-bottom: 1px solid #e6e6e6;
}

.notice-content {
    flex: 1;
}

.notice-content img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -2px;
}

.notice-content > span {
    font-weight: bold;
    color: #555;
    font-size: 14px;
    vertical-align: middle;
}

.notice-content p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    padding-left: 40px;
    line-height: 1.6;
}

.notice-content .red {
    color: #e31836;
    font-weight: bold;
    margin: 0 3px;
}

.btn-outline-blue {
    color: #447aa5;
    border: 1px solid #447aa5;
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 20px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s;
}
.btn-outline-blue:hover {
    border-color: #e31836;
    color: #e31836;
}

/* Services Section */
.services-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.service-group {
    flex: 1;
    background: #fff;
    padding: 30px 20px;
    border-radius: 4px;
    border-bottom: 5px solid #e31836;
}

.service-group h3 {
    text-align: center;
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    font-weight: bold;
}

.service-icons {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.s-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s;
}

.s-item:hover span{
    text-decoration: underline;
    color: #08c;
}

.s-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.s-item span {
    font-size: 14px;
    color: #333;
}

/* Fix Card Buttons alignment */
.card-content .btn-group {
    margin-top: auto;
    padding-bottom: 20px;
}
.card {
    display: flex;
    flex-direction: column;
}
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Exam Results Styles */
.results-container {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.results-header {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.results-table-container {
    border: 1px solid #ddd;
}

.results-table-header {
    background-color: #0066cc;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
}

.results-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.results-row:nth-child(2n) .results-value {
    background-color: #f9f9f9;
}
.results-row:last-child {
    border-bottom: none;
}

.results-label {
    width: 250px;
    background-color: #f9f9f9;
    padding: 10px 15px;
    font-weight: bold;
    text-align: right;
    color: #333;
    border-right: 1px solid #eee;
}

.results-value {
    flex: 1;
    padding: 10px 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.results-value i {
    margin-right: 5px;
}
.results-value img {
    height: 16px;
    margin-right: 5px;
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
    margin-bottom: 10px;
}

.scores-table th, .scores-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    font-weight: 400;
}

.scores-table th {
    background-color: #fff;
}

.links-blue {
    color: #08c;
    display: block;
    margin-bottom: 5px;
}
.links-blue:hover {
    text-decoration: underline;
}

.blue-box {
    background-color: #e0f3fa;
    border: 1px solid #bce8f1;
    padding: 15px;
    margin-top: 10px;
    color: #31708f;
    font-size: 13px;
    line-height: 1.6;
}
.blue-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

.btn-blue {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #006dcc;
    background-image: linear-gradient(to bottom, #08c, #04c);
    background-repeat: repeat-x;
    border: none;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 10px;
}
.btn-blue:hover {
    background-color: #005a9e;
}

.delivery-info {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.delivery-row {
    display: flex;
    margin-bottom: 5px;
}
.delivery-label {
    width: 80px;
    text-align: right;
    margin-right: 10px;
}
.delivery-link {
    color: #08c;
}
.delivery-link:hover{
    text-decoration: underline;
}

.blue-highlight-box {
    background-color: #e0f3fa;
    padding: 10px;
    margin-top: 10px;
    color: #31708f;
    font-size: 13px;
}

.address-edit-btn {
    display: inline-block;
    color: #333;
    background-color: #e6e6e6;
    border-radius: 4px;
    padding: 5px 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    cursor: pointer;
    opacity: .65;
}

.back-btn-container {
    text-align: right;
    margin-top: 20px;
}
.btn-back {
    background-color: #0056b3;
    color: white;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}
