:root {
    /* Color Identity: Navy Blue & Premium Gold/Orange */
    --primary-color: #0B2447;
    --secondary-color: #19376D;
    --accent-color: #F9A826;
    /* Premium Golden Orange */
    --accent-hover: #E89715;
    --text-dark: #0F172A;
    --text-gray: #475569;
    --text-light: #F8FAFC;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;

    /* Spacing & Layout */
    --section-padding: clamp(4rem, 8vh, 8rem);
    --container-width: 1280px;
    --border-radius: 12px;

    /* Typography Hierarchy (Golden Ratio approx 1.618) */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --step-0: clamp(1rem, 0.95vw + 0.75rem, 1.125rem);
    /* Body */
    --step-1: clamp(1.2rem, 1.2vw + 1rem, 1.5rem);
    /* H4 */
    --step-2: clamp(1.44rem, 1.5vw + 1.2rem, 2rem);
    /* H3 */
    --step-3: clamp(1.728rem, 2vw + 1.5rem, 2.75rem);
    /* H2 / Section Title */
    --step-4: clamp(2.4rem, 5vw + 2rem, 4.5rem);
    /* H1 / Hero */

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px -5px rgba(0, 0, 0, 0.1), 0 5px 15px -5px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 10px 20px -5px rgba(249, 168, 38, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    font-size: var(--step-0);
}

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

h1 {
    font-size: var(--step-4);
}

h2 {
    font-size: var(--step-3);
}

h3 {
    font-size: var(--step-2);
}

h4 {
    font-size: var(--step-1);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
}

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

.text-gold {
    color: var(--accent-color);
}

.text-white {
    color: var(--text-light);
}

.text-gray {
    color: var(--text-gray);
}

.bg-light {
    background-color: var(--bg-light);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography */
.section-title {
    font-size: var(--step-3);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title.text-center {
    display: block;
}

.section-title span {
    color: var(--accent-color);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary,
.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover,
.btn-gold:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline,
.btn-outline-gold {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover,
.btn-outline-gold:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-white {
    border-color: var(--text-light);
    color: var(--text-light);
}

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

.btn-block {
    display: flex;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 30px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(11, 36, 71, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    display: none;
    /* Hide text logo when image is present */
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--bg-light);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.btn {
    padding: 10px 20px;
}

.nav-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(25, 55, 109, 0.4), var(--primary-color) 70%),
        linear-gradient(rgba(11, 36, 71, 0.6), rgba(11, 36, 71, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--text-light);
}

.hero-text {
    max-width: 600px;
}

.hero-headline {
    font-size: var(--step-4);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s both;
}

.hero-headline span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-headline span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

.hero-subtitle {
    font-size: var(--step-1);
    line-height: 1.5;
    margin-bottom: 3rem;
    color: rgba(248, 250, 252, 0.85);
    font-weight: 400;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s both;
    max-width: 650px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}

.feature-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-silver);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    position: relative;
    margin: 0 auto 0.5rem;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.hero-scroll-indicator span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Highlight Stats */
.highlight-stats {
    background: transparent;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    /* pull up over slider */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.vm-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
    border-left: 4px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.vm-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-card {
    border-left: none;
    border-top: 4px solid var(--accent-color);
    background: var(--primary-color);
    color: var(--text-light);
}

.mission-card .vm-icon,
.mission-card h3 {
    color: var(--text-light);
}

.mission-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.mission-list i {
    margin-top: 5px;
}

/* Current Facilities */
.current-facilities {
    margin: 30px 0;
}

.current-facilities h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.facility-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
    height: 100%;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.facility-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 12px;
}

.facility-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.facility-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.facility-content ul {
    color: var(--text-gray);
    font-size: 0.95rem;
    padding-left: 20px;
}

.facility-content li {
    margin-bottom: 5px;
}

/* Services - Bento Grid */
.services {
    background: var(--bg-light);
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header .section-title {
    margin-bottom: 1rem;
}

.services-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border-color);
    min-height: 100%;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 3;
    grid-row: span 1;
}

/* Adaptive Content Scaling based on Card Size */
.bento-small .bento-content {
    padding: 1.25rem;
}

.bento-small .bento-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.bento-small .bento-text h3 {
    font-size: 1.15rem;
}

.bento-small .bento-text p,
.bento-small .service-details {
    font-size: 0.85rem;
    line-height: 1.5;
}

.bento-small .service-details li {
    margin-bottom: 0.4rem;
}

.bento-medium .bento-content {
    padding: 2rem;
}

.bento-medium .bento-text h3 {
    font-size: 1.5rem;
}

.bento-large .bento-content {
    padding: 2.5rem;
}

.bento-large .bento-text h3 {
    font-size: 1.8rem;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    filter: brightness(0.9);
}

.bento-item:hover .bento-bg img {
    transform: scale(1.1);
    filter: brightness(1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(11, 36, 71, 0.9) 0%, 
        rgba(11, 36, 71, 0.5) 40%, 
        rgba(11, 36, 71, 0.2) 70%, 
        transparent 100%);
    z-index: 2;
    transition: var(--transition);
}

.bento-item:hover .bento-overlay {
    background: linear-gradient(to top, 
        rgba(11, 36, 71, 0.95) 0%, 
        rgba(11, 36, 71, 0.4) 60%, 
        transparent 100%);
}

.bento-content {
    position: relative;
    padding: 2rem;
    color: var(--text-light);
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover .bento-content {
    transform: translateY(-5px);
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-accent);
    color: var(--primary-color);
    transition: var(--transition);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--bg-white);
    color: var(--accent-color);
}

.bento-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.bento-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.25rem 0;
}

.service-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.service-details li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.85rem;
}

