/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   PT. Buana Tekno Solusindo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Premium Light Blue & White Theme */
    --primary: hsl(210, 100%, 50%);         /* Vibrant Royal Blue */
    --primary-light: hsl(205, 100%, 65%);   /* Soft Bright Blue */
    --primary-dark: hsl(215, 100%, 20%);    /* Deep Navy */
    --accent: hsl(190, 100%, 42%);          /* Cyan / Aqua Blue */
    --accent-light: hsl(190, 100%, 93%);    /* Very Light Aqua */
    --bg-white: #ffffff;                    /* Pure White */
    --bg-ice: hsl(210, 40%, 98%);           /* Subtle Ice Blue/White */
    --bg-glass: rgba(255, 255, 255, 0.8);  /* Glassmorphism White */
    --border-glass: rgba(200, 220, 245, 0.5); /* Glassmorphism Border */
    
    /* Text Colors */
    --text-primary: hsl(220, 45%, 15%);     /* Deep Charcoal/Navy */
    --text-muted: hsl(215, 20%, 45%);       /* Slate Gray */
    --text-light: hsl(210, 20%, 95%);       /* Off-White */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --grad-light: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-ice) 100%);
    --grad-blue-soft: linear-gradient(135deg, hsl(210, 100%, 97%) 0%, hsl(195, 100%, 95%) 100%);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(150, 180, 210, 0.15), 0 4px 6px -2px rgba(150, 180, 210, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(120, 160, 200, 0.25);
    --shadow-inset: inset 0 2px 4px 0 rgba(255, 255, 255, 0.9);
    
    /* Transitions & Borders */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Layout Constants */
    --header-height: 90px;
    --max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-ice);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-ice);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-ice {
    background: var(--grad-light);
}

.section-bg-gradient {
    background: var(--grad-blue-soft);
}

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

.subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.section-title span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--bg-white);
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid rgba(0, 102, 255, 0.15);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--accent-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Glassmorphism elements */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.25);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-weight: 400;
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--grad-primary);
    width: 0;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Fullscreen Carousel Background */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.85) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--max-width);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
}

.hero-content h1 span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-primary);
    opacity: 0.95;
    margin-bottom: 36px;
    max-width: 700px;
    text-align: center;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
}

/* Hero Clients Banner */
.hero-clients {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-clients-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.clients-ticker {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-slider {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: ticker-scroll 38.5s linear infinite;
}

.clients-slider:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    height: 38px;
    transition: var(--transition);
    flex-shrink: 0;
}

.client-logo img,
.client-logo svg {
    height: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-2px);
}

.client-logo:hover img,
.client-logo:hover svg {
    opacity: 1;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-bar {
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.stats-bar .glass-card {
    background: rgba(224, 238, 255, 0.65); /* Translucent light blue tint */
    border: 1px solid rgba(0, 102, 255, 0.15); /* Light blue border */
    box-shadow: 0 15px 35px -5px rgba(0, 80, 200, 0.08);
}

.stats-bar .glass-card:hover {
    background: rgba(224, 238, 255, 0.75);
    border-color: rgba(0, 102, 255, 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about .container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.about-img-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.about-img-group::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 6px solid var(--accent-light);
    border-radius: var(--radius-md);
    bottom: -30px;
    left: -30px;
    z-index: -1;
}

.about-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img.img-tall {
    grid-row: span 2;
    align-self: center;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.about-feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

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

.service-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--grad-primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
    box-shadow: 0 8px 16px -4px rgba(0, 102, 255, 0.3);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link svg {
    transition: var(--transition);
}

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

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-ice);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--grad-primary);
    color: var(--bg-white);
    box-shadow: 0 8px 16px -4px rgba(0, 102, 255, 0.2);
    border-color: transparent;
}

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

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    height: 380px;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 30, 90, 0.9) 0%, rgba(0, 102, 255, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.35rem;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.portfolio-detail-btn {
    align-self: flex-start;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.portfolio-detail-btn:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

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

.team-card {
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-ice);
}

.team-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-ice);
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    opacity: 0;
}

.team-card:hover .team-socials {
    bottom: 20px;
    opacity: 1;
}

.team-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.team-social-link:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact .container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-map-card {
    margin-top: 40px;
    padding: 10px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-glass);
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: calc(var(--radius-md) - 8px);
}

.contact-form-card {
    padding: 50px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-glass);
    background: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 4px var(--accent-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 280px; /* Taller square-like textarea */
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-top > div:first-child {
    max-width: 480px;
}

.footer-newsletter {
    max-width: 450px;
    justify-self: end;
    width: 100%;
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: 10px 20px;
    background: var(--grad-primary);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.newsletter-btn:hover {
    background: var(--accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.6;
}

/* ==========================================================================
   ACTIVITIES PAGE STYLES
   ========================================================================== */



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

.activity-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-ice);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-glass);
}

.activity-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-ice);
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-img {
    transform: scale(1.05);
}

