/* Singapore Global Analysis Center - Single Page Application */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
}
/* Ensure media scales within containers */
img, video, canvas {
    max-width: 100%;
    height: auto;
}

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

/* Page Management */
.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex: 1;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: white;
}

.logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Home Section */
.home {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px; /* 增加顶部间距，避免与导航栏重叠 */
}

.hero-title {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
    color: white;
    margin-top: 2rem; /* 增加顶部间距 */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 800px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.dynamic-map {
    background: rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.map-placeholder {
    position: relative;
    text-align: center;
    color: white;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    border: 2px dashed rgba(255,255,255,0.3);
    overflow: hidden;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.map-overlay {
    position: relative;
    z-index: 2;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Recent Insights Section */
.recent-insights {
    background: white;
    padding: 4rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.recent-insights h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e3c72;
}

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

.insight-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.insight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-card h3,
.insight-card .risk-level,
.insight-card .policy-update,
.insight-card .market-trend,
.insight-card .trend {
    padding: 0 2rem;
    margin: 1rem 0;
}

.insight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.insight-card p {
    color: #666;
    margin-bottom: 1rem;
}

.risk-level, .policy-update, .market-trend {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.risk-level.high {
    background: #ff6b6b;
    color: white;
}

.policy-update {
    background: #4ecdc4;
    color: white;
}

.market-trend {
    background: #45b7d1;
    color: white;
}

/* About Section */
.about {
    background: white;
    padding: 0;
    min-height: calc(100vh - 80px);
}

.about-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%);
    display: flex;
    align-items: center;
    color: white;
}

.about-hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero .about-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
}

.about-content {
    padding: 4rem 0;
}

.about h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    margin-bottom: 4rem;
}

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

.methodology-visual {
    margin: 2rem 0;
    text-align: center;
}

.methodology-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.content-section li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #1e3c72;
    font-size: 0.8rem;
}

.team-section {
    margin-top: 4rem;
}

.team-section h3 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.team-member h4,
.team-member p {
    padding: 0 2rem;
    margin: 1rem 0;
}

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.services h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
}

.services-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    gap: 3rem;
}

.service-module {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.15);
}

.module-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-module:hover .module-image img {
    transform: scale(1.05);
}

.module-header,
.module-content {
    padding: 2rem;
}

.module-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.module-header h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.module-header h5 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
}

.module-content {
    margin-top: 1rem;
}

.module-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.module-content ul {
    list-style: none;
    padding-left: 0;
}

.module-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.module-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section - Redesigned */
.contact {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

.contact h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content-redesigned {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 40px rgba(30, 60, 114, 0.2);
}

.contact-hero-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #666;
    margin: 0.2rem 0;
    line-height: 1.5;
}

.contact-info a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-services {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-services h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3c72;
    text-align: center;
    margin-bottom: 2rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item i {
    color: #1e3c72;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.service-item span {
    color: #555;
    font-weight: 500;
}

.contact-cta {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-cta .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.contact-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.contact-cta .btn-secondary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.contact-cta .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.contact-details h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-item i {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-right: 1rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-item p {
    margin: 0.2rem 0;
    color: #555;
    line-height: 1.6;
}

.contact-item strong {
    color: #1e3c72;
    font-weight: 600;
}

.map-container {
    margin-top: 2rem;
}

.map-container h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.map-embed {
    position: relative;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.location-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
}

.map-overlay i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.map-overlay p {
    color: white;
    margin: 0.5rem 0;
}

.map-toggle {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.map-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

/* Google Maps specific styles */
#map {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-controls {
    text-align: center;
    margin-top: 15px;
}

.map-controls .map-toggle {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.map-controls .map-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

/* Map container improvements */
.map-embed {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Appointment Form */
.appointment-form {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.appointment-form h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section:last-child {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 1.5rem; /* 移动设备上的顶部间距 */
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .module-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-hero {
        padding: 2rem;
    }
    
    .contact-hero-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-services {
        padding: 2rem;
    }
    
    .contact-cta {
        padding: 2rem;
    }
    
    .contact-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        margin-top: 1rem; /* 小屏幕设备上的顶部间距 */
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-module {
        padding: 2rem;
    }
    
    .appointment-form {
        padding: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for dynamic elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}