/* =============================================
   PT. Sultan Satu - Company Profile CSS
   Modern, Clean, Professional Design
   ============================================= */

/* --- CSS Variables --- */
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #ecfdf5;
    --secondary: #0a0a0a;
    --accent: #22c55e;
    --text: #333333;
    --text-light: #6b7280;
    --text-dark: #0a0a0a;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Navbar --- */
#mainNav {
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #fff !important;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-brand {
    color: var(--secondary) !important;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.brand-text {
    font-weight: 400;
    letter-spacing: -0.02em;
}

.brand-text strong {
    font-weight: 800;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

#mainNav.scrolled .nav-link {
    color: var(--text) !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.btn-get-quote {
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.btn-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

#mainNav.scrolled .btn-lang {
    border-color: var(--border);
    color: var(--secondary);
    background: transparent;
}

#mainNav.scrolled .btn-lang:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-code {
    letter-spacing: 1px;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
}

#mainNav.scrolled .navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

#mainNav.scrolled .navbar-toggler-icon {
    filter: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #111111 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #22c55e, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-buttons .btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: var(--secondary);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

.hero-image {
    position: relative;
    height: 400px;
}

.hero-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(134, 239, 172, 0.2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.hero-card {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-card i {
    font-size: 2rem;
    color: var(--primary);
}

.hero-card h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-card small {
    opacity: 0.7;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Section Styles --- */
.section-padding {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 5px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Service Cards --- */
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
}

/* --- About Preview --- */
.about-image-wrapper {
    position: relative;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.about-shape-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), #dcfce7);
    border-radius: var(--radius-lg);
}

.about-shape-2 {
    position: absolute;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-radius: var(--radius-lg);
    top: 10%;
    left: 10%;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-experience-badge h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.about-experience-badge p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    margin: 4px 0 0;
    line-height: 1.3;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.about-feature i {
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Feature Cards --- */
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.feature-card:hover .feature-number {
    color: var(--primary);
}

.feature-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Projects Home Section --- */
.project-home-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), #86efac);
}

.project-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-home-year {
    margin-bottom: 16px;
}

.project-home-year span {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.project-home-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-home-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-home-location i {
    color: var(--primary);
    margin-right: 4px;
}

.project-home-card > p:not(.project-home-location) {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-home-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.project-home-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-home-stat i {
    font-size: 1.4rem;
    color: var(--primary);
}

.project-home-stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.project-home-stat span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-wrapper {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-radius: var(--radius-lg);
    padding: 60px;
    color: #fff;
}

.cta-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-wrapper p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
}

.cta-wrapper .btn-light {
    border-radius: 50px;
    font-weight: 700;
    padding: 14px 36px;
    color: var(--primary);
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #111111 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* --- About Page Specific --- */
.about-stat-card {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.about-stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-stat-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

/* --- Vision & Mission Cards --- */
.vm-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vision-card .vm-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.mission-card .vm-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.vm-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.vm-english {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.mission-number {
    min-width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mission-list li p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Business Cards --- */
.business-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.business-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    transition: var(--transition);
}

.business-card:hover .business-number {
    color: rgba(26, 86, 219, 0.15);
}

.business-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.business-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.business-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Services Page --- */
.service-detail-icon {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-light), #dcfce7);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.service-features li i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* --- Projects Page --- */
.project-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-filter {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.project-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.project-category {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-content {
    padding: 24px;
}

.project-content h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.project-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.project-meta span i {
    color: var(--primary);
}

/* Industry Cards */
.industry-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 16px;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.industry-card h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* --- Contact Page --- */
.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.form-control,
.form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.map-wrapper h3 {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 18px 24px;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    color: var(--text);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .brand-text {
    font-size: 1.4rem;
    color: #fff;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .cta-wrapper {
        padding: 40px 30px;
        text-align: center;
    }

    .cta-wrapper .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .hero-stats {
        gap: 24px;
    }

    #mainNav {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
    }

    #mainNav .navbar-collapse {
        padding: 16px 0;
    }

    .nav-link {
        padding: 10px 16px !important;
    }

    .btn-get-quote {
        margin: 10px 0;
        display: inline-block;
    }

    .lang-switcher {
        margin: 8px 0;
    }

    .btn-lang {
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
    }

    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .vm-card {
        padding: 28px;
    }

    .service-detail-icon {
        height: 200px;
        font-size: 4rem;
    }

    .about-image-wrapper {
        height: 300px;
    }

    .cta-wrapper {
        padding: 32px 24px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-badge,
    .section-badge {
        font-size: 0.75rem;
    }
}

/* --- Utility: bg-light override --- */
.bg-light {
    background-color: var(--bg-light) !important;
}

/* --- Smooth section backgrounds --- */
section {
    position: relative;
}

/* --- Project item visibility for filter --- */
.project-item.hide {
    display: none;
}
