/* Modern Professional Theme Variables - Strict Black & White Palette */
:root {
    --bg-deep: #fdf9f9;
    --bg-card: rgb(255, 255, 255);

    --text-main: #000000;
    --text-muted: rgba(0, 0, 0, 0.65); /* FIX */

    --accent-primary: #000000;
    --accent-glow: rgba(0, 0, 0, 0.08); /* FIX */

    --border-color: rgba(0, 0, 0, 0.08); /* FIX */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    padding-top: 70px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */

/* ================= NAVBAR TOGGLER FIX ================= */

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.35);
    padding: 4px 8px;
    border-radius: 6px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Force BLACK hamburger icon */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-brand {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.35em;
    font-weight: 600;
    color: #000;
}

.navbar-logo {
    height: 36px;
    margin-right: 8px;
}

.nav-search {
    background: transparent;
    border: 1px solid rgb(0, 0, 0);
    padding: 5px 12px;
    color: #000000; /* FIX */
    border-radius: 6px;
}

.nav-search::placeholder {
    color: rgba(0, 0, 0, 0.5); /* FIX */
}

/* Navbar - Glassmorphism */
.navbar {
    background: #fcfafa;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main) !important;
}

.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 8px;
    transition: color 0.3s;
}

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

/* ================= HERO ================= */

.hero {
    height: 100vh;
    background:
        linear-gradient(rgb(255, 255, 255), rgb(228, 225, 225)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2072')
        center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #000000;
}

.hero p {
    max-width: 650px;
    margin: 20px auto 40px auto;
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 300;
}

/* ================= BUTTON ================= */

.btn-primary-custom {
    background: #000000db;
    color: #ffffff !important;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); /* FIX */
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background: #000000ef;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25); /* FIX */
    text-decoration: none;
}

/* ================= SECTIONS ================= */

.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-align: center;
}

.section-sub {
    color: var(--text-muted);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    padding: 0 15px;
}

/* ================= GRIDS ================= */

.core-grid,
.standard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

/* ================= PREMIUM CARDS ================= */

.premium-card {
    background: rgb(255, 254, 254);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.25), transparent); /* FIX */
    transform: translateX(-100%);
    transition: 0.6s;
}

.premium-card:hover::before {
    transform: translateX(100%);
}

.premium-card:hover {
    border-color: #000000;
    background: rgba(255, 255, 255, 0.983);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-8px);
}

.card-icon {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 20px;
    display: block;
    transition: 0.3s;
}

.premium-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.premium-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================= AUTOMATION ================= */

.automation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 20px;
    background: rgb(253, 253, 253);
    border: 1px solid transparent;
    transition: 0.3s;
}

.automation-item:hover {
    background: #e4e3e3;
    border-color: #000000;
    transform: translateX(5px);
}

.automation-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000;
    margin-right: 15px;
    opacity: 0.4;
}

/* ================= TESTIMONIAL ================= */

.testimonial-container {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
}

#testimonialTrack {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slide 35s linear infinite;
}

.testimonial-card {
    width: clamp(280px, 85vw, 380px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 24px;
}

.testimonial-avatar {
    background: #000000;
    color: #ffffff;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= CONTACT ================= */

.contact-channel-card {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
}

.channel-icon {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #000000;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-form-card {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: clamp(25px, 5vw, 50px);
}

.form-control {
    background: rgba(247, 244, 244, 0.917);
    border: 1px solid var(--border-color);
    color: #000000;
    padding: 15px 20px;
    border-radius: 14px;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.45); /* FIX */
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.923);
    border-color: #000000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); /* FIX */
    color: #000000;
    outline: none;
}

/* ================= FOOTER ================= */

.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer h5 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #000000;
    text-transform: uppercase;
}

.footer-logo-brand {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
    color: #000000;
}

.footer-nav-link {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: 0.3s;
    text-decoration: none !important;
}

.footer-nav-link:hover {
    color: #000000;
    padding-left: 5px;
}

.footer-social-wrap {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.941);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: 0.3s;
    text-decoration: none !important;
}

.footer-social-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
}

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

@media (max-width: 991px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 15px 80px;
    }

    .section {
        padding: 60px 0;
    }

    .contact-form-card {
        margin-top: 40px;
    }

    .footer-col {
        text-align: left !important;
        margin-bottom: 35px;
    }

    .footer-social-wrap {
        justify-content: flex-start !important;
    }
}

@media (max-width: 576px) {
    .premium-card {
        padding: 30px 20px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .core-grid,
    .standard-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= SUBTLE GLOBAL SPACING ================= */

/* Mobile */
.container {
  max-width: 100% !important;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mid devices (tablet / small laptop) */
@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Laptop & desktop */
@media (min-width: 1200px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Safety */
.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
