/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003366; /* Deep blue for legal/security */
    --secondary-color: #00509d;
    --accent-color: #f8b400; /* Gold/Yellow for CTA */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.tag {
    display: inline-block;
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-primary.lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-header-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-header-cta:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-only-li {
    display: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Add a modern frosted glass effect */
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.mobile-nav-header {
    display: none; /* Hide mobile header by default on desktop */
}

header.scrolled {
    background: rgba(0, 26, 51, 0.95); /* Slightly darker and more opaque on scroll */
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    filter: brightness(0) invert(1); /* Ensure logo is white */
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: 600;
    color: var(--white); /* White text for contrast */
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

header.scrolled nav ul li a {
    color: var(--white); /* Keep it white even when scrolled for dark theme consistency */
}

nav ul li a i {
    font-size: 12px;
    transition: var(--transition);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #1a1a2e; /* Dark background as seen in image */
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 80, 157, 0.3); /* Subtle blue border */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    display: block; /* Overriding flex gap from parent ul */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: var(--white) !important;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 400;
    display: block;
    width: 100%;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(0, 80, 157, 0.2);
    padding-left: 30px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 15px; /* Further increase hit area */
    z-index: 2001; /* Ensure it's above the side menu too */
    position: relative;
    pointer-events: auto;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white); /* White for better visibility on dark bg */
    border-radius: 2px;
    transition: var(--transition);
}

header.scrolled .menu-toggle span {
    background: var(--white); /* Keep it white since header background is still dark */
}

/* Hero Section */
.hero {
    position: relative;
    padding: 220px 0 140px;
    background: 
        linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%), 
        url('images/is-cybersecurity-hard-scaled-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/home-3_b_over.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.3; /* Adjusted opacity to make it less prominent */
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Ensure content is above the SVG texture */
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -1px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-btns .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-weight: 600;
    padding: 18px 45px;
}

.hero-btns .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card .read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Detailed Services Page */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-item-detailed {
    display: flex;
    flex-direction: column; /* Stack vertically for 3-column layout to save space */
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center; /* 使内部文字居中 */
    align-items: center; /* 使内部 Flex 元素居中 */
    height: 100%; /* 确保卡片填满网格高度 */
}

.service-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 让信息区域占据剩余空间 */
    align-items: center;
}

.service-item-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* 使特征标签居中 */
    margin-bottom: 10px; /* 增加底部间距，确保与下方按钮有足够距离 */
}