.bento-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(10px);
}

.bento-item:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Why Us Section */
.why-us {
    background: radial-gradient(circle at 0% 0%, var(--secondary-color) 0%, var(--primary-color) 70%);
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-40-39c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm0-31c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm40 90c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm18-74c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM2 32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm77 31c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM30 7c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
    border-color: rgba(249, 168, 38, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 168, 38, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(-5deg) scale(1.1);
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    line-height: 1.3;
}

.feature-text p {
    color: #ffffff;
    font-size: 0.95rem;
}

.why-us-media {
    position: relative;
}

.why-us-image-wrapper {
    position: relative;
    padding: 20px;
}

.why-us-image-wrapper .img-main {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-badge-square {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(249, 168, 38, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: float 4s ease-in-out infinite;
}

.experience-badge-square .number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge-square .text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.why-us-badge-right {
    grid-column: 1;
    display: flex;
    justify-content: flex-start;
    margin-top: -20px;
}

.experience-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-accent);
    text-align: center;
    font-family: var(--font-heading);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    border: none;
    transition: var(--transition);
}

.experience-badge::before {
    content: '\f3ed';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.experience-badge:hover {
    transform: translateY(-10px) rotate(2deg);
}

.experience-badge .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-badge .text {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Customers Section */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.client-card {
    background: var(--bg-white);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

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

.client-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.client-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Contact Section */
.flex-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
    max-width: 500px;
    /* Limit width for better alignment */
    margin-left: auto;
    margin-right: auto;
}

.pic-card {
    background: linear-gradient(135deg, #25D366, #128C7E);
    /* Gradient WhatsApp colors */
    color: white;
    padding: 20px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 80px;
    /* Consistent height */
}

.pic-card:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.pic-card i {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.pic-card h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.pic-card span {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 500;
}

.form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--accent-color);
}

.form-wrapper h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 36, 71, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0 20px;
    border-top: 5px solid var(--accent-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    margin: 0 5px;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-color);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Portfolio Case Studies */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(11, 36, 71, 0.9));
    padding: 30px 20px 20px;
    color: var(--text-light);
    text-align: left;
}

.portfolio-content h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.portfolio-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-body {
    padding: 25px;
}

.news-body h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-read-more:hover {
    color: var(--accent-color);
}

/* Animations & Utility */
@keyframes elegantFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    70% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes elegantSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }

    70% {
        transform: translateX(5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes elegantSlideRight {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    70% {
        transform: translateX(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: elegantFadeIn 1s ease-out forwards;
    animation-play-state: paused;
}

.fade-in.appear {
    animation-play-state: running;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    animation: elegantSlideLeft 1s ease-out forwards;
    animation-play-state: paused;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    animation: elegantSlideRight 1s ease-out forwards;
    animation-play-state: paused;
}

.slide-in-left.appear,
.slide-in-right.appear {
    animation-play-state: running;
}

/* New Modern Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* Staggered animations for lists */
.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.cert-card:nth-child(1) {
    animation-delay: 0.1s;
}

.cert-card:nth-child(2) {
    animation-delay: 0.2s;
}

.cert-card:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.org-card:nth-child(1) {
    animation-delay: 0.1s;
}

.org-card:nth-child(2) {
    animation-delay: 0.2s;
}

.org-card:nth-child(3) {
    animation-delay: 0.3s;
}

.vm-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vm-card:nth-child(2) {
    animation-delay: 0.2s;
}

.mission-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.mission-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.mission-list li:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 992px) {

    .about-grid,
    .why-us-grid,
    .flex-contact {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        text-align: center;
        gap: 3rem;
    }

    .why-us-media {
        order: -1;
        /* Image first on mobile */
    }

    .why-us-info {
        text-align: left;
    }

    .experience-badge-square {
        position: relative;
        bottom: 0;
        left: 0;
        margin: -40px auto 0;
        width: fit-content;
        text-align: center;
        padding: 1.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        background: var(--primary-color);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .hero .headline {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .pic-grid {
        grid-template-columns: 1fr;
    }
}

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

}

/* ============================================
   PREMIUM UPGRADE STYLES
   ============================================ */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 3px;
    margin-bottom: 30px;
    animation: preloaderFadeIn 0.8s ease;
}

.preloader-logo span {
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #FFD700, var(--accent-color));
    z-index: 100001;
    width: 0%;
    transition: width 0.05s linear;
}

/* Nav Right Wrapper */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-white: #0F172A;
    /* Deep Navy Background */
    --bg-light: #1E293B;
    /* Slightly lighter for light sections */
    --text-dark: #F8FAFC;
    --text-gray: #94A3B8;
    --border-color: #334155;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .navbar {
    background-color: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-light);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.99);
}

