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

/* Remove default underlines from all links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 80px;
}

.article-content {
    margin-bottom: 80px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.article-header {
    padding: 40px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.article-category {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #003366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 18px;
    color: #003366;
    margin-bottom: 5px;
}

.author-title {
    font-size: 14px;
    color: #666;
}

.article-details {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.publish-date, .read-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.document-link-container {
    margin-top: 20px;
}

.document-link-container .primary-btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.document-link-container .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.article-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 40px;
    margin-bottom: 40px;
}

.article-body h2 {
    font-size: 24px;
    color: #003366;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.article-body h3 {
    font-size: 20px;
    color: #003366;
    margin: 25px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-body ul, .article-body ol {
    margin: 20px 0 20px 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-body a {
    color: #003366;
    text-decoration: none;
}

.article-navigation {
    margin-top: 40px;
    padding: 0 40px 40px;
    border-top: 1px solid #eee;
}

.related-articles {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.article-not-found, .article-error {
    text-align: center;
    padding: 60px 20px;
}

.article-not-found h2, .article-error h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 20px;
}

.article-not-found p, .article-error p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

html, body {
    height: 100%;
}

:root {
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    transform: translate3d(0, 0, 0);
}

/* Hide header when scrolling down, show when scrolling up */
.header.hidden {
    transform: translate3d(0, -100%, 0);
}

.header.visible {
    transform: translate3d(0, 0, 0);
}

/* Ensure proper spacing for hero section on mobile */
@media (max-width: 768px) {
    .header {
        padding: 5px 0;
    }
}

/* Removed .header.scrolled styles to keep the header transparent at all times */

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

/* Ensure proper spacing between navigation and header actions */
.main-nav {
    flex: 1;
    margin: 0 15px;
    min-width: 0; /* Allow flex item to shrink below content size */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Prevent nav items from taking too much space */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevent wrapping */
    width: 100%;
}

