/* =========================
   HILINK ENTERPRISE THEME
========================= */

:root {
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --blue: #1D8CFF;
    --green: #22C55E;
    --navy: #0B1F3A;
    --slate: #64748B;
    --border: #E2E8F0;
    --text-muted: #475569;
    --text-light: #D5DCE8;
}

/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    padding-top: 90px;
}

/* =========================
   NAVBAR (UNCHANGED)
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--slate);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.15);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--green);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

/* =========================
   GET IN TOUCH BUTTON (UNCHANGED)
========================= */

.contact-btn {
    background: var(--green);
    color: var(--navy) !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-shadow: none !important;
}

.contact-btn:hover {
    background: var(--white);
    color: var(--navy) !important;
    transform: translateY(-2px);
}

/* =========================
   SERVICES DROPDOWN (UNCHANGED)
========================= */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    width: 230px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
}

.dropdown-menu a {
    display: block;
    color: var(--navy);
    padding: 12px 15px;
    text-shadow: none;
}

.dropdown-menu a:hover {
    background: #EAF5FF;
    color: var(--blue);
    padding-left: 18px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    padding: 150px 20px 80px;
    text-align: center;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.2;
    max-width: 900px;
    font-weight: 800;
}

/* Keep exact original green styling for tagline */
.hero h1 span {
    color: var(--green);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.hero p {
    margin-top: 25px;
    max-width: 750px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
}

/* Keep exact original hero button */
.hero-btn {
    display: inline-block;
    margin-top: 35px;
    background: var(--green);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover {
    background: var(--blue);
    box-shadow: 0 0 20px var(--blue);
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--navy);
}

.section-title p {
    color: var(--text-muted);
    margin-top: 15px;
}

/* =========================
   SERVICES
========================= */

.services-brief {
    background: var(--bg-light);
    padding: 80px 30px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-pills {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Keep exact original service pill styling */
.service-pill {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 14px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.service-pill:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

/* =========================
   SERVICES PREVIEW GRID
========================= */

.services-preview-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px 25px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.service-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(29, 140, 255, 0.12);
    border-color: var(--green);
}

.service-preview-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.service-preview-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 18px;
}

.learn-more-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
    transition: 0.3s;
}

.learn-more-link:hover {
    color: var(--green);
}

.services-brief-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Keep exact original services button */
.services-btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.services-btn:hover {
    background: var(--blue);
    box-shadow: 0 0 20px var(--blue);
}

/* =========================
   HOW WE WORK (Harmonized Colors)
========================= */

.how-we-work {
    background: var(--white);
    padding: 90px 30px;
}

.how-we-work-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Unified clean card styling instead of contrasting block colors */
.hww-card {
    padding: 40px 35px;
    min-height: 200px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    transition: 0.3s;
}

.hww-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hww-card h3 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}

.hww-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Custom class fallbacks mapped to clean palette */
.hww-light, .hww-navy, .hww-slate, .hww-green {
    background: var(--white);
    color: var(--navy);
}

/* =========================
   TECH STACK
========================= */

.tech-stack {
    background: var(--bg-light);
    padding: 80px 30px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    font-weight: 700;
    color: var(--navy);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tech-box img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.tech-box:hover {
    border-color: var(--green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15);
}

/* =========================
   WHY US
========================= */

.why-us-section {
    background: var(--white);
    padding: 80px 30px;
}

.why-us-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    transition: 0.3s;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
}

.why-us-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.why-us-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
    font-size: 19px;
}

.why-us-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* =========================
   CONTACT CTA (Keep exact original buttons)
========================= */

.contact-cta {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 80px 30px;
}

.contact-cta h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    background: var(--slate);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* =========================
   FOOTER (UNCHANGED)
========================= */

.footer {
    background: var(--slate);
    color: var(--white);
    padding-top: 55px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px 45px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h3 {
    color: var(--green);
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.footer-column p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--green);
    padding-left: 4px;
}

.newsletter input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-top: 10px;
    outline: none;
}