[data-theme="dark"] .section-title {
    color: var(--text-light);
}

[data-theme="dark"] .section-title span {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

[data-theme="dark"] .stat-item h4,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .team-info h3,
[data-theme="dark"] .news-body h4,
[data-theme="dark"] .form-wrapper h3,
[data-theme="dark"] .info-item h4,
[data-theme="dark"] .lead-text,
[data-theme="dark"] .current-facilities h3,
[data-theme="dark"] .facility-content h4,
[data-theme="dark"] .client-card h4 {
    color: var(--text-light);
}

[data-theme="dark"] .facility-icon {
    color: var(--accent-color);
}

[data-theme="dark"] .facility-content p,
[data-theme="dark"] .facility-content li {
    color: #cbd5e1;
}

[data-theme="dark"] .vm-card {
    background: var(--bg-light);
    color: var(--text-light);
}

[data-theme="dark"] .vm-card p {
    color: #D1D5DB;
}

[data-theme="dark"] .section.bg-light {
    background: #111827 !important;
    /* Contrasting background for light sections */
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .client-card,
[data-theme="dark"] .legality-card,
[data-theme="dark"] .cert-card,
[data-theme="dark"] .org-card,
[data-theme="dark"] .faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .form-wrapper {
    background: var(--bg-light);
    border-top-color: var(--accent-color);
}

[data-theme="dark"] .form-control {
    background: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group label {
    color: var(--text-dark);
}

[data-theme="dark"] .stats-grid {
    background: var(--bg-light);
}

[data-theme="dark"] .btn-read-more {
    color: var(--accent-color);
}

[data-theme="dark"] .testimonial-card {
    background: var(--bg-light);
}

[data-theme="dark"] .testimonial-card p {
    color: #D1D5DB;
}

[data-theme="dark"] .testimonial-author h4 {
    color: var(--text-light);
}

/* Fix why-us section title visibility in light mode */
.why-us .section-title {
    color: #ffffff;
}

/* Dark mode: contact section icons and text */
[data-theme="dark"] .info-icon {
    background: rgba(249, 168, 38, 0.15);
    color: #ffffff;
}

[data-theme="dark"] .info-icon i {
    color: #ffffff;
}

[data-theme="dark"] .info-item p,
[data-theme="dark"] .info-item a {
    color: #cbd5e1;
}

[data-theme="dark"] .pic-card h5 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-overlay {
    background: linear-gradient(transparent, rgba(17, 24, 39, 0.95));
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: waPulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.floating-wa.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-wa:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-wa-text {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-wa:hover .floating-wa-text {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 37px;
    z-index: 999;
    background: var(--primary-color);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    color: var(--text-light);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial Section */
.testimonials {
    background: var(--bg-white);
}

.testimonial-slider {
    max-width: 700px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card>p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    z-index: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Typing Animation */
.typed-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 1.3rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 2rem;
}

.typed-cursor {
    animation: blink 0.8s infinite;
    color: var(--accent-color);
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Glassmorphism Enhancement */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.06) 0%, transparent 70%);
    transition: all 0.5s ease;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}

.service-card:hover::after {
    opacity: 1;
}

/* Portfolio hover enhancement */
.portfolio-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.02);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

/* Enhanced nav link hover */
.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

/* Smooth section entry */
.section {
    position: relative;
}

/* Premium Responsive Additions */
@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .dark-mode-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-track {
        min-height: 320px;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .floating-wa {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        bottom: 80px;
        right: 27px;
        width: 40px;
        height: 40px;
    }

    .floating-wa-text {
        display: none;
    }

    .counter-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.8rem;
    }

    .preloader-logo {
        font-size: 1.8rem;
    }

    .testimonial-track {
        min-height: 380px;
    }
}

/* ============================================
   COMPANY PROFILE UPGRADE STYLES
   ============================================ */

/* Legalitas Section */
.legality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.legality-card {
    background: var(--bg-white);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

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

.legality-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legality-card h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.legality-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.legality-date {
    display: inline-block;
    background: var(--bg-light);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Company Timeline */
.timeline-section {
    background: var(--bg-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 30px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-color);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sertifikasi Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

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

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.cert-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cert-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.org-connector {
    width: 3px;
    height: 30px;
    background: var(--accent-color);
    margin: 0 auto;
}

.org-connector-branch {
    position: relative;
    width: 3px;
    height: 30px;
}

.org-connector-branch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background: var(--accent-color);
}

.org-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    min-width: 200px;
    max-width: 280px;
    border-top: 4px solid transparent;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.org-card-top {
    border-top-color: var(--accent-color);
}

.org-card-director {
    border-top-color: var(--primary-color);
}

.org-img-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--accent-color);
}

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

.org-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.org-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-dept {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-dept span {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.org-dept span i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

/* Gallery with Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-gray);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

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

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: var(--secondary-color);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 30%, rgba(11, 36, 71, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--text-light);
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-overlay h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 3px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.gallery-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

/* Client Logo Marquee */
.client-marquee-section {
    padding: 50px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    margin-top: 30px;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.marquee-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.client-logo {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition);
}

.marquee-item:hover .client-logo {
    opacity: 1;
}

.marquee-item span {
    font-size: 0.9rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

/* Video Section */
.video-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: filter 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
    filter: brightness(0.3);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(249, 168, 38, 0.5);
    animation: playPulse 2s infinite;
}

.video-placeholder:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    margin-left: 5px;
}

.video-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1rem;
    z-index: 2;
    opacity: 0.8;
    white-space: nowrap;
}

@keyframes playPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(249, 168, 38, 0.5);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(249, 168, 38, 0);
    }
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    gap: 15px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-color);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Google Maps */
.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--border-color);
}

