* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --primary: #06416F;
    --primary-dark: #053258;
    --primary-light: #1e40af;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.border-primary { border-color: var(--primary); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-800 { color: var(--gray-800); }
.text-white { color: white; }
.text-blue-200 { color: var(--blue-200); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
    .container { padding: 0 32px; }
}

.section-padding {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card-hover:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.banner-section {
    position: relative;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .banner-section {
        height: 400px;
    }
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(6, 65, 111, 0.7);
}

.banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .banner-content {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .banner-content {
        padding: 0 4rem;
    }
}

.banner-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 3.125rem;
    }
}

.banner-desc {
    font-size: 1.125rem;
    color: var(--blue-100);
}

@media (min-width: 768px) {
    .banner-desc {
        font-size: 1.25rem;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--gray-200);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.modal-close:hover {
    background-color: var(--gray-300);
}

.modal-close-text {
    color: var(--gray-600);
    font-size: 1.25rem;
    line-height: 0;
}

.modal-header {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.modal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.modal-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    background-color: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 1rem;
}

.modal-btn:hover {
    background-color: var(--primary-dark);
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.hidden {
    display: none !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover\:bg-gray-100:hover {
    background-color: var(--gray-100);
}

header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .header-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 32px;
    }
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background-color: #ffffff;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
    padding: 0 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 0.375rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-item.has-submenu .nav-link {
    color: var(--primary);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(6, 65, 111, 0.08);
}

.nav-item.has-submenu:hover .nav-link {
    background-color: rgba(6, 65, 111, 0.12);
}

.chevron-icon {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.25s ease, color 0.25s ease;
    color: var(--gray-400);
}

.nav-item:hover .chevron-icon,
.nav-item.open .chevron-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.submenu {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    background-color: white;
    border: 1px solid var(--gray-100);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.375rem 0;
    width: 11rem;
    display: none;
    z-index: 100;
    border-radius: 0.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-item.open .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 1.5rem;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    z-index: 1;
}

.submenu-item a {
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: all 0.2s ease;
    gap: 0.5rem;
    cursor: pointer;
}

.submenu-item a:hover {
    background-color: var(--primary);
    color: white;
    padding-left: 1.5rem;
}

.mobile-menu-btn {
    padding: 0.5rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.menu-icon, .close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.close-icon {
    display: none;
}

.mobile-menu-open .menu-icon {
    display: none;
}

.mobile-menu-open .close-icon {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    padding-bottom: 1rem;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav-item {
    width: 100%;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    transition: background-color 0.2s ease;
}

.mobile-nav-header:hover {
    background-color: var(--gray-100);
}

.mobile-nav-link {
    flex: 1;
    font-size: 0.875rem;
    padding-right: 1rem;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    flex: 1;
}

.mobile-submenu {
    background-color: var(--gray-50);
    padding-left: 2rem;
    display: none;
}

.mobile-submenu.show {
    display: block;
}

.mobile-submenu-item a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-submenu-item a:hover {
    background-color: var(--primary);
    color: white;
}

footer {
    background-color: var(--gray-100);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .footer-container {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 2rem 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.footer-logo-col {
    grid-column: span 2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-logo-col {
        grid-column: span 1;
        margin-bottom: 0;
    }
}

.footer-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.footer-link-section {
    margin-bottom: 1rem;
}

.footer-link-title {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-link-title:hover {
    color: var(--primary);
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link-item a {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-link-item a:hover {
    color: var(--primary);
}

.footer-qrcode-col {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .footer-qrcode-col {
        grid-column: span 1;
    }
}

.qrcode-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
}

.qrcode-img {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 0.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.qrcode-text {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        gap: 0;
    }
}

.footer-contact {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-contact {
        text-align: left;
    }
}

.footer-contact-phone {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-contact-address {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.footer-copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

.copyright-text {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.copyright-icp {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .slider-section {
        height: 600px;
    }
}

.slider-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.slider-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .slider-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .slider-content {
        padding: 0 2rem;
    }
}

.slider-tag {
    display: inline-block;
    background: rgba(107, 114, 128, 0.5);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
}

.slider-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .slider-title {
        font-size: 3.125rem;
    }
}

.slider-description {
    color: var(--gray-300);
    max-width: 32rem;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    padding: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0;
    border: none;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.slider-nav-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .slider-click-zone {
        display: none;
    }
}

.slider-nav-btn svg {
    width: 8rem;
    height: 8rem;
}

.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slider-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.75);
}

.slider-indicator.active {
    background: white;
}

.slider-click-zone {
    position: absolute;
    top: 0;
    height: 100%;
    width: 33.333%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
}

.slider-click-zone.left {
    left: 0;
    justify-content: flex-start;
}

.slider-click-zone.right {
    right: 0;
    justify-content: flex-end;
}

.stats-section {
    background-color: var(--primary);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stats-item {
    text-align: center;
    color: white;
}

.stats-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .stats-value {
        font-size: 3rem;
    }
}

.stats-label {
    font-size: 0.75rem;
    color: var(--blue-200);
}

@media (min-width: 768px) {
    .stats-label {
        font-size: 0.875rem;
    }
}

.service-section {
    padding: 3rem 0;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
}

.service-image-wrapper {
    width: 100%;
    margin-bottom: 2rem;
}

.service-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .service-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .service-section {
        padding: 4rem 0;
    }
}

.service-card {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.service-card .btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .service-card .btn-group {
        flex-direction: row;
        justify-content: center;
    }
}

.service-card .btn-primary,
.service-card .btn-outline {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.tools-section {
    padding: 3rem 0;
    background: white;
}

@media (min-width: 768px) {
    .tools-section {
        padding: 4rem 0;
    }
}

.tools-card {
    border-radius: 0.75rem;
    padding: 2rem;
}

.tools-card-blue {
    background: var(--blue-100);
}

.tools-card-gray {
    background: var(--gray-100);
}

.tools-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.tools-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.tools-card .btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .tools-card .btn-group {
        flex-direction: row;
    }
}

.tools-card .btn-primary,
.tools-card .btn-outline {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.tools-card img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.5rem;
}