/* ─── PAGE TRANSITION ─── */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}

.page-transition.hide {
    opacity: 0;
    visibility: hidden;
}

.page-transition .pt-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    animation: logoFill 1s ease-in-out forwards;
}

.page-transition .pt-logo {
    width: 70px;
    height: auto;
}

.page-transition .pt-text {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.page-transition .pt-text span {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

@keyframes logoFill {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    50% {
        opacity: 1;
        transform: scale(1.03) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ─── RESET & VARIABLES ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0d2e2e;
    --primary-mid: #128c8a;
    --primary-light: #49a1ae;
    --white: #ffffff;
    --light-gray: #f0f7f7;
    --text-dark: #1a1a1a;
    --text-gray: #555;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 0 60px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.solid {
    background: rgba(13, 46, 46, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar.scrolled {
    background: rgba(13, 46, 46, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar-logo .logo-svg {
    height: 60px;
    width: auto;
    transition: height 0.3s;
}

.navbar.scrolled .logo-svg { height: 48px; }

.navbar-logo .logo-label {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.navbar-logo .logo-label span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.navbar-menu li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.navbar-menu li a i { font-size: 14px; transition: transform 0.3s; }
.navbar-menu li a:hover i { transform: rotate(180deg); }

/* ─── DROPDOWN ─── */
.navbar-menu li.has-dropdown {
    position: relative;
}

.navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s;
    list-style: none;
    z-index: 100;
}

.navbar-menu li.has-dropdown:hover .navbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown li a {
    color: var(--text-dark) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: background 0.2s !important;
    background: transparent !important;
    white-space: nowrap;
}

.navbar-dropdown li a:hover {
    background: var(--light-gray) !important;
    color: var(--primary-mid) !important;
}

.navbar-dropdown li a i {
    font-size: 16px !important;
    color: var(--primary-mid);
    width: 20px;
    text-align: center;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-lang {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: all 0.3s;
}

.navbar-lang:hover {
    border-color: var(--white);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ─── MOBILE MENU ─── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 46, 46, 0.97);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 320px;
}

.mobile-nav .mobile-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    transition: background 0.3s;
    width: 100%;
    text-align: center;
}

.mobile-nav .mobile-link:hover,
.mobile-nav .mobile-link.active {
    background: rgba(255,255,255,0.08);
}

/* ─── MOBILE DROPDOWN ─── */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-trigger {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.mobile-dropdown-trigger:hover {
    background: rgba(255,255,255,0.08);
}

.mobile-dropdown-trigger i {
    font-size: 16px;
    transition: transform 0.3s;
}

.mobile-dropdown.open .mobile-dropdown-trigger {
    background: rgba(255,255,255,0.08);
}

.mobile-dropdown.open .mobile-dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
}

.mobile-dropdown.open .mobile-submenu {
    max-height: 500px;
    padding: 8px;
}

.mobile-submenu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.mobile-submenu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.mobile-submenu a i {
    font-size: 16px;
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* ─── COMMON ─── */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-mid);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* ─── PAGE HEADER ─── */
.page-header {
    background: var(--primary);
    padding: 160px 80px 80px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(18, 140, 138, 0.08);
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover { color: var(--primary-light); }

.page-header h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
    background: #0d2e2e;
    padding: 60px 80px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 400px;
    height: 340px;
    background: url('../img/logo-icon-white.svg') center / contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.footer-top, .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 350px;
}

.footer-brand .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand .footer-logo { height: 55px; }

.footer-brand .footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
}

.footer-brand .footer-logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(18, 140, 138, 0.1);
}

/* ─── RESPONSIVE (common) ─── */
@media (max-width: 992px) {
    .navbar { padding: 0 30px; }
    .navbar-menu { display: none; }
    .hamburger { display: flex; }
    .page-header { padding: 140px 30px 60px; }
    .page-header h1 { font-size: 36px; }
    .footer { padding: 40px 30px 20px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .page-header h1 { font-size: 28px; }
    .section-title { font-size: 30px; }
    .footer-top { grid-template-columns: 1fr; }
}