/* Service Detail Modal */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    background: var(--bg-white);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    z-index: 1;
    transition: var(--transition);
}

.service-modal-close:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.service-modal-body {
    padding: 40px 30px;
}

.service-modal-body h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-modal-body p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-modal-body ul {
    list-style: none;
    margin: 20px 0;
}

.service-modal-body ul li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-modal-body ul li i {
    color: var(--accent-color);
    margin-top: 3px;
}

.service-detail-btn {
    display: inline-block;
    padding: 10px 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.service-detail-btn:hover {
    color: var(--accent-color);
}

.service-detail-btn i {
    transition: transform 0.3s ease;
}

.service-detail-btn:hover i {
    transform: translateX(5px);
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    text-align: left;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-about p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent-color);
}

.footer-contact p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #64748B;
    font-size: 0.9rem;
}

/* Dark Mode Additions for Company Profile */
[data-theme="dark"] .legality-card,
[data-theme="dark"] .cert-card,
[data-theme="dark"] .org-card,
[data-theme="dark"] .faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .legality-card h4,
[data-theme="dark"] .cert-card h4,
[data-theme="dark"] .org-info h3,
[data-theme="dark"] .timeline-content h4,
[data-theme="dark"] .faq-question {
    color: var(--text-light);
}

[data-theme="dark"] .timeline-content {
    background: var(--bg-light);
}