.logo img {
    height: 35px; /* Slightly reduced height for better space distribution */
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 15px;
    flex-shrink: 0; /* Prevent items from shrinking */
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-link {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-link:hover {
    color: #cccccc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent actions from shrinking */
    margin-left: 10px; /* Reduce margin to give more space to navigation */
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 20px;
}

.search-btn svg path {
    stroke: white;
}

.contact-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Ensure hero section starts from top on mobile */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top: 0;
    }
    
    .hero-slide {
        align-items: flex-start;
    }
    
    .hero-content {
        margin-top: 0;
        padding-top: 80px; /* Adjust for header height on mobile */
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide[data-slide="1"] {
    background: linear-gradient(135deg, #003366 0%, #66ccff 100%);
}

.hero-slide[data-slide="2"] {
    background: linear-gradient(135deg, #660066 0%, #cc66cc 100%);
}

.hero-slide[data-slide="3"] {
    background: linear-gradient(135deg, #006600 0%, #66cc66 100%);
}

/* Insights page hero section */
.hero-slide[data-slide="1"] {
    background: linear-gradient(135deg, #003366 0%, #66ccff 100%);
}

.hero-content {
    width: 100%;
    padding: 20px;
    margin-top: 0;
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-btn, .secondary-btn {
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.primary-btn {
    background-color: #ffffff;
    color: #003366;
    border: 2px solid #ffffff;
}

.primary-btn:hover {
    background-color: transparent;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.secondary-btn:hover {
    background-color: #ffffff;
    color: #003366;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Digital Core Capabilities Section */
.digital-core {
    background-color: #8B4513; /* Solid brown background */
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.digital-core-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.digital-core-text {
    flex: 1;
    max-width: 600px;
}

.digital-core-text .section-title {
    color: white;
    text-align: left;
    margin-bottom: 20px;
}

.digital-core-description {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
    line-height: 1.8;
}

.digital-core-text .primary-btn {
    background-color: white;
    color: #8B4513;
    border: 2px solid white;
}

.digital-core-text .primary-btn:hover {
    background-color: transparent;
    color: white;
}

.digital-core-graphics {
    flex: 1;
    position: relative;
    height: 400px;
}

.graphic-element {
    position: absolute;
    width: 150px;
    height: 150px;
}

.butterfly {
    top: 50px;
    right: 100px;
    background-color: #FFD700;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.flower {
    bottom: 50px;
    right: 200px;
    background-color: #FF6347;
    border-radius: 50%;
}

.case-studies {
    display: flex;
    gap: 40px;
}

.case-study {
    flex: 1;
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
}

.case-study-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.case-study-description {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-study .secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.case-study .secondary-btn:hover {
    background-color: white;
    color: #8B4513;
}

/* Digital Operation Model Section */
.digital-operation {
    background-color: #003366; /* Solid blue background */
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.digital-operation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.digital-operation-text {
    flex: 1;
    max-width: 600px;
}

.digital-operation-text .section-title {
    color: white;
    text-align: left;
    margin-bottom: 20px;
}

.digital-operation-description {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
    line-height: 1.8;
}

.digital-operation-text .primary-btn {
    background-color: white;
    color: #003366;
    border: 2px solid white;
}

.digital-operation-text .primary-btn:hover {
    background-color: transparent;
    color: white;
}

.digital-operation-graphics {
    flex: 1;
    position: relative;
    height: 400px;
}

.digital-operation-graphics .graphic-element {
    position: absolute;
}

.ants {
    top: 50px;
    right: 150px;
    width: 100px;
    height: 100px;
    background-color: #8B4513;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.branch {
    bottom: 100px;
    right: 100px;
    width: 150px;
    height: 150px;
    background-color: #228B22;
    border-radius: 50%;
}

.building {
    bottom: 50px;
    right: 250px;
    width: 80px;
    height: 120px;
    background-color: #C0C0C0;
}

.articles {
    display: flex;
    gap: 40px;
}

.article {
    flex: 1;
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
}

.article-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}
.full-article-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: black;
}

.article-tag {
    font-size: 14px;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 600;
}

.article .secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.article .secondary-btn:hover {
    background-color: white;
    color: #003366;
}

/* Empowering Talent Transformation Section */
.talent-transformation {
    background-color: #4B0082; /* Indigo background */
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.talent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.talent-text {
    flex: 1;
    max-width: 600px;
}

.talent-text .section-title {
    color: white;
    text-align: left;
    margin-bottom: 20px;
}

.talent-description {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
    line-height: 1.8;
}

.talent-text .primary-btn {
    background-color: white;
    color: #4B0082;
    border: 2px solid white;
}

.talent-text .primary-btn:hover {
    background-color: transparent;
    color: white;
}

.talent-graphics {
    flex: 1;
    position: relative;
    height: 400px;
}

.talent-graphics .graphic-element {
    position: absolute;
}

.person {
    top: 50px;
    right: 150px;
    width: 100px;
    height: 150px;
    background-color: #FF6347;
    border-radius: 50% 50% 0 0;
}

.network {
    bottom: 100px;
    right: 100px;
    width: 150px;
    height: 150px;
    background-color: #00BFFF;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.talent-features {
    display: flex;
    gap: 40px;
}

.feature {
    flex: 1;
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.feature-description {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #003366;
    margin-bottom: 50px;
}

/* Service Detail Sections */
.service-detail-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.service-detail-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-detail-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card.active {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
}

.service-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

.service-article-description {
    color: white;
}

.service-link {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
    position: relative;
}

.service-link::after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.service-link:hover::after {
    margin-left: 10px;
}

/* Technology Platforms Section */
.technology-platforms {
    padding: 80px 0;
    background-color: white;
}

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

.technology-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technology-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.technology-card.active {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.technology-icon {
    margin-bottom: 20px;
}

.technology-title {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
}

.technology-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

.technology-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background-color: #e6f0ff;
    color: #003366;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 18px;
    color: #666666;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Insights/News Section */
.news {
    padding: 120px 0 80px;
    background-color: #f9f9f9;
}

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

.news-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
}

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

.news-card.featured .news-image {
    height: 100%;
    flex: 1;
    max-width: 50%;
}

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

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

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card.featured .news-content {
    flex: 1;
    max-width: 50%;
}

.office-details > p {
    color: white;
}

@media (max-width: 992px) {
    .news-card.featured .news-content {
        max-width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .news-card.featured .news-content {
        max-width: 100%;
    }
}

.news-category {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.news-card.featured .news-title {
    font-size: 24px;
}

.news-excerpt {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999999;
    flex-wrap: wrap;
}

.news-link {
    text-decoration: none;
    color: #003366;
    font-weight: 600;
    position: relative;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.news-link::after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.news-link:hover::after {
    margin-left: 10px;
}

.read-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    text-decoration: none;
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-legal {
    margin-bottom: 20px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
}

.legal-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #cccccc;
    font-size: 14px;
}

/* Footer Email Styling */
.footer .footer-content .footer-column .footer-email {
    margin-top: 15px;
}

.footer .footer-content .footer-column .footer-email a {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    margin-top: 10px !important;
}

.footer .footer-content .footer-column .footer-email a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: 0.5s !important;
    z-index: 1 !important;
}

.footer .footer-content .footer-column .footer-email a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.footer .footer-content .footer-column .footer-email a:hover::before {
    left: 100% !important;
}

.footer .footer-content .footer-column .footer-email a span {
    position: relative !important;
    z-index: 2 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    
    .main-nav .nav-list {
        display: none;
    }
    
    .main-nav.active .nav-list {
        display: flex !important;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .news-card.featured {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }
    
    .news-card.featured .news-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
    
    .digital-core-content,
    .digital-operation-content,
    .talent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .digital-core-text,
    .digital-operation-text,
    .talent-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .digital-core-text .section-title,
    .digital-operation-text .section-title,
    .talent-text .section-title {
        text-align: center;
    }
    
    .case-studies,
    .articles,
    .talent-features {
        flex-direction: column;
    }
    
    .digital-core-graphics,
    .digital-operation-graphics,
    .talent-graphics {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .news-card.featured .news-content {
        max-width: 100%;
        flex: 1;
    }
}

/* Medium screen adjustments to prevent overflow */
@media (min-width: 769px) and (max-width: 992px) {
    .nav-item {
        margin: 0 10px; /* Reduce margin on medium screens */
    }
    
    .main-nav {
        margin: 0 15px; /* Reduce margin on medium screens */
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: nowrap; /* Prevent wrapping on small screens */
    }
    
    .main-nav {
        margin: 0 10px; /* Reduce margin on small screens */
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-slider-dots {
        bottom: 20px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Hide graphic elements on mobile screens */
    .digital-core-graphics,
    .digital-operation-graphics,
    .talent-graphics {
        display: none;
    }
}

/* Touch device enhancements */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .news-card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:active,
    .news-card:active {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Larger touch targets */
.menu-toggle {
    padding: 10px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

/* Hide menu toggle on large screens where full navigation is visible */
@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.247);
    color: rgb(129, 129, 129);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background-color: #002244;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger icon animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #003366 0%, #66ccff 100%);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    text-align: center;
}

.mobile-menu-header h3 {
    color: white;
    font-size: 24px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.mobile-menu-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 5px 0 0 0;
}

.mobile-menu .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu .nav-item {
    margin: 5px 0;
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.mobile-menu .nav-link {
    color: white;
    font-size: 18px;
    padding: 15px 20px;
    display: block;
    width: 100%;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu .nav-link:hover {
    color: #FFD700;
    padding-left: 25px;
}

.mobile-menu .nav-link::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover::before {
    opacity: 1;
    left: 10px;
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.mobile-menu-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 5px 0;
    line-height: 1.4;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Hamburger icon animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}



/* Desktop Navigation */
@media (min-width: 993px) {
    .mobile-menu, .mobile-menu-overlay {
        display: none !important;
    }
    
    .main-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        transition: none;
        z-index: auto;
        display: block;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .main-nav .nav-list {
        display: flex;
        flex-direction: row;
        padding: 0;
        align-items: center;
        white-space: nowrap; /* Prevent wrapping on desktop */
    }
    
    .nav-item {
        margin: 0 10px; /* Further reduced margin for better fit */
        width: auto;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .nav-link {
        color: white;
        font-size: 16px;
        padding: 0;
        white-space: nowrap;
        display: inline-block;
    }
}



@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
        flex-wrap: nowrap; /* Prevent wrapping on small screens */
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 0px 0;
    }
    
    .hero-content {
        padding-top: 60px; /* Adjust for smaller header on mobile */
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .services,
    .about,
    .news {
        padding: 60px 0;
    }
    
    .service-card,
    .news-content {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Reduce nav item margins on very small screens */
    .nav-item {
        margin: 0 8px;
    }
    
    /* Reduce header action margins on very small screens */
    .search-btn {
        margin-right: 10px;
    }
    
    .menu-toggle {
        margin-left: 10px;
    }
}

/* Pagination Styles */
.pagination-controls {
    margin-top: 40px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-btn {
    padding: 10px 15px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #003366;
    color: white;
    border-color: #003366;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background-color: white;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.search-input-container {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #003366;
}

.search-icon-input {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

.search-icon-input path {
    stroke: #999;
}

.close-search {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-search:hover {
    background-color: #f5f5f5;
    color: #333;
}

.search-results {
    max-height: 70vh;
    overflow-y: auto;
}

.search-result {
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result:hover {
    background-color: #f9f9f9;
}

.search-result:last-child {
    border-bottom: none;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 8px;
}

.result-category {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.result-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.no-results-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

/* Vector Background Layers - New Structure */
.vector-background-section {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Layer 1: Solid Color Background (bottom layer) */
.vector-background-section .background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Layer 2: Vector Background (middle layer) */
.vector-background-section .vector-layer {
    position: absolute;
    top: 50px;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 2;
    opacity: 0.15;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
}

/* Layer 3: Content (top layer) */
.vector-background-section .content-layer {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Ensure text content stays on the left side */
.vector-background-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vector-background-section .digital-core-content,
.vector-background-section .digital-operation-content,
.vector-background-section .talent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.vector-background-section .digital-core-text,
.vector-background-section .digital-operation-text,
.vector-background-section .talent-text {
    flex: 1;
    max-width: 600px;
    padding-right: 20px;
}

/* Specific vector background sections */
.digital-core-vector {
    background-color: #8B4513; /* Brown background */
}

.digital-core-vector .vector-layer {
    background-image: url('../images/product-tour_msgk.svg');
    opacity: 0.2;
}

.digital-operation-vector {
    background-color: #003366; /* Blue background */
}

.digital-operation-vector .vector-layer {
    background-image: url('../images/hologram_wfb0.svg');
    opacity: 0.2;
}

.talent-transformation-vector {
    background-color: #4B0082; /* Indigo background */
}

.talent-transformation-vector .vector-layer {
    background-image: url('../images/digital-nomad_xr4z.svg');
    opacity: 0.2;
}

/* Solar System Background (secondary background) */
.solar-system-background {
    position: relative;
    background-color: white; /* Dark space color */
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.solar-system-background::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('../images/product-iteration_r2wg.svg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
}

.solar-system-background .content {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.solar-system-background .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solar-system-background .about-text {
    flex: 1;
    max-width: 600px;
}

/* Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 51, 102, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 51, 102, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.appointment-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px;
}

.appointment-section iframe {
    width: 100%;
    min-height: 600px;
    height: 80vh;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: block;
}

.appointment-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    color: #003366;
}

@media (max-width: 768px) {
    .appointment-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .appointment-content {
        padding: 20px;
    }
    
    .appointment-section iframe {
        height: 70vh;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .appointment-section iframe {
        height: 65vh;
        min-height: 400px;
    }
    
    .appointment-content {
        padding: 15px;
    }
}