/* ==============================================================
   MJ Digital Solutions - Luxury Modern Agency & Dashboard UI System
   Colors inspired by Brand Logo & Advanced Tech Palette:
   - Primary Accent: #FFAF06 / #FFBD2E (Bright Brand Yellow)
   - Backgrounds: #0B0E14 (Deep Void), #0F1320 (Obsidian Navy), #161B26 (Elevated Card)
   - Text: #FFFFFF, #64748B, #94A3B8
   - Secondary Accents: #14BB87 (Emerald Success), #FF5F56 (Coral Fire)
============================================================== */

:root {
    --bg-black: #080a0f;
    --bg-dark: #0f1320;
    --bg-card: #151b28;
    --bg-card-hover: #1c2436;
    --brand-yellow: #ffaf06;
    --brand-yellow-bright: #ffbd2e;
    --brand-yellow-glow: rgba(255, 175, 6, 0.25);
    --accent-green: #14bb87;
    --accent-red: #ff5f56;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 175, 6, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(255, 175, 6, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.text-yellow { color: var(--brand-yellow); }
.text-green { color: var(--accent-green); }
.text-gray { color: var(--text-secondary); }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }

/* Top Info Bar */
.top-bar {
    background: #090c13;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    padding: 8px 0;
    color: var(--text-secondary);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info {
    display: flex;
    gap: 20px;
    align-items: center;
}
.top-info span i {
    color: var(--brand-yellow);
    margin-right: 6px;
}
.top-cta a {
    color: var(--brand-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.top-cta a:hover {
    color: #fff;
}

/* Logo Design - Perfectly matching the Yellow Circle MJ Brand */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-yellow);
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(255, 175, 6, 0.45);
    position: relative;
}
.logo-letters {
    font-weight: 900;
    font-size: 1.3rem;
    color: #000;
    letter-spacing: -1.5px;
    line-height: 1;
}
.logo-text-group {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    color: var(--brand-yellow);
}

/* Navbar */
.navbar {
    background: rgba(15, 19, 32, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--brand-yellow);
}
.btn-nav {
    background: transparent;
    border: 1px solid var(--brand-yellow) !important;
    padding: 9px 20px !important;
    border-radius: var(--radius-full);
    color: var(--brand-yellow) !important;
    font-weight: 600 !important;
}
.btn-nav:hover {
    background: var(--brand-yellow) !important;
    color: #000 !important;
    box-shadow: var(--shadow-glow);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-yellow);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(255, 175, 6, 0.12), transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(20, 187, 135, 0.08), transparent 45%),
                #080a0f;
    border-bottom: 1px solid var(--border-subtle);
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 175, 6, 0.1);
    border: 1px solid rgba(255, 175, 6, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-tag i {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 950px;
}
.hero p.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin-bottom: 40px;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-yellow {
    background: var(--brand-yellow);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 175, 6, 0.25);
}
.btn-yellow:hover {
    background: var(--brand-yellow-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 175, 6, 0.45);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
    background: rgba(255, 175, 6, 0.05);
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Dashboard / Metrics Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin-top: 50px;
    gap: 20px;
    box-shadow: var(--shadow-card);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-yellow);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 90px 0;
    position: relative;
}
.section-dark {
    background: var(--bg-dark);
}
.section-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}
.section-badge {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Niches Cards */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.niche-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-yellow);
    opacity: 0;
    transition: var(--transition);
}
.niche-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
}
.niche-card:hover::before {
    opacity: 1;
}
.niche-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    background: rgba(255, 175, 6, 0.1);
    color: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.niche-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.niche-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.service-icon {
    font-size: 2.2rem;
    color: var(--brand-yellow);
}
.service-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: var(--brand-yellow);
    font-weight: 600;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-points {
    list-style: none;
    margin-bottom: 25px;
}
.service-points li {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-points li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-yellow), #000);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    border: 2px solid var(--brand-yellow);
}
.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.team-role {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.team-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* Contact Box / WhatsApp Lead System */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}
.contact-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.contact-details-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 175, 6, 0.12);
    color: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.detail-text h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.detail-text p, .detail-text a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}
.detail-text a:hover {
    color: var(--brand-yellow);
}

.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #e2e8f0;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #090c13;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.92rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 10px rgba(255, 175, 6, 0.3);
}

/* Footer */
.footer {
    background: #05070a;
    padding: 80px 0 25px;
    border-top: 1px solid var(--border-subtle);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 18px 0 22px;
    line-height: 1.7;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-yellow);
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--brand-yellow);
    color: #000;
}
.footer-col h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}
.footer-col h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--brand-yellow);
    margin-top: 6px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--brand-yellow);
    padding-left: 5px;
}
.office-address {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}
.contact-col p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.contact-col a {
    color: #cbd5e1;
    text-decoration: none;
}
.contact-col a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 25px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
}
.footer-legal a:hover {
    color: var(--brand-yellow);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.12);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-card);
    }
    .nav-menu.show { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .stats-strip { grid-template-columns: 1fr; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; text-align: center; }
}