.newsletter input:focus {
    border-color: var(--green);
}

.newsletter button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: var(--blue);
}
/*SOCIALS*/
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: 0.3s;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
}

.social-links a:hover .linkedin-icon {
    fill: var(--navy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 18px 20px;
}

.footer-bottom p {
    color: #CBD5E1;
    margin: 0;
    font-size: 14px;
}

/* =========================
   MOBILE MENU (UNCHANGED)
========================= */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
}

/* =========================
   RESPONSIVE - TABLET & MOBILE (UNCHANGED)
========================= */

@media (max-width: 1000px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .how-we-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 80px;
    }

    .navbar {
        height: 80px;
        padding: 16px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 45px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--slate);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: 0.3s;
    }

    nav.open {
        max-height: 500px;
        padding: 10px 0 20px;
    }

    nav a {
        width: 100%;
        padding: 14px 30px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown > a {
        display: block;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 45px;
    }

    .hero {
        min-height: 550px;
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .how-we-work-grid {
        grid-template-columns: 1fr;
    }

    .hww-card {
        padding: 40px 25px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .service-pill {
        padding: 12px 20px;
        font-size: 14px;
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter {
        max-width: 400px;
        width: 100%;
        margin: auto;
    }
}
/* ========================================== */
/* AI CHATBOT STYLES               */
/* ========================================== */

/* Chatbot Container */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
}

/* Chat Toggle Button */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
    background: var(--blue);
}

.chat-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Chat Window Frame */
.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(11, 31, 58, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-window.active {
    display: flex;
}

/* Chat Header */
.chat-header {
    background: var(--navy);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
}

.chat-header h4 {
    font-size: 15px;
    margin: 0;
}

.chat-header small {
    color: var(--slate);
    font-size: 12px;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #F8FAFC;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.bot {
    background: var(--ice-blue);
    color: var(--navy);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: var(--green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Chat Input Bar */
.chat-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--green);
}

.chat-send-btn {
    background: var(--navy);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.chat-send-btn:hover {
    background: var(--blue);
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* =========================
        COOKIE CONSENT
========================= */

.cookie-banner {

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy);
    color: white;
    padding: 20px 30px;
    z-index: 2500;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    display: none;

}

.cookie-banner.show {

    display: block;

}

.cookie-content {

    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;

}

.cookie-content p {

    flex: 1;
    min-width: 250px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;

}

.cookie-buttons {

    display: flex;
    gap: 12px;

}

.btn-cookie-accept {

    background: var(--green);
    color: var(--navy);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;

}

.btn-cookie-accept:hover {

    background: var(--blue);
    color: white;

}

.btn-cookie-decline {

    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;

}

.btn-cookie-decline:hover {

    border-color: var(--green);
    color: var(--green);

}

@media(max-width: 700px) {

    .cookie-content {

        flex-direction: column;
        text-align: center;

    }

    .cookie-buttons {

        width: 100%;

    }

    .btn-cookie-accept,
    .btn-cookie-decline {

        flex: 1;

    }

}
/* =========================
        COOKIE CONSENT
========================= */

.cookie-banner {

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy);
    color: white;
    padding: 20px 30px;
    z-index: 2500;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    display: none;

}

.cookie-banner.show {

    display: block;

}

.cookie-content {

    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;

}

.cookie-content p {

    flex: 1;
    min-width: 250px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;

}

.cookie-buttons {

    display: flex;
    gap: 12px;

}

.btn-cookie-accept {

    background: var(--green);
    color: var(--navy);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;

}

.btn-cookie-accept:hover {

    background: var(--blue);
    color: white;

}

.btn-cookie-decline {

    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;

}

.btn-cookie-decline:hover {

    border-color: var(--green);
    color: var(--green);

}

@media(max-width: 700px) {

    .cookie-content {

        flex-direction: column;
        text-align: center;

    }

    .cookie-buttons {

        width: 100%;

    }

    .btn-cookie-accept,
    .btn-cookie-decline {

        flex: 1;

    }

}