.activity-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.activity-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.activity-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-title {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.activity-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.activity-link-btn {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.activity-link-btn svg {
    transition: var(--transition);
}

.activity-card:hover .activity-link-btn svg {
    transform: translateX(5px);
}

/* ==========================================================================
   SCROLL EFFECTS / FADE-INS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Utilites for Animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about .container,
    .contact .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-img-group {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content p {
        margin: 0 auto 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-badge {
        left: 0;
        bottom: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .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);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .logo img {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    

    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .services-grid,
    .portfolio-grid,
    .team-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        justify-self: start;
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    .product-logo img,
    .product-logo svg {
        transform: scale(calc(var(--logo-scale, 1) * 0.85));
    }
}

/* ==========================================================================
   PRODUCTS PAGE SECTION
   ========================================================================== */

.hero.subpage-hero {
    min-height: 45vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    background: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 255, 0.25);
}

.product-card-more {
    grid-column: span 6;
    background: var(--grad-primary);
    border: none;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.3);
}

.product-card-more p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--bg-white);
    margin: 0;
}

.product-card-more:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -5px rgba(0, 102, 255, 0.4);
    opacity: 0.95;
}

.product-logo {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-logo img,
.product-logo svg {
    max-height: 38px;
    max-width: min(100%, 135px);
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition);
    transform: scale(var(--logo-scale, 1));
}

/* Balance visual weight of square/circular logos (make them slightly smaller) */
.product-logo img[src*="cisco"] {
    max-height: 105px; /* Increased by an additional 50% */
}
.product-logo img[src*="hp"] {
    max-height: 63px; /* Increased by an additional 50% */
}

/* Adjust logos with significant built-in padding to make them appear uniform */
.product-logo img[src*="apple"] {
    max-height: 58px; /* Increased by 20% from 48px */
}
.product-logo img[src*="lenovo"] {
    max-height: 75px; /* Increased by an additional 30% */
}
.product-logo img[src*="microsoft"] {
    max-height: 77px; /* Increased by another 20% from 64px */
}
.product-logo img[src*="sangfor"] {
    max-height: 154px; /* Increased by 20% from 128px */
}
.product-logo img[src*="ruckus"] {
    max-height: 76px; /* Increased by 100% from 38px */
}

/* Boost extremely wide logos so they don't look like thin lines */
.product-logo img[src*="fortinet"] {
    max-width: min(100%, 170px);
    max-height: 45px;
}
.product-logo img[src*="asus"],
.product-logo img[src*="acer"] {
    max-width: min(100%, 155px);
    max-height: 42px;
}
.product-logo img[src*="fujitsu"] {
    max-height: 53px; /* Increased by 40% from 38px */
    max-width: min(100%, 189px);  /* Increased by 40% from 135px */
}
.product-logo img[src*="dell"] {
    max-height: 32px; /* Adjusted: +20% from the reduced size */
    max-width: min(100%, 114px);
}
.product-logo img[src*="epson"] {
    max-height: 34px; /* Decreased by 10% from 38px */
    max-width: min(100%, 122px);  /* Decreased by 10% from 135px */
}
.product-logo img[src*="zebra"] {
    max-height: 86px; /* Increased by another 50% from 57px */
    max-width: min(100%, 305px);  /* Increased by another 50% from 203px */
}
.product-logo img[src*="juniper"] {
    max-height: 32px; /* Adjusted: +20% from the reduced size */
    max-width: min(100%, 114px);
}

.product-card:hover .product-logo img,
.product-card:hover .product-logo svg {
    opacity: 1;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 15px;
    text-align: center;
}

/* Products Responsive adjustments */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-card-more {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-card-more {
        grid-column: span 3;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
        height: 130px;
    }
    
    .product-card-more {
        grid-column: span 2;
    }
    
    .product-card-more p {
        font-size: 0.9rem;
    }
    
    .product-logo {
        height: 40px;
    }
    
    .product-name {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

/* ==========================================================================
   LANGUAGE SELECTOR (HEADER COMPONENT)
   ========================================================================== */

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.lang-selector-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 2px;
}

.lang-selector-header a {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-dark);
    opacity: 0.55;
    transition: var(--transition);
}

.lang-selector-header a:hover, .lang-selector-header a.active {
    opacity: 1;
    color: var(--primary);
}

.lang-selector-header .separator {
    width: 1px;
    height: 8px;
    background: rgba(0, 102, 255, 0.15);
}

.lang-selector-header .flag-icon {
    flex-shrink: 0;
}

/* ==========================================================================
   LANGUAGE TOGGLING VISIBILITY
   ========================================================================== */

html[lang="id"] .lang-en {
    display: none !important;
}

html[lang="en"] .lang-id {
    display: none !important;
}

/* ==========================================================================
   PRODUCT CATEGORIES & SUBCATEGORIES
   ========================================================================== */

.category-section {
    margin-top: 60px;
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    padding-top: 40px;
}

.category-title {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.subcategory-group {
    margin-bottom: 40px;
}

.subcategory-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subcategory-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==========================================================================
   CATEGORY FILTER TABS
   ========================================================================== */

.category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.1);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.25);
}

/* Subcategory Filter Tabs */
.subcategory-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    transition: var(--transition);
}

.sub-filter-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.05);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
}

.sub-filter-btn:hover {
    background: var(--accent-light);
    color: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.sub-filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(0, 204, 255, 0.2);
}

/* Filter Transition Animation */
.category-section, .subcategory-group {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
}

.category-section.filter-hide, .subcategory-group.filter-hide {
    opacity: 0 !important;
    transform: translateY(15px) scale(0.98) !important;
    pointer-events: none;
}

.category-section.hide {
    display: none !important;
}
