/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-teal: #2A9D8F;
    --primary-dark: #21867a;
    --secondary-navy: #264653;
    --light-bg: #f4f9f9;
    --white: #ffffff;
    --text-grey: #4a4a4a;
    --pill-shadow: 0 10px 30px rgba(38, 70, 83, 0.12);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-grey);
    line-height: 1.6;
    background-color: white;
}

a { text-decoration: none; }

/* --- 2. WIDER PILL HEADER --- */
header {
    position: sticky;
    top: 20px;
    z-index: 1000;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.header-pill {
    background: var(--white);
    width: 90%;
    max-width: 1600px;
    height: 80px;
    border-radius: 100px;
    box-shadow: var(--pill-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    border: 1px solid rgba(42, 157, 143, 0.15);
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    color: #1a237e;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text span:last-child {
    color: #c62828;
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-primary {
    background-color: #1a237e;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 35, 126, 0.3);
}

.btn-primary:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(198, 40, 40, 0.4);
}

/* --- 3. HERO SECTION --- */
.hero {
    position: relative;
    padding: 4rem 10px;
    display: flex;
    justify-content: center;
    background: white;
}

.hero-card {
    width: 90%;
    max-width: 1600px;
    border-radius: 20px;
    aspect-ratio: 2.6 / 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: visible;
    margin-bottom: 50px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.hero-slides:active {
    cursor: grabbing;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.5s ease-out;
}

.hero-slide.slide-left,
.hero-slide.slide-right {
    opacity: 1;
    transition: transform 0.5s ease-out, opacity 0s 0.5s;
}

.hero-slides.dragging .hero-slide {
    transition: none;
}

.hero-slides.dragging .hero-slide.active {
    opacity: 1;
}

.hero-slides.dragging .hero-slide.drag-visible {
    opacity: 1;
}

/* Background position untuk slide 2 - gambar ke atas */
.hero-slide:nth-child(2) {
    background-position: center top;
}

.hero-slide.active {
    transform: translateX(0);
}

.hero-slide.slide-left {
    transform: translateX(-100%);
}

.hero-slide.slide-right {
    transform: translateX(100%);
}

.hero-dots {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 10px;
    z-index: 10;
}

@media (min-width: 1200px) {
    .hero-dots {
        display: flex;
    }
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c62828;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: white;
    transform: scale(1.2);
    outline: 2px solid #c62828;
    outline-offset: 2px;
}

/* --- HERO NAVIGATION ARROWS --- */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 15;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    display: none;
}

@media (min-width: 1200px) {
    .hero-nav {
        display: block;
    }
}

.hero-nav:hover {
    color: #c62828;
    transform: translateY(-50%) scale(1.2);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* --- HERO OVERLAY CONTENT --- */
.hero-slide {
    display: flex;
    align-items: center;
}

/* Gradient gelap di sebelah kiri untuk slide 1 */
.hero-slide-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* Gradient gelap dari bawah untuk slide 2 */
.hero-slide-2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* Gradient gelap dari kanan untuk slide 3 */
.hero-slide-3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* Overlay content bottom untuk slide 2 */
.hero-overlay-content-bottom {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 700px;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active .hero-overlay-content-bottom {
    opacity: 1;
}

.hero-overlay-content-bottom h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-overlay-content-bottom p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.hero-overlay-content-bottom .hero-cta-btn {
    padding: 0.9rem 2.2rem;
}

.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 500px;
    color: white;
    text-align: left;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active .hero-overlay-content {
    opacity: 1;
}

/* Overlay content right untuk slide 3 */
.hero-overlay-content-right {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 500px;
    color: white;
    text-align: right;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active .hero-overlay-content-right {
    opacity: 1;
}

.hero-overlay-content-right .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    animation: heroBadgePulse 2s ease-in-out infinite;
}

.hero-overlay-content-right h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-overlay-content-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.hero-overlay-content-right .hero-cta-btn {
    padding: 0.9rem 2.2rem;
}

.hero-overlay-content .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    animation: heroBadgePulse 2s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 83, 80, 0.8); }
    50% { box-shadow: 0 0 0 12px rgba(239, 83, 80, 0); }
}

.hero-overlay-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-overlay-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.hero-cta-btn {
    display: inline-block;
    background: #1a237e;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4);
}

.hero-cta-btn:hover {
    background: #c62828;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.5);
}

/* --- HERO INFO SECTION --- */
.hero-info {
    padding: 4rem 5%;
    background: var(--white);
    text-align: center;
}

.hero-info h1 {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-info p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-grey);
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 3px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--secondary-navy);
    font-size: 1rem;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.trust-badge .stars {
    display: flex;
    gap: 2px;
}

.trust-badge .star {
    color: #ddd;
    opacity: 0;
    transform: scale(0);
}

.trust-badge.animate .star {
    animation: starAppear 0.5s ease forwards, starFill 0.6s ease forwards;
}

.trust-badge.animate .star:nth-child(1) { animation-delay: 0s, 0.8s; }
.trust-badge.animate .star:nth-child(2) { animation-delay: 0.3s, 1.1s; }
.trust-badge.animate .star:nth-child(3) { animation-delay: 0.6s, 1.4s; }
.trust-badge.animate .star:nth-child(4) { animation-delay: 0.9s, 1.7s; }
.trust-badge.animate .star:nth-child(5) { animation-delay: 1.2s, 2.0s; }

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

@keyframes starFill {
    to {
        color: #FFC107;
    }
}