[data-theme="dark"] .filter-btn {
    border-color: var(--border-color);
    color: var(--text-gray);
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

[data-theme="dark"] .gallery-overlay h4 {
    color: var(--accent-color);
}

[data-theme="dark"] .marquee-item {
    background: var(--bg-light);
    color: var(--text-light);
}

[data-theme="dark"] .map-wrapper {
    border-color: var(--border-color);
}

[data-theme="dark"] .service-modal {
    background: var(--bg-light);
}

[data-theme="dark"] .service-modal-body h3 {
    color: var(--text-light);
}

[data-theme="dark"] .org-dept {
    border-top-color: var(--border-color);
}

/* Responsive Additions for Company Profile */
@media (max-width: 992px) {
    .legality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .org-level-managers {
        flex-direction: column;
        align-items: center;
    }

    .org-connector-branch::after {
        width: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .logo-img {
        height: 40px;
    }

    .navbar.scrolled .logo-img {
        height: 35px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(11, 36, 71, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        padding: 40px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        visibility: hidden;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    /* grids */
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero-headline {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        min-height: 350px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-badge-right {
        margin-top: 20px;
    }

    .flex-contact {
        flex-direction: column;
        gap: 40px;
    }
}

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

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: -28px;
        width: 15px;
        height: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a,
    .footer-contact p {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .legality-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .org-card {
        min-width: 0;
        width: 100%;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 18px;
    }
}

/* ============================================
   PHASE 3: ENTERPRISE FEATURES STYLES
   ============================================ */

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 15px;
}

.lang-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    padding: 2px 5px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--accent-color);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Tracking Section */
.tracking-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
}

.tracking-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tracking-header {
    margin-bottom: 30px;
}

.tracking-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.tracking-form .form-control {
    background: var(--bg-white);
    padding: 15px 25px;
    flex-grow: 1;
}

.tracking-result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    /* Shown by JS */
    text-align: left;
    background: rgba(249, 168, 38, 0.1);
    border-left: 4px solid var(--accent-color);
}

/* Coverage Map */
.map-viz {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-img {
    width: 100%;
    display: block;
    filter: brightness(0.6) sepia(0.2) hue-rotate(180deg);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotspot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.hotspot span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hotspot::after {
    content: attr(data-city);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.hotspot:hover::after {
    opacity: 1;
}

.hotspot-jkt {
    top: 60%;
    left: 25%;
}

.hotspot-sby {
    top: 64%;
    left: 35%;
}

.hotspot-mdn {
    top: 25%;
    left: 10%;
}

.hotspot-plm {
    top: 45%;
    left: 18%;
}

.hotspot-mks {
    top: 60%;
    left: 55%;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.m-stat {
    display: flex;
    flex-direction: column;
}

.m-stat strong {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.m-stat span {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Careers Section */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

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

.job-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.job-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.job-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.job-req {
    margin-bottom: 25px;
    list-style: disc;
    padding-left: 20px;
}

.job-req li {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* Dark Mode Overrides for Phase 3 */
[data-theme="dark"] .tracking-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .m-stat strong {
    color: var(--accent-color);
}

[data-theme="dark"] .job-card {
    background: var(--bg-light);
}

[data-theme="dark"] .job-card h4 {
    color: var(--text-light);
}

[data-theme="dark"] .job-req li {
    color: #cbd5e1;
}

/* Desktop and Tablet Adjustments */
@media (max-width: 992px) {
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .careers-grid {
        grid-template-columns: 1fr;
    }

    .tracking-form {
        flex-direction: column;
    }

    .map-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .m-stat strong {
        font-size: 1.5rem;
    }

    .tracking-card {
        padding: 30px 20px;
    }

    /* Fix highlight stats overlap on mobile */
    .highlight-stats {
        margin-top: 0;
        padding-top: 20px;
        background: var(--bg-light);
    }

    .stats-grid {
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 20px;
    }
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.8rem;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }

    .bento-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .facility-item {
        padding: 15px;
    }

    .current-facilities h3 {
        font-size: 1.2rem;
    }

    .service-details li {
        font-size: 0.75rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 280px;
    }

    .bento-content {
        padding: 1.5rem;
    }

    .bento-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .bento-text h3 {
        font-size: 1.2rem;
    }

    .bento-text p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .service-details li {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .bento-arrow {
        top: 1.25rem;
        right: 1.25rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
        /* Slightly reduced for better mobile flow */
    }

    .gallery-grid {
        gap: 25px;
        /* More space between gallery items */
    }

    .marquee-track {
        gap: 20px;
    }

    .marquee-item {
        padding: 12px 20px;
    }

    /* Navigation Mobile Fix */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }

    /* About Grid Mobile Fix */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Why Us mobile spacing */
    .feature-item {
        gap: 25px;
        margin-bottom: 35px;
    }
    
    .feature-icon {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .bento-item {
        min-height: 250px;
    }

    .bento-content {
        padding: 1.25rem;
    }

    .bento-text h3 {
        font-size: 1.05rem;
    }

    .bento-text p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.8rem;
    }

    .service-details {
        display: none;
    }
}

/* ============================================
   ADAPTIVE DYNAMIC GRIDS (Future-Proof)
   ============================================ */

/* News Grid Adaptive */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: auto;
    bottom: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.news-body {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-body h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Gallery Grid Adaptive */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Client Grid Adaptive (Marquee Fallback) */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
    align-items: center;
}

/* Responsive Overrides for Grids */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-large, .bento-medium, .bento-small, .bento-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 300px;
    }
}