/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #d32f2f;       /* Perodua Red */
    --color-primary-dark: #b71c1c;
    --color-primary-light: #ffcdd2;
    --color-secondary: #00843d;     /* Perodua Green */
    --color-whatsapp: #25d366;      /* WhatsApp Green */
    --color-whatsapp-dark: #128c7e;
    
    /* Neutral Colors */
    --color-dark-100: #0b0f19;
    --color-dark-200: #111827;      /* Tailwind Gray 900 */
    --color-dark-300: #1f2937;      /* Tailwind Gray 800 */
    --color-dark-400: #374151;      /* Tailwind Gray 700 */
    --color-light-100: #f8fafc;     /* Slate 50 */
    --color-light-200: #f1f5f9;     /* Slate 100 */
    --color-light-300: #e2e8f0;     /* Slate 200 */
    
    --text-dark: #0f172a;           /* Slate 900 */
    --text-muted: #64748b;          /* Slate 500 */
    --text-light: #ffffff;
    --text-light-muted: #94a3b8;    /* Slate 400 */

    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --container-sm-max-width: 800px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow-red: 0 0 20px rgba(211, 47, 47, 0.3);
    --shadow-glow-green: 0 0 20px rgba(37, 211, 102, 0.4);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-light-100);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.w-full {
    width: 100%;
}

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

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

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

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    max-width: var(--container-max-width);
}

.container-sm {
    max-width: var(--container-sm-max-width);
}

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

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-wa-card {
    background-color: var(--color-whatsapp);
    color: var(--text-light);
    width: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.btn-wa-card:hover {
    background-color: var(--color-whatsapp-dark);
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--color-light-100);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark-100);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--color-primary);
    margin-right: 4px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark-300);
}

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

.btn-header-cta {
    font-size: 0.9rem;
    padding: 8px 20px;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark-100);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--color-light-100);
    z-index: 999;
    padding: 100px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-light-300);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.05);
    animation: zoomOut 20s forwards;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.4);
    color: #ff8a80;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 35px;
    color: var(--text-light-muted);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-icon {
    width: 22px;
    height: 22px;
    color: #25d366;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Hero Bottom Wave Shape */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--color-light-100);
}

/* ==========================================================================
   Promosi / USPs Section
   ========================================================================== */
.promosi-section {
    background-color: var(--color-light-100);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.usp-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

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

.usp-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
}

.usp-icon {
    width: 32px;
    height: 32px;
}

.usp-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--color-dark-100);
}

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

/* ==========================================================================
   Model Catalog Section (with Mobile Carousel)
   ========================================================================== */
.models-section {
    background-color: var(--color-light-200);
    overflow: hidden;
}

/* Layout for models container */
.models-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Carousel layout overrides for mobile below 768px */
@media (max-width: 768px) {
    .models-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 10px 5px 30px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
    }

    .models-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .model-card {
        flex: 0 0 88vw;
        scroll-snap-align: center;
        max-width: 400px;
    }
}

.model-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

.model-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #eaecef;
    overflow: hidden;
    cursor: zoom-in;
}

.model-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1));
}

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

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

.zoom-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(15, 23, 42, 0.65);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.model-img-wrapper:hover .zoom-badge {
    opacity: 1;
}

.model-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.model-name {
    font-size: 1.5rem;
    color: var(--color-dark-100);
}

.model-pricing {
    text-align: right;
}

.model-price {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 800;
}

.model-installment {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.model-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid var(--color-light-300);
    padding-top: 20px;
    flex-grow: 1;
}