.trust-badge .badge-text {
    font-weight: 700;
    color: #1a237e;
    font-size: 1.1rem;
}

.badge-divider {
    width: 1px;
    height: 20px;
    background: #ddd;
    margin: 0 5px;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-google-icon {
    height: 18px;
    width: auto;
}

/* --- 4. CONTENT GRID --- */
.section { padding: 6rem 5%; background: var(--white); }
.section.alt { background: var(--light-bg); }

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

.section-title { text-align: center; margin-bottom: 4rem; }

/* Section title dalam hero-info */
.hero-section-title {
    margin-top: 2rem;
    margin-bottom: 0;
}

.hero-section-title h2 {
    font-size: 2.8rem;
    color: #1a237e;
}

.hero-section-title p {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Grid dalam hero-info */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 5%;
}
.section-title h2 { font-size: 2.8rem; color: var(--secondary-navy); }
.section-title.hero-section-title h2 { color: #1a237e; }

/* Tab Content for Features */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Infographic Container */
.infographic-container {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 5%;
    text-align: center;
}

.infographic-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: 0.3s;
    aspect-ratio: 2.15 / 1;
    overflow: hidden;
}

.infographic-card:hover {
    transform: translateY(-5px);
}

.infographic-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
}

/* Default: Desktop */
.infographic-desktop { display: block; }
.infographic-tablet-landscape { display: none; }
.infographic-tablet-portrait { display: none; }
.infographic-mobile-large { display: none; }
.infographic-mobile-small { display: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

.card {
    padding: 2.5rem;
    border: 2px solid #1a237e;
    border-radius: 16px;
    transition: 0.3s;
    background: white;
}
.card:hover { border-color: #c62828; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }

.card.center { text-align: center; }
.card .service-desc { font-size: 0.9rem; color: #666; }
.card p { font-size: 0.95rem; line-height: 1.6; }

.icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }

/* --- 5. SERVICES SECTION --- */
.services-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.services-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.services-badge.animate {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26, 35, 126, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(26, 35, 126, 0); }
}

.services-header h2 {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
}

.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; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 35, 126, 0.15);
}

.service-card .service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a237e 0%, #303f9f 50%, #c62828 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card .service-hover-effect.emergency {
    background: linear-gradient(90deg, #c62828 0%, #ef5350 100%);
}

.service-card:hover .service-hover-effect {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon.emergency-icon {
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    animation: emergencyPulse 1.5s ease-in-out infinite;
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(198, 40, 40, 0); }
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #c62828;
    border-radius: 50%;
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-section {
    padding: 6rem 5%;
    background: white;
    overflow: hidden;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4);
}

.testimonial-badge.animate {
    animation: badgePulse 2s ease-in-out infinite;
}

