:root {
    --primary-color: #f6d32d; /* Malayan Yellow */
    --secondary-color: #000000; /* Malayan Black */
    --text-main: #000000;
    --text-on-dark: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Outfit', 'Google Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-light);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 45px;
    border-radius: 8px;
}

.logo-container h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

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

nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Intro Section (About) */
.intro-section {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.carousel-container {
    width: 100%;
    aspect-ratio: 4/5;
    background: #222;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 4px solid var(--primary-color);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

.intro-content h2 {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 700;
}

.intro-content h3 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.intro-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 800px;
}

.tech-stack {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

/* App Showcase Carousel Section */
.app-section {
    padding: 100px 5%;
    background: var(--bg-light);
}

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

.section-header h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.app-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scrollbar-width: none; /* Firefox */
}

.app-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.app-card {
    min-width: 280px;
    background: white;
    padding: 30px;
    border-radius: 32px;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.app-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-card .category {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.btn-view {
    padding: 10px 24px;
    border-radius: 12px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

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

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 5%;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .intro-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .carousel-container {
        max-width: 400px;
        margin: 0 auto;
    }
    .tech-stack {
        justify-content: center;
    }
    .intro-content h3 {
        font-size: 36px;
    }
}