.service-item-detailed .read-more {
    display: inline-block;
    margin-top: 30px; /* 增加固定顶部间距，确保不拥挤 */
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-item-detailed .read-more:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.service-item-detailed .read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-item-detailed .read-more:hover i {
    transform: translateX(5px);
}

.service-features li {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 51, 102, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: rgba(0, 51, 102, 0.1);
    z-index: 1;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step p {
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.faq-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
}

/* Report Info */
.report-info {
    padding: 60px 0;
}

.report-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.report-text h2 {
    color: var(--white);
    margin-bottom: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-video, .about-image-wrapper {
    flex: 0 0 45%; /* 减小宽度比例，占据 45% */
    width: 100%;
    height: 350px; /* 降低固定高度 */
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-content {
    flex: 0 0 50%; /* 内容占据 50% */
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.video-placeholder {
    height: 400px;
    background: #000;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    cursor: pointer;
}

.video-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.video-placeholder:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Stats */
.stats {
    background: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 120px 0;
    background: #fcfcfc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Strictly 3 columns for 6 members (2 rows) */
    gap: 40px 30px;
}

.team-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards in a row have equal height */
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.team-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent; /* Hide alt text if image is missing */
    font-size: 0; /* Fallback for older browsers */
}

.team-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.team-card span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Detailed Team Page Styles */
.team-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.team-detail-item {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.team-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.team-detail-img {
    flex: 0 0 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-detail-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.team-detail-info {
    flex: 1;
}

.team-detail-info h3 {
    font-size: 32px;
    color: #1a237e; /* Professional dark blue as seen in image */
    margin-bottom: 5px;
}

.team-detail-info .job-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-detail-info .bio p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.team-detail-info .bio p:last-child {
    margin-bottom: 0;
}

/* Modal & Toast Notifications */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-icon.success {
    color: #4BB543;
}

.modal-icon.error {
    color: #ff4d4d;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-modal-close {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-close:hover {
    background: var(--secondary-color);
}

@media (max-width: 992px) {
    .team-detail-item {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .team-detail-img {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-detail-img img {
        height: auto;
    }

    .team-detail-info h3 {
        font-size: 28px;
        text-align: center;
    }

    .team-detail-info .job-title {
        text-align: center;
    }
}
.join-us-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.join-us-content {
    flex: 1;
}

.join-us-img {
    flex: 1;
}

.join-us-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .join-us-flex {
        flex-direction: column;
        text-align: center;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card {
        padding: 40px 20px;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-info h5 {
    color: var(--primary-color);
    font-size: 18px;
}

/* Footer Contact Form */
.contact-form-wrapper {
    background: #f9f9f9;
    padding: 60px;
    border-radius: 15px;
    margin-bottom: 60px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 14px;
}

.captcha-group .captcha-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#captcha-canvas {
    background: #f0f0f0;
    border-radius: 8px;
    min-width: 100px;
    height: 45px;
    cursor: pointer;
}

.captcha-group input {
    flex: 1;
    min-width: 0; /* Prevents overflow in flexbox */
}

#form-message {
    margin: 15px 0;
    font-weight: 500;
}

#submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}


/* Footer */
footer {
    background: #001a33;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.contact-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-col p i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile Responsiveness */
.desktop-only {
    display: inline-block !important;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .btn-header-cta {
        display: none;
    }

    .mobile-only-li {
        display: block;
    }

    .header-btns .desktop-only {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #1a1a1a;
        transition: 0.4s ease;
        padding: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        z-index: 2000;
        overflow-y: auto;
        overflow-x: hidden; /* Prevent horizontal scroll */
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    nav::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    nav {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    nav.active {
        left: 0;
    }

    .mobile-nav-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
    }

    .mobile-logo {
        height: 80px;
        margin-bottom: 20px;
        filter: brightness(0) invert(1);
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--white);
        font-size: 24px;
        cursor: pointer;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 20px 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        color: var(--white) !important;
        padding: 15px 30px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 1px;
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        background: rgba(255,255,255,0.02);
    }

    .dropdown-menu li a {
        padding: 12px 30px 12px 50px;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255,255,255,0.8) !important;
        position: relative;
    }

    .dropdown-menu li a::before {
        content: '';
        position: absolute;
        left: 35px;
        top: 50%;
        width: 10px;
        height: 1px;
        background: rgba(255,255,255,0.3);
    }

    .mobile-only {
        margin: 20px 30px;
        display: block;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .video-placeholder {
        height: 300px;
    }

    .services-grid-detailed, .faq-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step:nth-child(2)::after {
        display: none;
    }

    .report-box {
        flex-direction: column;
        text-align: center;
    }

    .about-flex {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.bg-light {
    background: var(--bg-light);
}

/* Success Cases Styles */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.case-item {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.case-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.case-category {
    background: rgba(0, 51, 102, 0.05);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-status {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.case-content h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.case-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.case-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.case-highlights li {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-highlights li i {
    color: #2e7d32;
}

@media (max-width: 992px) {
    .case-highlights {
        grid-template-columns: 1fr;
    }
    
    .case-item {
        padding: 30px;
    }
}
.text-center {
    text-align: center !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-white {
    color: var(--white) !important;
}

.section-padding {
    padding: 100px 0;
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Message CTA on Contact Page */
.message-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-cta h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.message-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.img-rounded {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('images/abs_bg_3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 10px;
}

/* About Intro */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 40px;
    line-height: 1.2;
}

/* Mission & Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Why Choose Us Features */
.features-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.feature-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item i {
    color: #4BB543;
}

@media (max-width: 992px) {
    .about-intro-grid, .values-grid, .features-list-grid, .services-grid, .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Page Styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
}

.info-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.map-section {
    padding-bottom: 100px;
}

.map-placeholder {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}
.testimonials-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card-detailed {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.testimonial-card-detailed .stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 14px;
}

.testimonial-card-detailed p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
    flex: 1;
}

.testimonial-card-detailed .client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.testimonial-card-detailed .client-avatar-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.8;
}

.testimonial-card-detailed .client-meta h5 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.testimonial-card-detailed .client-meta span {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

@media (max-width: 992px) {
    .testimonials-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro-grid, .values-grid, .features-list-grid, .services-grid, .services-grid-detailed, .testimonials-detailed-grid {
        grid-template-columns: 1fr;
    }
}
    
    .page-header h1 {
        font-size: 36px;
    }
}

@media (min-width: 993px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .service-item-detailed {
        padding: 40px 20px;
    }
    
    .service-item-detailed .read-more {
        margin-top: 40px; /* 移动端进一步加大间距，方便点击 */
        width: 100%; /* 移动端按钮全宽更易操作 */
    }
}

/* Service Show Page Styles */
.service-show-flex {
    display: flex;
    gap: 40px;
}

.service-sidebar {
    flex: 0 0 300px;
}

.service-sidebar h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

#service-list {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

#service-list li {
    border-bottom: 1px solid #eee;
}

#service-list li:last-child {
    border-bottom: none;
}

#service-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

#service-list li a i {
    font-size: 12px;
    color: #999;
}

#service-list li a:hover,
#service-list li a.active {
    background: var(--primary-color);
    color: var(--white);
}

#service-list li a:hover i,
#service-list li a.active i {
    color: var(--white);
}

.service-main-content {
    flex: 1;
}

.service-banner {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-text-content h2 {
    margin-bottom: 25px;
}

.service-section-item {
    margin-bottom: 40px;
}

.service-section-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.service-text-content {
    line-height: 1.8;
    color: #555;
}

.service-text-content ul, 
.service-text-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.service-text-content li {
    margin-bottom: 10px;
}

.service-text-content strong {
    color: var(--secondary-color);
}

.loading-spinner {
    text-align: center;
    padding: 100px 0;
    font-size: 20px;
    color: var(--primary-color);
}

.error-message {
    text-align: center;
    padding: 60px;
    background: #fff5f5;
    border-radius: 12px;
    border: 1px solid #feb2b2;
}

.error-message i {
    font-size: 48px;
    color: #f56565;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .service-show-flex {
        flex-direction: column;
    }
    
    .service-sidebar {
        flex: none;
        width: 100%;
    }
    
    .service-banner img {
        height: 300px;
    }
}