.testimonial-header h2 {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.testimonial-header > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.google-logo {
    height: 24px;
    width: auto;
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.rating-stars .star {
    color: #FFC107;
    font-size: 1.1rem;
}

.rating-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a237e;
    margin-left: 0.3rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #666;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -5%;
    padding: 1rem 5%;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track:active {
    cursor: grabbing;
}

.testimonial-card {
    min-width: calc(33.333% - 1rem);
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid #1a237e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #c62828;
    box-shadow: 0 8px 30px rgba(198, 40, 40, 0.15);
}

.testimonial-header-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a73e8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Google-style avatar colors */
.reviewer-avatar.red { background: #ea4335; }
.reviewer-avatar.blue { background: #4285f4; }
.reviewer-avatar.green { background: #34a853; }
.reviewer-avatar.yellow { background: #fbbc05; color: #333; }
.reviewer-avatar.purple { background: #a142f4; }
.reviewer-avatar.cyan { background: #24c1e0; }
.reviewer-avatar.orange { background: #fa7b17; }
.reviewer-avatar.pink { background: #f538a0; }
.reviewer-avatar.teal { background: #12b5cb; }
.reviewer-avatar.indigo { background: #5e35b1; }

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-size: 0.95rem;
    color: #1a237e;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-stars {
    color: #FFC107;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.review-date {
    font-size: 0.75rem;
    color: #666;
}

.review-google-icon {
    height: 16px;
    width: auto;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    background: #1a237e;
    border-color: #1a237e;
}

.testimonial-btn:hover svg {
    color: white;
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
    color: #1a237e;
    transition: color 0.3s ease;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #1a237e;
    transform: scale(1.2);
}

.view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: #1a237e;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid #1a237e;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.view-all-reviews:hover {
    background: #1a237e;
    color: white;
}

.view-all-reviews svg {
    width: 18px;
    height: 18px;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 6rem 5%;
    background: white;
}

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

.gallery-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

.gallery-header h2 {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: 2;
    grid-row: 1 / 4;
}

/* Kiri atas - 1 gambar */
.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

/* Kiri bawah - 2 gambar */
.gallery-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}
.gallery-item:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
}

/* Kanan atas */
.gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

/* Kanan bawah - 2 gambar */
.gallery-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}
.gallery-item:nth-child(7) {
    grid-column: 3;
    grid-row: 3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Pulse animation for WhatsApp button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* --- 6. CTA SECTION --- */
.cta-section {
    background: #1a237e;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: #1a237e;
    padding: 1.2rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(198, 40, 40, 0.4);
    background-color: #c62828;
    color: white;
}

/* --- 6. HERO CTA --- */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.hero-cta .btn-primary {
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
}

.hero-cta .phone-info {
    color: #666;
    font-weight: 500;
}

/* Features Pill Bar */
.features-pill {
    display: inline-flex;
    align-items: center;
    background: black;
    border-radius: 60px;
    padding: 0.5rem;
    margin-top: 4rem;
    gap: 0.3rem;
}

.feature-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
    overflow: hidden;
    background: transparent;
}

.feature-item:hover {
    color: white;
}

.feature-item.active {
    color: #1a1a2e;
    background: white;
}

/* Progress bar layer */
.feature-item .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 50px;
    z-index: 1;
    pointer-events: none;
}

/* Pill pertama - warna biru */
.feature-item:nth-child(1) .progress-bar {
    background: #1a237e;
}

/* Pill kedua - warna merah */
.feature-item:nth-child(2) .progress-bar {
    background: #c62828;
}

.feature-item.active .progress-bar {
    animation: progressFill 5s linear forwards;
}

/* Text content - di atas progress, warna hitam */
.feature-item .feature-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* White text overlay - clip mengikut progress */
.feature-item .feature-content-white {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: inherit;
    color: white;
    z-index: 3;
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
    font-weight: 500;
    box-sizing: border-box;
}

.feature-item.active .feature-content-white {
    animation: textReveal 5s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes textReveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.feature-icon {
    font-size: 1.1rem;
}

/* --- CONTACT/LOCATION SECTION --- */
.contact-section {
    background: var(--light-bg);
    padding: 5rem 5%;
}

.company-details {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.contact-info-list.horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-navy);
    margin-bottom: 0.3rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-grey);
    line-height: 1.4;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 600px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.map-container iframe {
    display: block;
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.map-click-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 35, 126, 0.9);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-click-hint svg {
    width: 20px;
    height: 20px;
}

.map-link:hover .map-click-hint {
    opacity: 1;
}

.map-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Contact Section Responsive */
@media (max-width: 992px) {
    .contact-info-list.horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 5%;
    }

    .company-details {
        padding: 1.5rem;
    }

    .contact-info-list.horizontal {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        padding: 0.8rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .info-icon svg {
        width: 18px;
        height: 18px;
    }

    .info-content h4 {
        font-size: 0.85rem;
    }

    .info-content p {
        font-size: 0.8rem;
    }

    .map-container {
        height: 250px;
    }
}

/* --- FAQ SECTION --- */
.faq-section {
    background: #1a237e;
    padding: 5rem 5%;
}

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

.faq-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon svg {
    width: 90px;
    height: 90px;
    color: white;
}

.faq-header h2 {
    font-size: 6rem;
    font-weight: 900;
    color: white;
    line-height: 1.05;
    font-style: normal;
    letter-spacing: -1px;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.faq-toggle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* FAQ Marketing Hook */
.faq-hook {
    text-align: center;
    margin-top: 5rem;
    padding-top: 6rem;
}

.hook-tagline {
    font-size: 1.6rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12rem;
    letter-spacing: 0.5px;
}

.hook-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hook-btn {
    display: block;
    margin: 4rem auto 0;
    padding: 2.5rem 0;
    background: white;
    color: #1a237e;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 80px;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    transition: all 0.3s ease;
}

.hook-btn:hover {
    background: #c62828;
    transform: scale(1.02);
    color: white;
    box-shadow: 0 6px 15px rgba(198, 40, 40, 0.4);
}

/* --- FOOTER --- */
footer {
    background: #1a237e;
    color: var(--white);
    padding: 2.2rem 5%;
}

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

footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ========== RESPONSIVE STYLES ========== */

/* --- TV & Large Desktop (1920px+) --- */
@media (min-width: 1920px) {
    .header-pill { max-width: 1800px; height: 90px; padding: 0 4rem; }
    .logo img { height: 60px; }
    .logo-text span:first-child,
    .logo-text span:last-child { font-size: 1.4rem; }
    .btn-primary { padding: 1rem 3rem; font-size: 1.1rem; }

    .hero-card { width: 90%; max-width: 1800px; border-radius: 40px; }
    .infographic-card { max-width: 1400px; aspect-ratio: 1.6 / 1;}
    .hero-info { padding: 5rem 5%; }
    .hero-info h1 { font-size: 4rem; }
    .hero-info p { font-size: 1.4rem; max-width: 800px; }

    /* Hero Overlay - Large Desktop */
    .hero-overlay-content { max-width: 600px; }
    .hero-overlay-content h1 { font-size: 3.5rem; }
    .hero-overlay-content p { font-size: 1.3rem; }
    .hero-overlay-content .hero-badge { font-size: 1rem; padding: 0.6rem 1.8rem; }
    .hero-overlay-content-right { max-width: 600px; }
    .hero-overlay-content-right h2 { font-size: 3.2rem; }
    .hero-overlay-content-right p { font-size: 1.3rem; }
    .hero-overlay-content-right .hero-badge { font-size: 1rem; padding: 0.6rem 1.8rem; }
    .hero-cta-btn { padding: 1.2rem 3rem; font-size: 1.25rem; }

    .section { padding: 8rem 5%; }
    .section-title h2 { font-size: 3.2rem; }
    .container { max-width: 1400px; }
    .grid { gap: 3rem; }
    .card { padding: 3rem; }
    .card h3 { font-size: 1.4rem; }
    .card p { font-size: 1.1rem; }

    .cta-section h2 { font-size: 3.2rem; }
    .cta-section p { font-size: 1.4rem; }
    .btn-cta { padding: 1.4rem 4rem; font-size: 1.3rem; }

    .services-section { padding: 8rem 5%; }
    .services-header h2 { font-size: 3.5rem; }
    .services-header p { font-size: 1.4rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
    .service-card { padding: 2.5rem; }
    .service-icon { width: 70px; height: 70px; }
    .service-icon svg { width: 35px; height: 35px; }
    .service-card h3 { font-size: 1.5rem; }
    .service-list li { font-size: 1.05rem; }

    /* FAQ Section - TV */
    .faq-section { padding: 8rem 5%; }
    .faq-header h2 { font-size: 8rem; }
    .faq-icon svg { width: 120px; height: 120px; }
    .faq-list { max-width: 1200px; }
    .faq-question span:first-child { font-size: 1.6rem; }
    .faq-answer p { font-size: 1.3rem; }
    .hook-tagline { font-size: 2rem; margin-bottom: 15rem; }
    .hook-title { font-size: 8rem; }
    .hook-btn { padding: 3rem 0; font-size: 1.6rem; max-width: 1400px; }

    footer { padding: 5rem 5%; }
}

/* --- Desktop (1200px - 1919px) --- */
@media (min-width: 1200px) and (max-width: 1919px) {
    .hero-container { max-width: 1200px; }
}

/* --- Tablet Landscape / Small Desktop (1024px - 1199px) --- */
@media (min-width: 1024px) and (max-width: 1199px) {
    .header-pill { width: 92%; padding: 0 2.5rem; }
    .hero-card { width: 92%; max-width: 1100px; aspect-ratio: 2 / 1; }
    .infographic-card { aspect-ratio: 1.5 / 1; max-width: 900px; }
    .infographic-desktop { display: none; }
    .infographic-tablet-landscape { display: block; }

    /* Hero Slide - Tablet Landscape Images */
    .hero-slide-1 { background-image: url('../img/Landtab/1.png') !important; }
    .hero-slide-2 { background-image: url('../img/Landtab/2.png') !important; }
    .hero-slide-3 { background-image: url('../img/Landtab/3.png') !important; }
    .hero-slide-4 { background-image: url('../img/Landtab/4.png') !important; }

    .hero-info { padding: 3rem 5%; }
    .hero-info h1 { font-size: 2.5rem; }
    .hero-info p { font-size: 1.1rem; }
    .section-title h2 { font-size: 2.5rem; }
    .hero-section-title h2 { font-size: 2.5rem; }
    .grid { grid-template-columns: repeat(2, 1fr); }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-header h2 { font-size: 2.5rem; }

    /* FAQ Section - Small Desktop */
    .faq-header h2 { font-size: 5rem; }
    .faq-icon svg { width: 80px; height: 80px; }
    .hook-tagline { font-size: 1.4rem; margin-bottom: 10rem; }
    .hook-title { font-size: 5rem; }
    .hook-btn { max-width: 900px; }

    /* Hero Overlay - Small Desktop */
    .hero-overlay-content { max-width: 420px; }
    .hero-overlay-content h1 { font-size: 2.4rem; }
    .hero-overlay-content p { font-size: 1rem; }
    .hero-overlay-content-right { max-width: 420px; }
    .hero-overlay-content-right h2 { font-size: 2.2rem; }
    .hero-overlay-content-right p { font-size: 1rem; }
}

/* --- Tablet Portrait (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-pill { width: 94%; padding: 0 2rem; height: 75px; }
    .logo img { height: 45px; }
    .logo-text span:first-child,
    .logo-text span:last-child { font-size: 1.1rem; }
    .btn-primary { padding: 0.8rem 2rem; font-size: 0.95rem; }

    .hero-card { width: 94%; max-width: 900px; border-radius: 25px; aspect-ratio: 2 / 1; }
    .infographic-card { aspect-ratio: 1.5 / 1; max-width: 700px; }
    .infographic-desktop { display: none; }
    .infographic-tablet-landscape { display: none; }
    .infographic-tablet-portrait { display: block; }

    /* Hero Slide - Tablet Portrait Images */
    .hero-slide-1 { background-image: url('../img/Porttab/1.png') !important; }
    .hero-slide-2 { background-image: url('../img/Porttab/2.png') !important; }
    .hero-slide-3 { background-image: url('../img/Porttab/3.png') !important; }
    .hero-slide-4 { background-image: url('../img/Porttab/4.png') !important; }

    /* Hero Overlay - Tablet */
    .hero-overlay-content { max-width: 350px; left: 4%; }
    .hero-overlay-content h1 { font-size: 2rem; }
    .hero-overlay-content p { font-size: 0.95rem; margin-bottom: 1.2rem; }
    .hero-overlay-content .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .hero-cta-btn { padding: 0.8rem 1.8rem; font-size: 0.95rem; }
    .hero-overlay-content-bottom h2 { font-size: 2rem; }
    .hero-overlay-content-bottom p { font-size: 1rem; }
    .hero-overlay-content-bottom { bottom: 12%; }
    .hero-overlay-content-right { max-width: 350px; right: 4%; }
    .hero-overlay-content-right h2 { font-size: 1.8rem; }
    .hero-overlay-content-right p { font-size: 0.95rem; margin-bottom: 1.2rem; }
    .hero-overlay-content-right .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .hero-info { padding: 2.5rem 5%; }
    .hero-info h1 { font-size: 2.2rem; }
    .hero-info p { font-size: 1rem; }
    .hero-section-title h2 { font-size: 2.2rem; }

    .section { padding: 5rem 5%; }
    .section-title { margin-bottom: 3rem; }
    .section-title h2 { font-size: 2.2rem; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .card { padding: 2rem; }

    .cta-section h2 { font-size: 2.2rem; }
    .cta-section p { font-size: 1.1rem; }
    .btn-cta { padding: 1rem 2.5rem; font-size: 1.1rem; }

    .services-section { padding: 5rem 5%; }
    .services-header h2 { font-size: 2.2rem; }
    .services-header p { font-size: 1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .service-card { padding: 1.8rem; }
    .service-icon { width: 55px; height: 55px; }
    .service-card h3 { font-size: 1.2rem; }
    .service-list li { font-size: 0.9rem; }

    .gallery-section { padding: 5rem 5%; }
    .gallery-header h2 { font-size: 2.2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 180px; }
    .gallery-item.large,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) { grid-column: auto; grid-row: auto; }

    /* Testimonial Section - Tablet */
    .testimonial-section { padding: 4rem 5%; }
    .testimonial-header h2 { font-size: 2.2rem; }
    .testimonial-card { min-width: calc(50% - 0.75rem); }
    .testimonial-btn { display: none; }
    .testimonial-dots { display: none; }

    /* FAQ Section - Tablet */
    .faq-section { padding: 4rem 5%; }
    .faq-header { margin-bottom: 3rem; }
    .faq-header h2 { font-size: 4rem; }
    .faq-icon svg { width: 70px; height: 70px; }
    .faq-question span:first-child { font-size: 1.1rem; }
    .faq-answer p { font-size: 1rem; }
    .faq-hook { margin-top: 4rem; padding-top: 4rem; }
    .hook-tagline { font-size: 1.3rem; margin-bottom: 8rem; }
    .hook-title { font-size: 4rem; }
    .hook-btn { padding: 1.8rem 0; font-size: 1.1rem; max-width: 700px; border-radius: 60px; }

    footer { padding: 1.2rem 5%; }
}

/* --- Mobile Large (481px - 767px) --- */
@media (min-width: 481px) and (max-width: 767px) {
    header { top: 10px; }
    .header-pill {
        width: 95%;
        padding: 0 1rem;
        height: 65px;
    }
    .logo { gap: 8px; }
    .logo img { height: 38px; }
    .logo-text span:first-child,
    .logo-text span:last-child { font-size: 0.75rem; }
    .btn-primary { padding: 0.6rem 1rem; font-size: 0.8rem; }

    .hero { padding: 1.5rem 10px; }
    .hero-card {
        width: 95%;
        max-width: 600px;
        border-radius: 20px;
        aspect-ratio: 1.5 / 1;
    }
    .infographic-card { aspect-ratio: 0.8 / 1; max-width: 450px; }
    .infographic-desktop { display: none; }
    .infographic-tablet-landscape { display: none; }
    .infographic-tablet-portrait { display: none; }
    .infographic-mobile-large { display: block; }

    /* Hero Slide - Mobile Large Images */
    .hero-slide-1 { background-image: url('../img/Lmobile/1.png') !important; }
    .hero-slide-2 { background-image: url('../img/Lmobile/2.png') !important; }
    .hero-slide-3 { background-image: url('../img/Lmobile/3.png') !important; }
    .hero-slide-4 { background-image: url('../img/Lmobile/4.png') !important; }

    .hero-dots .dot { width: 10px; height: 10px; }

    /* Hero Overlay - Mobile Large */
    .hero-overlay-content { max-width: 280px; left: 4%; }
    .hero-overlay-content h1 { font-size: 1.5rem; }
    .hero-overlay-content p { font-size: 0.85rem; margin-bottom: 1rem; }
    .hero-overlay-content .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.8rem; margin-bottom: 0.8rem; }
    .hero-cta-btn { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
    .hero-overlay-content-bottom h2 { font-size: 1.4rem; }
    .hero-overlay-content-bottom p { font-size: 0.85rem; margin-bottom: 1rem; }
    .hero-overlay-content-bottom { bottom: 10%; }
    .hero-overlay-content-bottom .hero-cta-btn { padding: 0.6rem 1.3rem; font-size: 0.8rem; }
    .hero-overlay-content-right { max-width: 280px; right: 4%; }
    .hero-overlay-content-right h2 { font-size: 1.4rem; }
    .hero-overlay-content-right p { font-size: 0.85rem; margin-bottom: 1rem; }
    .hero-overlay-content-right .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.8rem; margin-bottom: 0.8rem; }
    .hero-overlay-content-right .hero-cta-btn { padding: 0.6rem 1.3rem; font-size: 0.8rem; }
    .hero-info { padding: 2rem 5%; }
    .hero-info h1 { font-size: 1.8rem; }
    .hero-info p { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-section-title h2 { font-size: 1.8rem; }
    .trust-badge { font-size: 0.8rem; padding: 6px 12px; }
    .hero-cta .btn-primary { padding: 0.9rem 1.8rem; font-size: 0.95rem; }
    .hero-cta .phone-info { color: var(--text-grey); }

    /* Features Pill - Mobile Large */
    .features-pill { margin-top: 4rem; padding: 0.35rem; gap: 0.15rem; }
    .feature-item { padding: 0.5rem 0.8rem; font-size: 0.7rem; overflow: hidden; white-space: nowrap; }
    .feature-item .feature-content { gap: 0.3rem; }
    .feature-item .feature-content-white { gap: 0.3rem; }
    .feature-icon { font-size: 0.85rem; }

    .section { padding: 4rem 5%; }
    .section-title { margin-bottom: 2.5rem; }
    .section-title h2 { font-size: 1.8rem; }
    .section-title p { font-size: 0.95rem; }
    .grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .card { padding: 1.8rem; }
    .card p { font-size: 0.9rem; line-height: 1.5; }
    .icon { font-size: 2rem; margin-bottom: 1rem; }

    .cta-section h2 { font-size: 1.8rem; }
    .cta-section p { font-size: 1rem; margin-bottom: 2rem; }
    .btn-cta { padding: 1rem 2rem; font-size: 1rem; }

    .services-section { padding: 4rem 5%; }
    .services-header { margin-bottom: 2.5rem; }
    .services-header h2 { font-size: 1.8rem; }
    .services-header p { font-size: 0.95rem; }
    .services-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 1.5rem; }
    .service-icon { width: 50px; height: 50px; border-radius: 12px; }
    .service-icon svg { width: 25px; height: 25px; }
    .service-card h3 { font-size: 1.1rem; }
    .service-list li { font-size: 0.9rem; margin-bottom: 0.5rem; }

    .gallery-section { padding: 4rem 5%; }
    .gallery-header { margin-bottom: 2.5rem; }
    .gallery-header h2 { font-size: 1.8rem; line-height: 1.4; }
    .gallery-header p { font-size: 0.95rem; }
    .gallery-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 160px;
    }
    .gallery-item.large,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) { grid-column: auto; grid-row: auto; }

    /* Testimonial Section - Mobile Large */
    .testimonial-section { padding: 3rem 5%; }
    .testimonial-header h2 { font-size: 1.8rem; }
    .testimonial-header > p { font-size: 0.95rem; }
    .google-rating { padding: 0.6rem 1rem; gap: 0.75rem; }
    .google-logo { height: 20px; }
    .rating-stars .star { font-size: 0.95rem; }
    .rating-number { font-size: 1rem; }
    .rating-count { font-size: 0.75rem; }
    .testimonial-card { min-width: calc(100% - 0rem); padding: 1.2rem; }
    .reviewer-avatar { width: 40px; height: 40px; font-size: 1rem; }
    .reviewer-info h4 { font-size: 0.9rem; }
    .testimonial-text { font-size: 0.9rem; }
    .testimonial-btn { display: none; }
    .testimonial-dots { display: none; }
    .view-all-reviews { font-size: 0.9rem; padding: 0.7rem 1.2rem; }

    /* FAQ Section - Mobile Large */
    .faq-section { padding: 3rem 5%; }
    .faq-header { margin-bottom: 2.5rem; }
    .faq-header h2 { font-size: 3rem; }
    .faq-icon { width: 70px; height: 70px; margin-bottom: 1.5rem; }
    .faq-icon svg { width: 55px; height: 55px; }
    .faq-question { padding: 1rem 0; }
    .faq-question span:first-child { font-size: 1rem; }
    .faq-toggle { font-size: 1.2rem; }
    .faq-answer p { font-size: 0.95rem; }
    .faq-hook { margin-top: 3rem; padding-top: 3rem; }
    .hook-tagline { font-size: 1.1rem; margin-bottom: 6rem; }
    .hook-title { font-size: 2.8rem; }
    .hook-btn { padding: 1.5rem 0; font-size: 1rem; max-width: 500px; border-radius: 50px; margin-top: 3rem; }

    footer { padding: 1.2rem 5%; }
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-links { gap: 1.5rem; }
    .footer-links a { font-size: 0.75rem; }
    footer p { font-size: 0.75rem; }
}

/* --- Mobile Small (320px - 480px) --- */
@media (max-width: 480px) {
    header { top: 8px; }
    .header-pill {
        width: 96%;
        padding: 0 0.8rem;
        height: 60px;
        border-radius: 40px;
    }
    .logo { gap: 6px; }
    .logo img { height: 32px; }
    .logo-text span:first-child,
    .logo-text span:last-child { font-size: 0.65rem; }
    .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .hero { padding: 1rem 10px; }
    .hero-card {
        width: 96%;
        max-width: 400px;
        border-radius: 16px;
        aspect-ratio: 1.5 / 1;
    }
    .infographic-card { aspect-ratio: 0.8 / 1; max-width: 350px; padding: 0; border-radius: 12px; }
    .infographic-desktop { display: none; }
    .infographic-tablet-landscape { display: none; }
    .infographic-tablet-portrait { display: none; }
    .infographic-mobile-large { display: none; }
    .infographic-mobile-small { display: block; }

    /* Hero Slide - Mobile Small Images */
    .hero-slide-1 { background-image: url('../img/Smobile/1.png') !important; }
    .hero-slide-2 { background-image: url('../img/Smobile/2.png') !important; }
    .hero-slide-3 { background-image: url('../img/Smobile/3.png') !important; }
    .hero-slide-4 { background-image: url('../img/Smobile/4.png') !important; }

    .hero-dots { bottom: 12px; gap: 8px; }
    .hero-dots .dot { width: 8px; height: 8px; }

    /* Hero Overlay - Mobile Small */
    .hero-overlay-content { max-width: 200px; left: 3%; }
    .hero-overlay-content h1 { font-size: 1.1rem; margin-bottom: 0.5rem; }
    .hero-overlay-content p { font-size: 0.7rem; margin-bottom: 0.8rem; line-height: 1.4; }
    .hero-overlay-content .hero-badge { font-size: 0.6rem; padding: 0.25rem 0.6rem; margin-bottom: 0.5rem; }
    .hero-cta-btn { padding: 0.5rem 1rem; font-size: 0.75rem; }
    .hero-overlay-content-bottom h2 { font-size: 1rem; margin-bottom: 0.4rem; }
    .hero-overlay-content-bottom p { font-size: 0.7rem; margin-bottom: 0.6rem; }
    .hero-overlay-content-bottom { bottom: 8%; }
    .hero-overlay-content-bottom .hero-cta-btn { padding: 0.45rem 0.9rem; font-size: 0.7rem; }
    .hero-overlay-content-right { max-width: 180px; right: 3%; }
    .hero-overlay-content-right h2 { font-size: 1rem; margin-bottom: 0.4rem; }
    .hero-overlay-content-right p { font-size: 0.7rem; margin-bottom: 0.6rem; line-height: 1.4; }
    .hero-overlay-content-right .hero-badge { font-size: 0.6rem; padding: 0.25rem 0.6rem; margin-bottom: 0.5rem; }
    .hero-overlay-content-right .hero-cta-btn { padding: 0.45rem 0.9rem; font-size: 0.7rem; }
    .hero-info { padding: 1.5rem 5%; }
    .hero-info h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    .hero-section-title h2 { font-size: 1.5rem; }
    .hero-info p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    .trust-badge {
        font-size: 0.8rem;
        padding: 5px 8px;
        gap: 4px;
        margin-bottom: 1rem;
    }
    .trust-badge .stars { gap: 1px; }
    .trust-badge .badge-text { font-size: 0.9rem; }
    .trust-google-icon { height: 14px; }
    .badge-divider { height: 14px; }
    .review-count { font-size: 0.7rem; }
    .hero-cta { gap: 10px; }
    .hero-cta .btn-primary { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
    .hero-cta .phone-info { font-size: 0.75rem; color: var(--text-grey); }

    /* Features Pill - Mobile Small */
    .features-pill { margin-top: 4rem; padding: 0.25rem; gap: 0.1rem; border-radius: 40px; }
    .feature-item { padding: 0.4rem 0.6rem; font-size: 0.6rem; border-radius: 35px; overflow: hidden; white-space: nowrap; }
    .feature-item .feature-content { gap: 0.25rem; }
    .feature-item .feature-content-white { gap: 0.25rem; }
    .feature-icon { font-size: 0.7rem; }

    .section { padding: 3rem 5%; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2 { font-size: 1.5rem; }
    .section-title p { font-size: 0.9rem; }
    .grid { grid-template-columns: 1fr; gap: 1rem; }
    .card { padding: 1.2rem; border-radius: 12px; }
    .card h3 { font-size: 1rem; }
    .card p { font-size: 0.8rem; line-height: 1.4; }
    .icon { font-size: 1.6rem; margin-bottom: 0.8rem; }

    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .btn-cta { padding: 0.8rem 1.8rem; font-size: 0.9rem; }

    .services-section { padding: 3rem 5%; }
    .services-header { margin-bottom: 2rem; }
    .services-header h2 { font-size: 1.5rem; }
    .services-header p { font-size: 0.85rem; }
    .services-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { padding: 1.2rem; border-radius: 16px; }
    .service-icon { width: 45px; height: 45px; border-radius: 10px; margin-bottom: 1rem; }
    .service-icon svg { width: 22px; height: 22px; }
    .service-card h3 { font-size: 1rem; margin-bottom: 0.8rem; }
    .service-list li { font-size: 0.8rem; margin-bottom: 0.4rem; padding-left: 1.2rem; }
    .service-list li::before { width: 5px; height: 5px; top: 6px; }

    .gallery-section { padding: 3rem 5%; }
    .gallery-header { margin-bottom: 2rem; }
    .gallery-header h2 { font-size: 1.5rem; line-height: 1.8rem; }
    .gallery-header p { font-size: 0.85rem; }
    .gallery-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: 200px;
        gap: 0.8rem;
    }
    .gallery-item.large,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) { grid-column: 1; grid-row: auto; }
    .gallery-item { border-radius: 12px; }
    .gallery-overlay { padding: 1rem; opacity: 1; }
    .gallery-overlay span { font-size: 0.9rem; }

    /* Testimonial Section - Mobile Small */
    .testimonial-section { padding: 2.5rem 5%; }
    .testimonial-header { margin-bottom: 2rem; }
    .testimonial-header h2 { font-size: 1.5rem; }
    .testimonial-header > p { font-size: 0.85rem; margin-bottom: 1rem; }
    .testimonial-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
    .google-rating { padding: 0.5rem 0.8rem; gap: 0.5rem; flex-direction: column; }
    .google-logo { height: 18px; }
    .rating-info { align-items: center; }
    .rating-stars .star { font-size: 0.9rem; }
    .rating-number { font-size: 0.95rem; }
    .rating-count { font-size: 0.7rem; }
    .testimonial-card { min-width: 100%; padding: 1rem; border-radius: 16px; }
    .testimonial-header-card { gap: 0.6rem; }
    .reviewer-avatar { width: 36px; height: 36px; font-size: 0.9rem; }
    .reviewer-info h4 { font-size: 0.85rem; }
    .review-stars { font-size: 0.75rem; }
    .review-date { font-size: 0.7rem; }
    .review-google-icon { height: 14px; }
    .testimonial-text { font-size: 0.85rem; line-height: 1.5; }
    .testimonial-nav { margin-top: 1.5rem; gap: 0.75rem; }
    .testimonial-btn { display: none; }
    .testimonial-dots { display: none; }
    .view-all-reviews { font-size: 0.8rem; padding: 0.6rem 1rem; margin-top: 1.5rem; }
    .view-all-reviews svg { width: 14px; height: 14px; }

    /* FAQ Section - Mobile Small */
    .faq-section { padding: 2.5rem 5%; }
    .faq-header { margin-bottom: 2rem; }
    .faq-header h2 { font-size: 2.2rem; }
    .faq-icon { width: 60px; height: 60px; margin-bottom: 1rem; }
    .faq-icon svg { width: 45px; height: 45px; }
    .faq-question { padding: 0.8rem 0; }
    .faq-question span:first-child { font-size: 0.9rem; }
    .faq-toggle { font-size: 1rem; }
    .faq-item.active .faq-answer { max-height: 300px; }
    .faq-answer p { font-size: 0.85rem; line-height: 1.6; }
    .faq-hook { margin-top: 2.5rem; padding-top: 2.5rem; }
    .hook-tagline { font-size: 0.95rem; margin-bottom: 5rem; line-height: 1.6; }
    .hook-title { font-size: 2rem; }
    .hook-btn {
        padding: 1.2rem 0;
        font-size: 0.85rem;
        max-width: 100%;
        border-radius: 40px;
        margin-top: 2rem;
        letter-spacing: 1.5px;
    }

    footer { padding: 1rem 5%; }
    .footer-content { flex-direction: column; gap: 0.8rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .footer-links a { font-size: 0.7rem; }
    footer p { font-size: 0.7rem; }
}

@keyframes typingMobile {
    to { width: 110px; }
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.lightbox-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: #c62828;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    color: #c62828;
    transform: translateY(-50%) scale(1.2);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-nav {
        display: none;
    }

    .lightbox-caption {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }

    .lightbox-nav {
        display: none;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

/* ===== LEGAL MODAL ===== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

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

.legal-modal {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.legal-modal-overlay.active .legal-modal {
    transform: scale(1);
}

.legal-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.legal-modal-close:hover {
    background: #c62828;
    color: white;
}

.legal-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

.legal-modal-header h2 {
    font-size: 1.5rem;
    color: #1a237e;
    font-weight: 700;
    margin: 0;
    padding-right: 2rem;
}

.legal-modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body h3 {
    font-size: 1.1rem;
    color: #1a237e;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.legal-modal-body h3:first-of-type {
    margin-top: 0.5rem;
}

.legal-modal-body p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-modal-body .legal-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.legal-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.legal-modal-body ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.legal-modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: #c62828;
    border-radius: 50%;
}

.legal-modal-body ul li strong {
    color: #1a237e;
}

/* Privacy Toggle Styles in Modal */
.privacy-toggle-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
}

.privacy-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.privacy-toggle-item:last-child {
    margin-bottom: 0;
}

.privacy-toggle-info {
    flex: 1;
    margin-right: 1rem;
}

.privacy-toggle-info strong {
    display: block;
    font-size: 0.95rem;
    color: #1a237e;
    margin-bottom: 0.25rem;
}

.privacy-toggle-info span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Toggle Switch in Modal */
.legal-modal-body .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.legal-modal-body .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.legal-modal-body .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.legal-modal-body .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legal-modal-body .toggle-switch input:checked + .toggle-slider {
    background-color: #1a237e;
}

.legal-modal-body .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.legal-modal-body .toggle-switch.disabled .toggle-slider {
    cursor: not-allowed;
    opacity: 0.6;
}

.privacy-save-section {
    text-align: center;
    margin: 1.5rem 0;
}

.legal-modal-body .btn-save-privacy {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.legal-modal-body .btn-save-privacy:hover {
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

/* Legal Modal Responsive */
@media (max-width: 768px) {
    .legal-modal-overlay {
        padding: 1rem;
    }

    .legal-modal {
        max-height: 90vh;
        border-radius: 12px;
    }

    .legal-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .legal-modal-header h2 {
        font-size: 1.3rem;
    }

    .legal-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        top: 12px;
        right: 12px;
    }

    .legal-modal-body {
        padding: 1.25rem 1.5rem;
    }

    .legal-modal-body h3 {
        font-size: 1rem;
    }

    .legal-modal-body p,
    .legal-modal-body ul li {
        font-size: 0.9rem;
    }

    .privacy-toggle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .privacy-toggle-info {
        margin-right: 0;
    }

    .legal-modal-body .toggle-switch {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .legal-modal-overlay {
        padding: 0.5rem;
    }

    .legal-modal {
        max-height: 95vh;
    }

    .legal-modal-header {
        padding: 1rem 1.25rem;
    }

    .legal-modal-header h2 {
        font-size: 1.2rem;
    }

    .legal-modal-body {
        padding: 1rem 1.25rem;
    }

    .legal-modal-body h3 {
        font-size: 0.95rem;
    }

    .legal-modal-body p,
    .legal-modal-body ul li {
        font-size: 0.85rem;
    }

    .privacy-toggle-info strong {
        font-size: 0.9rem;
    }

    .privacy-toggle-info span {
        font-size: 0.8rem;
    }

    .legal-modal-body .btn-save-privacy {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
}
