@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600&family=Bebas+Neue&family=Inter:wght@400;600;900&display=swap');

:root {
    --primary-color: #0f172a;
    /* Dark Slate/Black */
    --secondary-color: #1e293b;
    /* Slightly lighter dark */
    --accent-color: #ef4444;
    /* Warning Red */
    --accent-light: #f87171;
    --brand-highlight: #fbbf24;
    /* Gold */

    --text-color: #cbd5e1;
    /* Light Gray Text */
    --text-light: #94a3b8;
    --bg-light: #F5F5F5;
    --white: #ffffff;
    --success-green: #4ade80;

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-sub: 'Poppins', sans-serif;
    /* Keep Poppins for sub-details if needed */

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Professional Easing */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);

    --card-width: 350px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--primary-color);
    overflow-x: hidden;
    padding-top: 40px;
    /* For Panic Bar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    /* Default headings to white on dark bg */
    font-weight: 400;
    /* Bebas Neue is bold by default */
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utilities */
.text-gold {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-body);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 40px;
    /* Offset for Panic Bar */
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(15, 23, 42, 0.95);
    /* Dark semi-transparent background */
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo img {
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    height: 45px;
    /* Reduced from 70px for sleek look */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    /* Increased gap */
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color) !important;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
}

.btn-nav:hover::after {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    /* Changed from fixed 100vh to allow scrolling if content is tall */
    background: radial-gradient(circle at center, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    /* Changed from center to fix overlap */
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 100px;
    /* Added padding-bottom to prevent clipping */
    overflow: hidden;
}

/* Abstract geometric shapes for hero background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    background-color: var(--white);
    color: var(--primary-color);
}

.about h1,
.about h2,
.about h3,
.about h4,
.about h5,
.about h6 {
    color: var(--primary-color) !important;
}

.about p {
    color: var(--secondary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    z-index: 10;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background: #e2e8f0;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

.placeholder-img::after {
    content: '\f1ad';
    /* FontAwesome building icon fallback */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

#about-img-placeholder::after {
    content: '\f2b5';
    /* Handshake */
}

#adv-img-placeholder::after {
    content: '\f0c0';
    /* Users */
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 5px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.exp-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.value-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
    color: var(--primary-color);
}

.testimonials h2,
.testimonials h3 {
    color: var(--primary-color) !important;
}

.testimonial-text {
    color: var(--secondary-color);
}

