/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 0; /* Header is now overlaying */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1502px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-desc {
    margin: 0 auto 40px;
    font-size: 20px;
    line-height: 2.1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-btn {
    color: #fff;
    background-image: linear-gradient(to right, #1675F6 0%, #2CBBFA 100%);
    padding: 10px 40px;
    border-radius: 40px;
    font-size: 18px;
    transition: background 0.3s;
    border: 0px;
}

.more-btn:hover {
    background-color: #0056b3;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    box-shadow: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
    border-bottom: 1px solid #FFFFFF;
    font-weight: 500;
    background-image: linear-gradient(to bottom, rgba(2, 21, 56, 0.8) 0%, transparent 100%);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    color: #fff; /* Initial white */
    transition: color 0.3s;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 18px;
    color: #FFFFFF;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Scrolled Header State */
.site-header.scrolled {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .logo {
    color: #007bff;
}

.site-header.scrolled .main-nav a {
    color: #333;
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
    color: #007bff;
}

/* Hero Section */
.hero-section {
    /* Background Image */
    background-image: url('../web/image/banner2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 700px; /* Fixed height or min-height */
    display: flex;
    align-items: center;
    position: relative;
    color: #fff; /* White text on banner */
    margin-top: 0;
}

/* Overlay to ensure text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2; /* Above overlay */
    width: 100%;
}

.hero-content {
    width: 800px;
    padding-right: 50px;
    text-align: center;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 28px;
    color: #E4E8EF;
    margin-bottom: 50px;
}

.cta-btn {
    padding: 15px 100px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.cta-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.doctor-img {
    width: 350px;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    width: 289px;
    height: 157px;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card1 {
    background-image: url('../web/image/menu-bg1.png');
}

.service-card2 {
    background-image: url('../web/image/menu-bg2.png');
}

.service-card3 {
    background-image: url('../web/image/menu-bg3.png');
}

.service-card4 {
    background-image: url('../web/image/menu-bg4.png');
}

.service-card5 {
    background-image: url('../web/image/menu-bg5.png');
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 62px;
    height: 62px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500;
}

/* Team Section */
.team-section {
    background-image: url('../web/image/ad.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    height: 300px;
    color: white;
    padding-left: 100px;
}

/* Modules Section */
.modules-section {
    height: 701px;
    background-image: url('../web/image/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 90px;
}

.module-item {
    text-align: center;
    padding: 60px 0;
    transition: box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.7);
}

.module-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-icon {
    width: 107px;
    height: 107px;
    border-radius: 50%;
    background: #EEF4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.module-icon img {
    width: 100px;
    height: 100px;
}

.module-item h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.module-item .link {
    background: #EEF4FF;
    border-radius: 6px;
    font-size: 18px;
    color: #0D71F6;
    padding: 8px 26px;
    font-weight: 500;
}

/* Jobs Section */
.jobs-section {
    background-color: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 40px;
}

.job-card {
    background-image: linear-gradient(to top, #E8F2FE 0%, #FEFEFF 28%, #FFFFFF 100%);
    padding: 20px 20px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    border: 1px solid #dadada;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.job-salary {
    font-size: 26px;
    color: #007bff;
    font-weight: bold;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #A3A3A3;
}

.tag {
    background: #F8F8F8;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 16px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    color: #333;
    font-size: 18px;
    padding-top: 10px;
}

.job-footer-i {
    display: flex;
    align-items: center;
}

.job-footer-i img {
    margin-right: 6px;
}

/* Talent Section */
.talents-section {
    background-color: #fff;
}

.talent-card {
    background-image: linear-gradient(to top, #E8F2FE 0%, #FEFEFF 28%, #FFFFFF 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    gap: 20px;
    transition: transform 0.2s;
}

.talent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.talent-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.talent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-info {
    flex: 1;
    margin-left: 20px;
}

.talent-name-row {
    margin-bottom: 5px;
}

.talent-name {
    font-weight: bold;
    font-size: 24px;
    margin-right: 10px;
}

.talent-age {
    font-size: 20px;
    color: #999;
}

.talent-key {
    font-size: 18px;
    color: #A3A3A3;
}

.talent-value {
    font-size: 18px;
    color: #333;
}

.talent-details {
    margin-top: 20px;
    font-size: 18px;
    color: #666;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Footer */
.site-footer {
    background-color: #1a2b45;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    font-size: 18px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    gap: 40px;
}

.contact-info {
    text-align: center;
}

.phone-view {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
}

.phone-view img {
    width: 40px;
    height: 40px;
}

.contact-info .icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode {
    background-color: #fff;
    text-align: center;
    padding: 5px;
}

.qrcode img {
    width: 130px;
    height: 130px;
}

.qrcode p {
    font-size: 16px;
    color: #333;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    font-size: 14px;
    color: #fff;
}

/* Sidebar Float */
.sidebar-float {
    position: fixed;
    right: 20px;
    bottom: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-item {
    width: 50px;
    height: 50px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.float-item:hover {
    background-color: #f0f0f0;
}

.float-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-header h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.modal-body img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
}