.model-specs li {
    font-size: 0.85rem;
    color: var(--color-dark-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-bullet {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Horizontal swipe indicator for mobile only */
.scroll-indicator-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.scroll-indicator {
    background-color: rgba(15, 23, 42, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.swipe-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.indicator-arrow {
    display: inline-flex;
    color: var(--color-primary);
    animation: bounceRight 1.5s infinite;
}

.indicator-arrow svg {
    width: 16px;
    height: 16px;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.hide-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: flex;
    }
}

/* Skeleton Loading CSS */
.skeleton-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skeleton-card {
    height: 400px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius-md);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   Process Section (Timeline Steps)
   ========================================================================== */
.proses-section {
    background-color: var(--color-light-100);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.step-card {
    background-color: var(--text-light);
    padding: 40px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow-red);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimoni-section {
    background-color: var(--color-light-200);
}

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

.testimonial-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-rating {
    color: #fbbf24; /* Amber 400 */
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-dark-400);
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
}

.testimonial-user h4 {
    font-size: 1rem;
    color: var(--color-dark-100);
}

.testimonial-user p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Salesman Profile Section
   ========================================================================== */
.profile-section {
    background-color: var(--color-light-100);
}

.profile-card {
    background-color: var(--color-dark-200);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: stretch;
}

.profile-img-col {
    position: relative;
    background-color: var(--color-dark-300);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.status-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
}

.pulse {
    width: 10px;
    height: 10px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1);
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

.profile-content-col {
    padding: 55px;
    color: var(--text-light);
}

.profile-tag {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.profile-content-col h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.profile-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light-muted);
    margin-bottom: 35px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-dark-300);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item .value {
    font-size: 1.15rem;
    font-weight: 700;
}

.contact-item a.value:hover {
    color: var(--color-primary);
}

.profile-actions .btn {
    box-shadow: var(--shadow-glow-red);
}

@media (max-width: 992px) {
    .profile-card {
        grid-template-columns: 1fr;
    }
    
    .profile-img-col {
        height: 380px;
        align-items: center;
    }
    
    .profile-content-col {
        padding: 40px 30px;
    }
}

/* ==========================================================================
   FAQ Section (Accordions)
   ========================================================================== */
.faq-section {
    background-color: var(--color-light-200);
}

.faq-accordion-group {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--text-light);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark-100);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.faq-icon-arrow {
    font-size: 1.3rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 30px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-bottom: 22px;
}

/* FAQ Active Styles */
.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: var(--color-dark-100);
    color: var(--text-light-muted);
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

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

.footer-container {
    display: flex;
    flex-direction: column;
}

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

.footer-brand .logo {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-about {
    max-width: 320px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.footer-contact-info p {
    margin-bottom: 12px;
}

.footer-contact-info a:hover {
    color: var(--text-light);
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
}

.disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-primary);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-about {
        max-width: 100%;
    }
}

/* ==========================================================================
   Image Lightbox Zoom Modal
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 15, 25, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-premium);
}

.lightbox-caption {
    color: var(--text-light);
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light-muted);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
    user-select: none;
}

.lightbox-close:hover {
    color: var(--text-light);
}

@media (max-width: 576px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Floating Bottom Sticky Bar (Mobile Only)
   ========================================================================== */
.floating-actions {
    display: none;
}

@media (max-width: 768px) {
    .floating-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--color-light-100);
        border-top: 1px solid var(--color-light-300);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.06);
        display: grid;
        grid-template-columns: 1fr 1fr;
        z-index: 900;
        backdrop-filter: blur(10px);
        background-color: rgba(248, 250, 252, 0.9);
        padding: 8px 12px 8px 12px;
        gap: 12px;
    }
}

.btn-floating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.btn-floating svg {
    width: 18px;
    height: 18px;
}

.btn-call {
    background-color: var(--color-dark-200);
    color: var(--text-light);
}

.btn-call:hover {
    background-color: var(--color-dark-100);
}

.btn-wa {
    background-color: var(--color-whatsapp);
    color: var(--text-light);
}

.btn-wa:hover {
    background-color: var(--color-whatsapp-dark);
}

/* Add padding to body on mobile to prevent floating bar overlapping footer content */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   Responsive General Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .nav {
        display: none;
    }
    
    .btn-header-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* Mobile Small Devices Fixes */
@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .btn-lg {
        padding: 14px 20px;
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .profile-content-col h2 {
        font-size: 1.8rem;
    }
    .contact-item .value {
        font-size: 1rem;
    }
    .contact-item .value, 
    .footer-contact-info a,
    .disclaimer {
        word-break: break-all;
        overflow-wrap: anywhere;
    }
}
