/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-background: #0d0f14;
    --color-foreground: #fafafa;
    --color-card: #1a1f2e;
    --color-accent: #d4a03c;
    --color-muted: #888;
    --color-border: #333;
    --color-category-1: #FF3B00;
    --color-category-2: #AE4DFF;
    --color-category-3: #00BEFF;
    --color-category-4: #00D47B;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-card);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover {
    color: white;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 1.5rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.dropdown-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 0.5rem;
}

.dropdown-column ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.25rem 0;
}

.dropdown-column ul li a:hover {
    color: white;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-link-mobile:hover {
    color: white;
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.mobile-dropdown-toggle::after {
    content: '▼';
    position: absolute;
    right: 0;
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-subcategory {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.mobile-subcategory strong {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mobile-subcategory a {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.mobile-subcategory a:hover {
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide:nth-child(1) {
    background-image: url('images/banner/Banner-1.png');
}

.hero-slide:nth-child(2) {
    background-image: url('images/banner/Banner-2.png');
}

.hero-slide:nth-child(3) {
    background-image: url('images/banner/Banner-3.png');
}

.hero-slide:nth-child(4) {
    background-image: url('images/banner/Banner-4.png');
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 31, 46, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 64px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-text {
    max-width: 48rem;
}

.hero-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hero-accent-line {
    display: none;
    width: 4px;
    height: 128px;
    background-color: var(--color-accent);
    margin-top: 0.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    line-height: 1.2;
}

.hero-description {
    margin-top: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 42rem;
    line-height: 1.7;
}

.hero-categories {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #4d7087
}

.hero-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.category-btn {
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    position: relative;
}

.category-btn span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    line-height: 1.4;
}

.category-1 {
    background-color: var(--color-category-1);
}

.category-1:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
}

.category-2 {
    background-color: var(--color-category-2);
}

.category-2:hover {
    background-color: #c77dff;
    transform: translateY(-2px);
}

.category-3 {
    background-color: var(--color-category-3);
}

.category-3:hover {
    background-color: #33c9ff;
    transform: translateY(-2px);
}

.category-4 {
    background-color: var(--color-category-4);
}

.category-4:hover {
    background-color: #00f593;
    transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
    padding: 5rem 0;
    background-color: var(--color-background);
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--color-background), rgba(13, 15, 20, 0.5), transparent);
    opacity: 0.8;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    transition: color 0.3s;
}

.service-card:hover .service-link {
    color: var(--color-accent);
}

.service-link svg {
    transition: transform 0.3s;
}

.service-card:hover .service-link svg {
    transform: translate(4px, -4px);
}

/* Feature Section */
.feature-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0A2540 0%, #1a3a5c 100%);
}

.feature-image-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.silhouette-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 190, 255, 0.3));
}

.feature-text-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.feature-image {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
}

/* World Map Section */
.world-map-section {
    padding: 8rem 0;
    background-color: var(--color-background);
}

.text-center {
    text-align: center;
    margin-bottom: 4rem;
}

.world-map-wrapper {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    aspect-ratio: 2/1;
}

.world-map {
    width: 100%;
    height: 100%;
}

.map-dots-bg {
    color: rgba(136, 136, 136, 0.3);
}

.map-dots-active {
    color: var(--color-accent);
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.country-count {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
}

.count-number {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.count-label {
    color: var(--color-muted);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* Projects Section */
.projects-section {
    padding: 8rem 0;
    background-color: var(--color-card);
}

.project-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    background-color: var(--color-background);
}

.project-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--color-background), rgba(13, 15, 20, 0.6), transparent);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-foreground);
    transition: color 0.3s;
}

.project-card:hover .project-link {
    color: var(--color-accent);
}

.project-link svg {
    transition: transform 0.3s;
}

.project-card:hover .project-link svg {
    transform: translate(4px, -4px);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: var(--color-background);
}

.about-image {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-foreground);
    color: var(--color-background);
    padding: 1rem 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
}

/* Footer */
.footer {
    padding: 5rem 0;
    background-color: var(--color-card);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-brand {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.brand-element {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.brand-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.footer-description {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-foreground);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item p,
.contact-item a {
    font-size: 0.875rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--color-foreground);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 767px) {
    .logo-image {
        height: 36px;
        max-width: 150px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }

    .hero-content {
        padding: 0 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .category-btn span {
        font-size: 0.875rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }

    .project-title {
        font-size: 1.875rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .count-number {
        font-size: 9rem;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-accent-line {
        display: block;
    }

    .logo-image {
        height: 56px;
        max-width: 250px;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 3rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
