:root {
    --primary-color: #0047AB;
    --secondary-color: #00BFFF;
    --accent-color: #FF6B6B;
    --text-color: #000000;
    --light-text: #666666;
    --bg-color: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-bg: #1A1A1A;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --container-width: 1450px;
    --header-height: 80px;
    --font-main: 'Inter', 'Noto Sans KR', sans-serif;
}

/* ============================================== */
/* 1. Reset & Base (기본 스타일 및 리셋) */
/* ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    min-width: var(--container-width);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================== */
/* 2. Layout (레이아웃) */
/* ============================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

.mobile-only {
    display: none;
}

nav>ul>li {
    position: relative;
}

nav a {
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Mega Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown>a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover>a::after {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 15px;
    min-width: 500px;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-column {
    width: 100%;
}

.mega-menu-column ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
}

.mega-menu-column li {
    list-style: none;
}

.mega-menu-column a {
    display: block;
    padding: 8px 12px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.mega-menu-column a:hover {
    background-color: rgba(0, 71, 171, 0.08);
    color: var(--primary-color);
}

/* Sections Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-header p {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
}

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

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

/* ============================================== */
/* 3. Components (컴포넌트) */
/* ============================================== */

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003380;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

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

.service-card .icon {
    font-size: 40px;
    margin-bottom: 25px;
    background-color: rgba(0, 71, 171, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* Adoption Effects Items */
.effects-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.effect-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.effect-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.effect-item .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.effect-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.effect-item p {
    color: var(--light-text);
    line-height: 1.7;
}

/* Clients Grid */
.client-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.client-logo {
    font-size: 25pt;
    height: 100px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #999;
    font-weight: 600;
}

/* Modal */
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;

    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.modal-content .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--light-text);
    line-height: 1;
}

.modal-content .close-btn:hover {
    color: var(--text-color);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.modal-content p {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.1);
}

/* ============================================== */
/* 4. Page/Section Specifics (페이지/섹션별 스타일) */
/* ============================================== */

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7)), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Company Intro */
#company {
    background-color: var(--light-bg);
}

.company-intro-hero {
    display: flex;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px;
}

.company-hero-text {
    text-align: left;
    width: 100%;
}

