/* ==========================================================================
   BERKAH SINERGI GEMILANG - PREMIUM DESIGN SYSTEM (SIEMENS INSPIRED)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary-dark: #000028;    /* Deep navy blue */
    --color-secondary-dark: #00001a;  /* Near black */
    --color-accent-teal: #00e6c3;     /* Vibrant Siemens teal */
    --color-accent-teal-hover: #00b398; /* Darker teal for hover states */
    --color-bg-light: #f4f5f7;        /* Clean light grey */
    --color-text-dark: #000028;       /* Primary text */
    --color-text-muted: #646478;      /* Muted grey text */
    --color-text-light: #ffffff;      /* White text */
    --color-text-light-muted: #d5d5db;/* Light grey text */
    
    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Borders & Glassmorphism */
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(0, 0, 40, 0.75);
    --blur-glass: blur(20px);
}

/* ==========================================================================
   1. Base & Reset
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

/* ==========================================================================
   2. Layout & Typography Utilities
   ========================================================================== */

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo-dot {
    color: var(--color-accent-teal);
    font-weight: 800;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 2px;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-teal-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
}

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

/* ==========================================================================
   4. Header & Navigation (Siemens-Style)
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-primary-dark);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(0, 0, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.brand-logo {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.brand-logo-img {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-logo:hover {
    transform: scale(1.03);
}

.nav-menu {
    flex-grow: 1;
    margin-left: 3rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light-muted);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--color-text-light);
}

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

/* Nav Item Dropdown (Solutions) */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow-icon {
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: slideDownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Show dropdown on hover */
.nav-item-dropdown:hover .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light-muted);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
    text-align: left;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent-teal);
}

/* Utility Actions */
.utility-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.lang-selector {
    position: relative;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem 0;
}

.lang-selector:hover {
    color: var(--color-text-light);
}

.dropdown-icon {
    transition: var(--transition-fast);
}

.lang-selector:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background-color: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: slideDownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-selector:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent-teal);
}

.support-link {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
}

.support-link:hover {
    color: var(--color-text-light);
}

.icon-btn, .search-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light-muted);
    font-family: var(--font-headings);
    font-size: 0.85rem;
}

.icon-btn:hover, .search-trigger:hover {
    color: var(--color-text-light);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light-muted);
    font-family: var(--font-headings);
    font-size: 0.85rem;
}

.login-btn:hover {
    color: var(--color-text-light);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-fast);
}

/* Search Overlay (Siemens-Style Fullscreen Search) */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 40, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.close-search {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: var(--color-text-light-muted);
    transition: var(--transition-fast);
}

.close-search:hover {
    color: var(--color-accent-teal);
    transform: rotate(90deg);
}

.search-container {
    width: 90%;
    max-width: 800px;
    text-align: left;
}

.search-form {
    display: flex;
    border-bottom: 2px solid var(--color-text-light-muted);
    padding-bottom: 0.8rem;
    margin-bottom: 2.5rem;
    transition: var(--transition-fast);
}

.search-form:focus-within {
    border-bottom-color: var(--color-accent-teal);
}

.search-input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-light);
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 300;
}

.search-submit-btn {
    font-family: var(--font-headings);
    color: var(--color-accent-teal);
    font-size: 1.1rem;
    font-weight: 600;
}

.popular-searches h3 {
    color: var(--color-text-light-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.popular-searches ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.popular-searches li a {
    display: block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--color-text-light);
    border-radius: 2px;
    font-size: 0.9rem;
}

.popular-searches li a:hover {
    background-color: var(--color-accent-teal);
    color: var(--color-primary-dark);
}

/* ==========================================================================
   5. Hero Carousel (Interactive Slider)
   ========================================================================== */

.hero-carousel {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
    z-index: 1;
}

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

/* Gradient Overlay to protect text legibility */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 40, 0.85) 0%, rgba(0, 0, 40, 0.4) 60%, rgba(0, 0, 40, 0.7) 100%);
    z-index: -1;
}