/* Services Section */
.services {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.services h1,
.services h2,
.services h3,
.services h4,
.services h5,
.services h6 {
    color: var(--primary-color) !important;
}

.services p {
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(6, 182, 212, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    background-color: var(--primary-color);
    padding: 60px 0;
    position: relative;
    background-attachment: fixed;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Advantages Section */
.advantages .row {
    /* display: grid;  <-- REMOVED grid to allow full width centering */
    /* grid-template-columns: 1.2fr 1fr; */
    /* gap: 50px; */
    /* align-items: center; */
    justify-content: center;
    /* Ensure flex row centers content */
}

.advantages .col-image .placeholder-img {
    height: 100%;
    min-height: 400px;
    background-color: #ddd;
    border-radius: 10px;
}

.advantage-list {
    margin-top: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-card p {
    color: var(--secondary-color);
}

.advantage-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.advantage-list li i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.advantage-list li h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #e2e8f0;
}

/* Contact Section */
.contact {
    background-color: var(--white);
    color: var(--primary-color);
}

.contact h2,
.contact h3,
.contact h4,
.contact h5 {
    color: var(--primary-color) !important;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    color: var(--white);
}

/* Ensure contact info headings inside the dark box stay white */
.contact-info h4 {
    color: var(--white) !important;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon i {
    color: var(--accent-color);
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.map-container {
    margin-top: 50px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.map-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.contact-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: #020c1b;
    color: #a8b2d1;
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.animate-up,
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.animate-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0);
}

/* Admin Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-form button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Extreme Transitions */
.reveal-extreme-left,
.reveal-extreme-right {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reveal-extreme-left {
    transform: translateX(-150px) rotate(-10deg);
}

.reveal-extreme-right {
    transform: translateX(150px) rotate(10deg);
}

.reveal-extreme-left.active,
.reveal-extreme-right.active {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Floating Shadow & 3D Effects */
:root {
    --shadow-floating: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-floating-hover: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card,
.testimonial-card,
.img-wrapper,
.contact-info,
.map-container,
.btn {
    box-shadow: var(--shadow-floating);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Micro-interactions & 3D Hover */
.service-card:hover,
.testimonial-card:hover,
.img-wrapper:hover,
.contact-info:hover,
.map-container:hover {
    box-shadow: var(--shadow-floating-hover);
    transform: translateY(-8px);
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(2, 221, 177, 0.4);
}

/* Secondary Button using Brand Highlight */
.btn-highlight {
    background-color: var(--brand-highlight);
    color: var(--white);
    border: none;
}

.btn-highlight:hover {
    background-color: var(--white);
    color: var(--brand-highlight);
    border: 2px solid var(--brand-highlight);
}

/* Responsive */
@media (max-width: 960px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
        /* Mobile Menu handled by JS */
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-container,
    .advantages .row,
    .contact-wrapper,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        gap: 30px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .exp-badge {
        right: 0;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .btn-nav {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 30px;
        /* Lower position for better reachability */
        right: 20px;
        /* Ensure it's above everything on mobile */
        z-index: 2147483647 !important;
        display: flex !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2147483647;
    /* Max Z-Index */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid white;
    /* Add border for contrast */
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Wiggle & Pulse Animation */
@keyframes shake-pulse {
    0% {
        transform: scale(1) rotate(0);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    5% {
        transform: scale(1.1) rotate(-3deg);
    }

    10% {
        transform: scale(1.1) rotate(3deg);
    }

    15% {
        transform: scale(1.1) rotate(-3deg);
    }

    20% {
        transform: scale(1.1) rotate(3deg);
    }

    25% {
        transform: scale(1.1) rotate(0);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: shake-pulse 3s infinite;
    /* Slower loop but energetic burst */
}

.whatsapp-float:hover {
    animation: none;
}

/* Additional Mobile Fixes */
.legal-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-highlights {
        width: 100%;
    }
}

/* Updated Testimonials: Horizontal Scroll & Drag */
.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 10px;
    /* Space for shadow */
    cursor: grab;
}

.testimonial-track:active {
    cursor: grabbing;
}

.testimonial-slider {
    overflow-x: auto;
    position: relative;
    width: 100%;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: var(--card-width);
    flex-shrink: 0;
    user-select: none;
    /* Prevent text selection while dragging */
}

.testimonial-slider::before,
.testimonial-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}

.testimonial-slider::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

@media (max-width: 480px) {
    :root {
        --card-width: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 20px;
        width: var(--card-width);
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 350px) {
    :root {
        --card-width: 280px;
    }
}

/* =========================================
   NEW ADDITIONS FOR AESTHETIC UPGRADE & FIXES
   ========================================= */

/* Grid System Fixes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
        margin-bottom: 30px;
    }

    .row {
        flex-direction: column;
    }
}

/* Glassmorphism & Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    /* slightly lighter on hover */
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Checklist Card */
.hero-checklist-card {
    background: rgba(15, 23, 42, 0.85);
    /* Slate-900 with opacity */
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    /* Keep it from stretching too wide */
    margin-bottom: 2rem;
    display: inline-block;
    /* Aligns correctly in hero content */
    text-align: left;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Advantage Card */
.advantage-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Button Animations */
.btn,
button,
a.action-btn,
.service-card,
.advantage-card,
.testimonial-card-styled,
.comparison-card-bad,
.comparison-card-good {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    cursor: pointer;
}

.btn:hover,
button:hover,
a.action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.btn:active,
button:active,
a.action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.service-card:hover,
.advantage-card:hover,
.testimonial-card-styled:hover {
    transform: translateY(-10px);
}

/* Hero Buttons Alignment */
.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center by default on desktop */
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        /* Center on mobile too */
    }

    .hero-btns .btn {
        width: 100%;
        /* Full width on mobile */
        justify-content: center;
    }
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-color);
}

.advantage-number {
    background: var(--accent-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(6, 182, 212, 0.3);
}

/* Testimonial Cards */
/* Force specific style on testimonial cards inside the slider */
.testimonial-card-styled {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #e2e8f0;
    min-width: 350px;
    max-width: 350px;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 100px;
}

/* Verification Section */
.verification-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-badge {
    font-family: 'Courier New', monospace;
    color: #cbd5e1;
    background: #334155;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid #475569;
}

/* Floating WhatsApp styles moved to main block defined above */

/* Responsive Fixes */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-checklist-card {
        padding: 15px;
        width: 100%;
    }

    .stat-box {
        margin-bottom: 20px;
        min-width: 100%;
    }

    .testimonial-card-styled {
        min-width: 85vw;
        max-width: 85vw;
    }
}

/* =========================================
   REFINED AESTHETIC FIXES (OVERRIDES)
   ========================================= */

/* Global Mobile Fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        /* Prevent horizontal scroll "wiggle" */
    }

    .container {
        padding: 0 25px;
        /* More breathing room than default */
    }

    .section {
        padding: 60px 0;
        /* Consistent vertical spacing */
    }
}

/* Fix Advantages Grid - Use Flexbox to Center Orphans */
.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.advantage-card {
    flex: 1 1 300px;
    max-width: 450px;
}

/* Fix Hero Typography & Spacing */
.hero-content {
    padding-top: 200px;
    /* Desktop default */
}

.pain-point-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fca5a5;
    /* Soft Red/Orange */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.solution-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, white, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 20px 0 40px 0;
}

/* Global Table Container */
.table-container-mobile {
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
}

/* =========================================
   MOBILE AESTHETIC POLISH (FINAL TOUCHES)
   ========================================= */

@media (max-width: 768px) {

    /* 1. Hero Section Aesthetic */
    .hero {
        background-position: center top;
        /* Center image focus */
    }

    .hero-content {
        padding-top: 130px;
        /* Reduced for mobile visibility */
        text-align: left;
        padding-left: 15px;
        padding-right: 15px;
    }

    .pain-point-title {
        font-size: 1.4rem;
        /* Balanced size */
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .solution-title {
        font-size: 1.8rem;
        /* Not too overpowering */
        line-height: 1.25;
        margin: 10px 0 30px 0;
    }

    /* 2. Card Aesthetics (Premium Feel) */
    .service-card,
    .advantage-card,
    .stat-box,
    .testimonial-card-styled {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        /* Soft rounded corners */
        box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
        /* Sophisticated shadow */
        margin-bottom: 25px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.04);
        padding: 25px;
        /* Comfortable internal padding */
    }

    .advantages-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* Reset gap, control via margin-bottom */
    }

    .advantage-card {
        flex: none;
        /* Disable flex scaling */
    }

    /* 3. Table Responsive Wrapper */
    .table-container-mobile {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        margin: 20px 0;
        position: relative;
        border: 1px solid #f1f5f9;
    }

    /* Improve table cell padding for mobile */
    .table-container-mobile th,
    .table-container-mobile td {
        padding: 12px 15px;
        white-space: nowrap;
        /* Prevent ugly wrapping */
    }

    .table-container-mobile::after {
        content: '← Geser untuk melihat detail →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-light);
        padding: 8px 0;
        background: #f8fafc;
        border-top: 1px dashed #e2e8f0;
    }

    /* 4. Navigation Aesthetic */
    .nav-links.active {
        background: rgba(15, 23, 42, 0.98);
        /* Dark Slate with slight transparency */
        backdrop-filter: blur(12px);
        /* Glass effect */
        padding-top: 90px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active li a {
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        padding: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* 5. Floating Button Clearance */
    .whatsapp-float {
        bottom: 30px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 30px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}


/* =========================================
   SUPER HOOK / TRUST & DANGER ADDITIONS
   ========================================= */

/* Top Panic Bar */
.panic-bar {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    .panic-bar {
        font-size: 0.75rem;
        /* Smaller text on mobile */
        padding: 6px 0;
        line-height: 1.2;
    }

    .navbar {
        top: 50px !important;
        /* Push navbar down specifically for mobile */
    }
}

/* Comparison Grid (Anatomi Kegagalan) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.comparison-card-bad {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    padding: 30px;
    border-radius: 12px;
}

.comparison-card-good {
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid var(--success-green);
    padding: 30px;
    border-radius: 12px;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.comparison-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #000;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.guarantee-box h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000;
}

/* Button Gold Override */
.btn-gold {
    background-color: var(--brand-highlight);
    color: #000 !important;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
    background-color: #f59e0b;
}

/* Responsive for Grid */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}