.company-hero-title {
    font-size: 22px;
    font-weight: 800px;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.company-hero-subtitle {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.highlight-text {
    font-size: 20px;
    font-weight: 700;
    color: #0047AB;
}

.company-hero-tagline {
    margin-bottom: 25px;
}

.tagline-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.tagline-sub {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.company-hero-description {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.8;
}

.company-hero-image {
    width: 40%;
    height: 900px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.monitoring-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.company-hero-image:hover .monitoring-img {
    transform: scale(1.05);
}

/* CEO Message */
#company-ceo {
    background-color: var(--white);
}

.ceo-message {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.ceo-photo-img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ceo-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.ceo-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.4;
}

.ceo-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

.ceo-signature {
    margin-top: 40px;
    font-style: italic;
}

.ceo-signature strong {
    font-style: normal;
    font-weight: 700;
    color: var(--text-color);
}

/* Organization Chart - Traditional Linear Design */
#company-org {
    background-color: var(--light-bg);
}

.org-chart-linear {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.org-ceo {
    display: flex;
    justify-content: center;
}

.org-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ceo-circle {
    background: linear-gradient(135deg, #4a5fc1 0%, #2c3e8f 100%);
    width: 120px;
    height: 120px;
    font-size: 18px;
    box-shadow: 0 12px 35px rgba(74, 95, 193, 0.4);
}

.org-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.org-line-vertical {
    width: 3px;
    height: 40px;
    background: var(--primary-color);
    margin: 0 auto;
}

.org-line-horizontal {
    width: 600px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.org-departments-row {
    display: flex;
    justify-content: center;
    gap: 100px;
    position: relative;
}

.org-dept {
    text-align: center;
    position: relative;
}

.org-line-up {
    width: 3px;
    height: 40px;
    background: var(--primary-color);
    margin: 0 auto;
}

.org-label {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.org-dept:nth-child(1) .org-circle {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.org-dept:nth-child(2) .org-circle {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.org-dept:nth-child(3) .org-circle {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Service Section */
.org-service-section {
    position: relative;
}

.org-service-line-vertical {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, #9b59b6 0%, rgba(155, 89, 182, 0.7) 100%);
    margin: 0 auto;
}

.org-service-line-horizontal {
    width: 500px;
    height: 3px;
    background: linear-gradient(90deg, rgba(155, 89, 182, 0.3) 0%, rgba(155, 89, 182, 0.7) 50%, rgba(155, 89, 182, 0.3) 100%);
    margin: 0 auto;
}

.org-service-teams {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.org-sub-team {
    text-align: center;
}

.org-line-up-small {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, rgba(155, 89, 182, 0.3) 0%, rgba(155, 89, 182, 0.7) 100%);
    margin: 0 auto;
}

.org-circle-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 auto;
}

.org-circle-small:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

.org-label-small {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

/* Service Intro */
#service {
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Location */
#location {
    background-color: var(--light-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.address-info {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.address-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.address-info p {
    margin-bottom: 10px;
    color: var(--light-text);
}

/* Service Detail (Dynamic Load Section) */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0 50px;
    text-align: center;
}

.service-detail-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-detail-hero .hero-desc {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
}

.service-detail-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 30px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.platform-badge {
    background: linear-gradient(135deg, #0047AB 0%, #00BFFF 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
}

.use-case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.use-case-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.use-case-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.use-case-item p {
    margin-bottom: 0;
}

.image-gallery-section {
    margin-top: 50px;
    text-align: center;
}

.image-gallery-section h2 {
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Service Detail Pages (Specific Override) */
.service-detail-hero {
    background: linear-gradient(135deg, #0047AB 0%, #00BFFF 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--white);
}

.service-detail-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 20px;
    opacity: 0.95;
}

.service-detail-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.platform-badge {
    background: linear-gradient(135deg, #0047AB 0%, #00BFFF 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
}

.use-case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.use-case-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.use-case-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.use-case-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--light-text);
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #0047AB 0%, #00BFFF 100%);
    color: var(--white);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 40px;
}

.cta-section .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ============================================== */
/* Mobile Styles & Responsive Design */
/* ============================================== */

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* View Switcher */
.view-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Mobile Media Query */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 60px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Header */
    header {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .logo {
        font-size: 30px;
        /* Increased logo size for mobile */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        flex-direction: column;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
    }

    /* Mobile contact button - match desktop button style */
    nav .btn-consult {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        background-color: var(--primary-color);
        border: none;
        color: var(--white) !important;
        font-weight: 700;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    nav .btn-consult:hover {
        background-color: #003380;
    }

    /* Mobile Dropdown */
    .has-dropdown>a::after {
        transform: none !important;
    }

    .has-dropdown:hover .mega-menu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
        display: none;
        background-color: #f9f9f9;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-top: 1px solid #eee;
    }

    .has-dropdown:hover .mega-menu {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .has-dropdown.active .mega-menu {
        display: block;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mega-menu-column {
        width: 100%;
    }

    .mega-menu-column ul {
        flex-direction: column;
        gap: 0;
        display: flex;
    }

    .mega-menu-column li {
        width: 100%;
    }

    .mega-menu-column a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        color: var(--text-color) !important;
        background-color: transparent;
        white-space: normal;
        line-height: 1.4;
    }

    .mega-menu-column a:hover {
        background-color: rgba(0, 71, 171, 0.1);
        color: var(--primary-color) !important;
    }

    /* Restore service introduction parent link on mobile as header */
    nav>ul>li.has-dropdown>a[href="#service"] {
        display: block;
        font-weight: 700;
        color: var(--primary-color);
        /* pointer-events removed to enable accordion functionality */
    }

    /* Adjustments for other sections */
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .effects-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile layout for CEO section: image top, text bottom */
    .ceo-message {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ceo-photo {
        order: -1;
    }

    .ceo-text {
        order: 1;
    }

    /* Mobile layout for company intro: text top, image bottom */
    .company-intro-hero {
        flex-direction: column;
        gap: 30px;
    }

    .company-hero-text {
        order: -1;
    }

    .company-hero-image {
        order: 1;
        width: 100%;
        height: 400px;
    }

    /* Service detail page breadcrumb - mobile only */
    .service-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 15px;
        font-size: 14px;
        color: var(--primary-color);
    }

    .breadcrumb-category {
        font-weight: 600;
    }

    .breadcrumb-separator {
        font-size: 16px;
        color: var(--light-text);
    }

    /* Ensure service detail pages use single column on mobile */
    .feature-grid {
        grid-template-columns: 1fr !important;
    }

    .use-case-list {
        grid-template-columns: 1fr !important;
    }

    .image-gallery {
        grid-template-columns: 1fr !important;
    }

    /* Mobile layout for Adoption Effects: number top, text bottom */
    .effect-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .effect-item .number {
        margin-bottom: 10px;
        display: block;
    }

    /* Mobile map size adjustment */
    .map-placeholder {
        width: 100%;
        height: 300px;
    }

    .map-placeholder iframe {
        width: 100%;
        height: 300px;
    }

    /* Mobile layout for Location: map top, address bottom */
    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Responsive typography - fluid font sizes for mobile */
    body {
        font-size: clamp(14px, 3.5vw, 16px);
    }

    h1 {
        font-size: clamp(24px, 6vw, 32px) !important;
    }

    h2 {
        font-size: clamp(20px, 5vw, 28px) !important;
    }

    h3 {
        font-size: clamp(18px, 4.5vw, 24px) !important;
    }

    h4 {
        font-size: clamp(16px, 4vw, 20px) !important;
    }

    p,
    li,
    a {
        font-size: clamp(14px, 3.5vw, 16px) !important;
    }

    .hero-content h1 {
        font-size: clamp(28px, 7vw, 40px) !important;
    }

    .hero-content p {
        font-size: clamp(14px, 3.5vw, 18px) !important;
    }

    .section-header h2 {
        font-size: clamp(24px, 6vw, 36px) !important;
    }

    .section-header p {
        font-size: clamp(14px, 3.5vw, 18px) !important;
    }

    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* Force View Modes */
body.force-mobile-view {
    max-width: 375px;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* When forcing mobile view on desktop, we need to apply mobile styles */
body.force-mobile-view .desktop-only {
    display: none !important;
}

body.force-mobile-view .mobile-only {
    display: block !important;
}

body.force-mobile-view .hamburger {
    display: flex;
}

body.force-mobile-view .logo {
    font-size: 30px;
    /* Increased logo size for mobile */
}

body.force-mobile-view nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: block;
    flex-direction: column;
    /* Ensure it's visible for sliding */
}

body.force-mobile-view nav.active {
    right: 0;
}

body.force-mobile-view nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
}

body.force-mobile-view nav>ul>li {
    width: 100%;
    border-bottom: 1px solid #eee;
}

body.force-mobile-view nav a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    width: 100%;
}

/* Mobile contact button - match desktop button style */
body.force-mobile-view nav .btn-consult {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    background-color: var(--primary-color);
    border: none;
    color: var(--white) !important;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

body.force-mobile-view nav .btn-consult:hover {
    background-color: #003380;
}

body.force-mobile-view .has-dropdown>a::after {
    transform: none !important;
}

body.force-mobile-view .has-dropdown:hover .mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: none;
}

body.force-mobile-view .mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    display: none;
    background-color: #f9f9f9;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: 1px solid #eee;
}

body.force-mobile-view .has-dropdown.active .mega-menu {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

body.force-mobile-view .mega-menu-column {
    width: 100%;
}

body.force-mobile-view .mega-menu-column ul {
    flex-direction: column;
    gap: 0;
    display: flex;
}

body.force-mobile-view .mega-menu-column li {
    width: 100%;
}

body.force-mobile-view .mega-menu-column a {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--text-color) !important;
    background-color: transparent;
    white-space: normal;
    line-height: 1.4;
}

body.force-mobile-view .mega-menu-column a:hover {
    background-color: rgba(0, 71, 171, 0.1);
    color: var(--primary-color) !important;
}

/* Restore service introduction parent link on mobile as header */
body.force-mobile-view nav>ul>li.has-dropdown>a[href="#service"] {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    /* pointer-events removed to enable accordion functionality */
}

body.force-mobile-view .service-grid {
    grid-template-columns: 1fr;
}

/* Mobile layout for CEO section: image top, text bottom */
body.force-mobile-view .ceo-message {
    grid-template-columns: 1fr;
    gap: 30px;
}

body.force-mobile-view .ceo-photo {
    order: -1;
}

body.force-mobile-view .ceo-text {
    order: 1;
}

/* Mobile layout for company intro: text top, image bottom */
body.force-mobile-view .company-intro-hero {
    flex-direction: column;
    gap: 30px;
}

body.force-mobile-view .company-hero-text {
    order: -1;
}

body.force-mobile-view .company-hero-image {
    order: 1;
    width: 100%;
    height: 400px;
}

/* Service detail page breadcrumb - mobile only */
body.force-mobile-view .service-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--primary-color);
}

body.force-mobile-view .breadcrumb-category {
    font-weight: 600;
}

body.force-mobile-view .breadcrumb-separator {
    font-size: 16px;
    color: var(--light-text);
}

/* Ensure service detail pages use single column on mobile */
body.force-mobile-view .feature-grid {
    grid-template-columns: 1fr !important;
}

body.force-mobile-view .use-case-list {
    grid-template-columns: 1fr !important;
}

body.force-mobile-view .image-gallery {
    grid-template-columns: 1fr !important;
}

/* Mobile layout for Adoption Effects: number top, text bottom */
body.force-mobile-view .effect-item {
    grid-template-columns: 1fr;
    text-align: left;
}

body.force-mobile-view .effect-item .number {
    margin-bottom: 10px;
    display: block;
}

/* Mobile map size adjustment */
body.force-mobile-view .map-placeholder {
    width: 100%;
    height: 300px;
}

body.force-mobile-view .map-placeholder iframe {
    width: 100%;
    height: 300px;
}

/* Mobile layout for Location: map top, address bottom */
body.force-mobile-view .location-content {
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Responsive typography - fluid font sizes for mobile */
body.force-mobile-view body {
    font-size: clamp(14px, 3.5vw, 16px);
}

body.force-mobile-view h1 {
    font-size: clamp(24px, 6vw, 32px) !important;
}

body.force-mobile-view h2 {
    font-size: clamp(20px, 5vw, 28px) !important;
}

body.force-mobile-view h3 {
    font-size: clamp(18px, 4.5vw, 24px) !important;
}

body.force-mobile-view h4 {
    font-size: clamp(16px, 4vw, 20px) !important;
}

body.force-mobile-view p,
body.force-mobile-view li,
body.force-mobile-view a {
    font-size: clamp(14px, 3.5vw, 16px) !important;
}

body.force-mobile-view .hero-content h1 {
    font-size: clamp(28px, 7vw, 40px) !important;
}

body.force-mobile-view .hero-content p {
    font-size: clamp(14px, 3.5vw, 18px) !important;
}

body.force-mobile-view .section-header h2 {
    font-size: clamp(24px, 6vw, 36px) !important;
}

body.force-mobile-view .section-header p {
    font-size: clamp(14px, 3.5vw, 18px) !important;
}