.slide-content {
    max-width: 650px;
    color: var(--color-text-light);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.slide-actions {
    display: flex;
    gap: 1rem;
}

/* Arrows controls */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 40, 0.4);
    border: 1px solid var(--border-glass);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.carousel-arrow:hover {
    background-color: var(--color-accent-teal);
    color: var(--color-primary-dark);
    border-color: var(--color-accent-teal);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

/* Timing Controls at Bottom Center */
.carousel-controls-container {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background-color: rgba(0, 0, 40, 0.6);
    backdrop-filter: blur(5px);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
}

.carousel-play-pause {
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-play-pause:hover {
    color: var(--color-accent-teal);
}

.carousel-indicators {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.indicator-dot {
    position: relative;
    width: 24px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.indicator-dot.active {
    width: 40px;
    background-color: rgba(255, 255, 255, 0.4);
}

/* Linear progress fill on active indicator */
.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-accent-teal);
}

.indicator-dot.active .progress-bar-fill {
    width: 100%;
    transition: width 5000ms linear; /* Matching slide timing */
}

.carousel-play-pause.paused + .carousel-indicators .indicator-dot.active .progress-bar-fill {
    transition: none; /* Pause progress bar */
}

/* ==========================================================================
   6. Promo Strip (News & Announcement Banner)
   ========================================================================== */

.promo-strip-container {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e8;
}

.promo-strip {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.promo-img-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 56px;
    overflow: hidden;
    border-radius: 2px;
}

.promo-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

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

/* ==========================================================================
   7. Highlights Grid & Cards
   ========================================================================== */

.highlights-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.highlight-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-teal-hover);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.card-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.card-link {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.arrow-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-link:hover {
    color: var(--color-accent-teal-hover);
}

.card-link:hover .arrow-icon {
    transform: translateX(6px);
}

/* ==========================================================================
   8. Global Footer
   ========================================================================== */

.global-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5% 4rem;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    border-bottom: 1px solid var(--border-glass);
}

.brand-info h3 {
    color: var(--color-text-light);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.brand-info p {
    color: var(--color-text-light-muted);
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column ul a {
    color: var(--color-text-light-muted);
    font-size: 0.9rem;
}

.footer-column ul a:hover {
    color: var(--color-accent-teal);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 5% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--color-accent-teal);
}

/* ==========================================================================
   8B. Subpage & Sub-navigation Styles (IT Digital Solution)
   ========================================================================== */

/* Sub-navigation Bar */
.sub-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e8;
    z-index: 990;
    transition: var(--transition-smooth);
}

.sub-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-nav-title {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.sub-nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sub-nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sub-nav-link {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.sub-nav-link:hover {
    color: var(--color-accent-teal-hover);
}

.btn-sub-nav-action {
    background-color: var(--color-accent-teal);
    color: var(--color-primary-dark);
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sub-nav-action:hover {
    background-color: var(--color-accent-teal-hover);
}

/* Translation Alert Bar */
.translation-alert-bar {
    margin-top: 140px; /* Space for main header (80px) + sub-nav (60px) */
    background-color: #002d38;
    color: var(--color-text-light-muted);
    font-size: 0.85rem;
    padding: 0.6rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.translation-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    flex-shrink: 0;
    color: var(--color-accent-teal);
}

.translation-link {
    color: var(--color-accent-teal);
    text-decoration: underline;
}

.translation-link:hover {
    color: var(--color-text-light);
}

/* Breadcrumbs Bar */
.breadcrumbs-bar {
    background-color: #000028; /* Matches the top part of the hero */
    padding: 1.2rem 2.5rem 0.2rem;
}

.breadcrumbs-container {
    max-width: 1600px;
    margin: 0 auto;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    font-size: 0.85rem;
    color: var(--color-text-light-muted);
    font-weight: 500;
}

.breadcrumb-item:hover {
    color: var(--color-accent-teal);
}

.home-icon-link {
    display: flex;
    align-items: center;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
}

/* Subpage Hero Section */
.subpage-hero {
    position: relative;
    height: 65vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
    overflow: hidden;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 40, 0.85) 0%, rgba(0, 0, 40, 0.4) 60%, rgba(0, 0, 40, 0.7) 100%);
    z-index: 1;
}

.subpage-hero-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.subpage-hero-content {
    max-width: 600px;
    color: var(--color-text-light);
}

.subpage-hero-category {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.subpage-hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.subpage-hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-light-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.subpage-hero-actions {
    display: flex;
    gap: 1rem;
}

/* Detail Content Section */
.subpage-content-details {
    background-color: #ffffff;
    padding: 6rem 2.5rem;
}

.intro-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text-block h2 {
    font-size: 2.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.intro-text-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.intro-stats-block {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(0, 0, 40, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent-teal-hover);
    line-height: 1;
}

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

/* ==========================================================================
   9. Animations Keyframes
   ========================================================================== */

@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
    .slide-title {
        font-size: 2.8rem;
    }
    .highlights-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none; /* Mobile menu toggled by JS */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-carousel {
        height: 70vh;
    }
    
    .slide-title {
        font-size: 2.4rem;
    }
    
    .promo-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .promo-action {
        width: 100%;
    }
    
    .promo-action .btn {
        width: 100%;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .brand-logo {
        font-size: 1.05rem;
    }
    
    .header-logo {
        height: 36px;
    }
    
    .hero-carousel {
        height: 60vh;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    
    .slide-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .carousel-arrow {
        display: none;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .hidden-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   8. Our Clients Marquee Slider
   ========================================================================== */

.clients-section {
    padding: 6rem 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.clients-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 5%;
}

.clients-tag {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0c4da2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.clients-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.clients-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Marquee track container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    display: flex;
}

/* Gradient overlays for fade effects on sides */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

/* Marquee scroll track */
.marquee-track {
    display: flex;
    width: max-content;
}

/* Marquee groups */
.marquee-group {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    animation: marquee-scroll 35s linear infinite;
    flex-shrink: 0;
}

.marquee-track:hover .marquee-group {
    animation-play-state: paused;
}

/* Individual client cards */
.client-card {
    width: 220px;
    height: 220px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 40, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: #0c4da2;
    box-shadow: 0 10px 25px rgba(0, 0, 40, 0.06);
}

.client-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-logo-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.client-name {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Scrolling animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   9. What We Do Section (Saratoga-Inspired Section)
   ========================================================================== */

.what-we-do-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.wwd-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.wwd-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem;
}

.wwd-tag {
    font-family: var(--font-headings);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0c4da2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}

.wwd-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.wwd-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

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

.wwd-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 40, 0.04);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.wwd-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 40, 0.1);
    border-color: #cbd5e1;
}

.wwd-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #000028;
}

.wwd-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wwd-card:hover .wwd-card-img {
    transform: scale(1.06);
}

.wwd-card-content {
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wwd-card-heading {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.wwd-card-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wwd-card-actions {
    margin-top: auto;
}

/* Saratoga-Style Pill Button with Icon Circle */
.wwd-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #eef2f6;
    color: var(--color-primary-dark);
    padding: 0.55rem 1rem 0.55rem 1.15rem;
    border-radius: 30px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.wwd-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-primary-dark);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.wwd-pill-btn:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.wwd-pill-btn:hover .wwd-btn-icon {
    transform: translateX(3px);
    background-color: var(--color-accent-teal);
    color: var(--color-primary-dark);
}

/* ==========================================================================
   10. Saratoga-Style Fullpage Snapping & Vertical Dot Navigation
   ========================================================================== */

/* /* Fullpage Section Layout (Active on all viewport sizes, including resized windows) */
html.has-fp {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body.has-fp {
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html.has-fp::-webkit-scrollbar,
body.has-fp::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.fp-section {
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Adjust Hero for fullpage */
.hero-carousel.fp-section {
    height: 100vh;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 70px;
}

.what-we-do-section.fp-section {
    height: 100vh;
    min-height: 100vh;
    padding: 5rem 0 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.what-we-do-section.fp-section .wwd-header {
    margin-bottom: 2.5rem;
}

.what-we-do-section.fp-section .wwd-card-media {
    height: 220px;
}

.clients-section.fp-section {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.clients-section.fp-section .clients-header {
    margin-bottom: 2.5rem;
}

/* Adjust Footer on fullpage pages */
.global-footer.fp-section {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 8% 2rem;
    box-sizing: border-box;
    background-color: var(--color-primary-dark) !important;
    position: relative;
    z-index: 50;
    overflow: hidden;
}

/* Subpage Hero Split in fullpage mode */
.subpage-hero-split.fp-section {
    min-height: 100vh;
    height: 100vh;
    padding-top: 95px;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Subpage Content Details & Sections in fullpage mode */
.about-vision-section.fp-section,
.about-values-section.fp-section,
.project-fp-section.fp-section,
.telecom-services-section.fp-section,
.telecom-portfolio-section.fp-section,
.portfolio-section.fp-section,
.finance-portfolio-section.fp-section,
.finance-highlights-section.fp-section,
.subpage-content-details.fp-section {
    min-height: 100vh;
    height: 100vh;
    padding-top: 95px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.project-fp-section.fp-section {
    padding: 95px 5% 2rem;
}

.telecom-services-section.fp-section,
.telecom-portfolio-section.fp-section {
    padding: 95px 5% 2rem;
}

.telecom-services-section.fp-section .gallery-card img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.telecom-portfolio-section.fp-section .gallery-card img {
    max-height: 140px;
    width: 100%;
    object-fit: cover;
}

.portfolio-section.fp-section,
.finance-portfolio-section.fp-section,
.finance-highlights-section.fp-section,
.telecom-portfolio-section.fp-section {
    padding: 95px 5% 2rem;
}

.portfolio-section.fp-section .projects-grid,
.finance-portfolio-section.fp-section .portfolio-grid,
.telecom-portfolio-section.fp-section .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.portfolio-section.fp-section .project-img-wrapper,
.finance-portfolio-section.fp-section .portfolio-img-wrapper,
.telecom-portfolio-section.fp-section .portfolio-img-wrapper {
    height: 140px;
}

.portfolio-section.fp-section .project-body,
.finance-portfolio-section.fp-section .portfolio-body,
.telecom-portfolio-section.fp-section .portfolio-body {
    padding: 1.15rem;
}

@media (max-width: 1024px) {
    .portfolio-section.fp-section .projects-grid,
    .finance-portfolio-section.fp-section .portfolio-grid,
    .telecom-portfolio-section.fp-section .portfolio-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1.2rem;
        padding-bottom: 0.8rem;
        scrollbar-width: thin;
    }

    .portfolio-section.fp-section .project-card,
    .finance-portfolio-section.fp-section .portfolio-card,
    .telecom-portfolio-section.fp-section .portfolio-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: start;
    }
}

/* Floating Vertical Dot Navigation */
.fp-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.fp-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fp-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fp-nav-btn {
    width: 24px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

/* Inactive Dot (Clean circular dot) */
.fp-nav-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(0, 0, 40, 0.32);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-nav-btn:hover .fp-nav-dot {
    background-color: var(--color-primary-dark, #000028);
    transform: scale(1.2);
}

/* Active Dot (Morphs to elongated pill shape like Saratoga) */
.fp-nav-item.active .fp-nav-dot {
    width: 9px;
    height: 28px;
    border-radius: 14px;
    background-color: var(--color-primary-dark, #000028);
    box-shadow: 0 3px 10px rgba(0, 0, 40, 0.35);
}

/* Adaptation when viewing Dark Theme Sections (e.g. Hero slide or Dark Footer) */
.fp-nav.on-dark .fp-nav-dot {
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.fp-nav.on-dark .fp-nav-btn:hover .fp-nav-dot {
    background-color: #ffffff;
    transform: scale(1.2);
}

.fp-nav.on-dark .fp-nav-item.active .fp-nav-dot {
    background-color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

/* Tooltip floating to the left of dot */
.fp-nav-tooltip {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 40, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.fp-nav.on-dark .fp-nav-tooltip {
    background: rgba(255, 255, 255, 0.95);
    color: #000028;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.fp-nav-btn:hover + .fp-nav-tooltip,
.fp-nav-btn:focus + .fp-nav-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Responsive adjustments for dot navigation & sections on smaller screens */
@media (max-width: 768px) {
    .fp-nav {
        right: 12px;
    }

    .fp-nav-list {
        gap: 8px;
    }

    .fp-nav-btn {
        width: 18px;
        height: 24px;
    }

    .fp-nav-dot {
        width: 7px;
        height: 7px;
    }

    .fp-nav-item.active .fp-nav-dot {
        width: 7px;
        height: 22px;
    }

    .fp-nav-tooltip {
        display: none !important; /* Keep mobile / half-screen view clean without tooltips blocking text */
    }

    .what-we-do-section {
        padding: 4rem 0;
    }

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

    .wwd-title {
        font-size: 2.1rem;
    }
}


