/* =========================
   HILINK ENTERPRISE THEME
========================= */
:root {
    --white: #FFFFFF;
    --blue: #1D8CFF;
    --green: #22C55E;
    --navy: #0B1F3A;
    --slate: #64748B;
    --ice-blue: #EAF5FF;
    --border: #DDE7F0;
    --dark: #111827;
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    padding-top: 90px;
}

/* =========================
   NAVBAR
========================= */
.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 */
.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
========================= */
.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: var(--ice-blue);
    color: var(--blue);
    padding-left: 18px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* =========================
   HERO
========================= */
.hero {
    background: white;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px 50px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.hero p {
    max-width: 750px;
    color: var(--slate);
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   CONTACT SECTION
========================= */
main {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px 90px;
}

.contact-wrapper {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-form,
.contact-details {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form {
    flex: 2;
    min-width: 450px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    background: var(--navy);
    color: white;
}

.contact-form h2 {
    color: var(--navy);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-details h2 {
    color: var(--green);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--blue);
    box-shadow: 0 0 15px rgba(29, 140, 255, 0.5);
}

.contact-details ul {
    list-style: none;
}

.contact-details li {
    margin-bottom: 25px;
    color: #E2E8F0;
}

.contact-details .label {
    display: block;
    color: var(--green);
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-details a {
    color: white;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--green);
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--slate);
    color: white;
    padding-top: 70px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h3 {
    color: var(--green);
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.footer-column p {
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #CBD5E1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--green);
    padding-left: 5px;
}

/* =========================
   NEWSLETTER
========================= */
.newsletter input {
    width: 100%;
    padding: 13px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
}

.newsletter input:focus {
    outline: 3px solid rgba(34, 197, 94, 0.3);
}

.newsletter button {
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: var(--blue);
    box-shadow: 0 0 15px rgba(29, 140, 255, 0.5);
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 25px;
    color: #CBD5E1;
    font-size: 14px;
}

/* =========================
   SOCIAL MEDIA
========================= */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 42px;
    height: 42px;
    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: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
}

.social-links a:hover .linkedin-icon {
    fill: var(--navy);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 20px 30px;
    }
    .contact-form {
        min-width: 100%;
    }
    .contact-details {
        min-width: 100%;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 120px;
    }
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .dropdown-menu {
        left: -40px;
    }
    .hero {
        padding: 50px 20px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    main {
        padding: 40px 15px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-form,
    .contact-details {
        padding: 25px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 25px 40px;
    }
    .footer-column a:hover {
        padding-left: 0;
    }
}

/* =========================
   FORM VALIDATION
========================= */
.input-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.error-message {
    display: block;
    color: #EF4444;
    font-size: 13px;
    margin-top: 6px;
}

/* =========================
   MOBILE MENU TOGGLE
========================= */
.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: white;
    border-radius: 2px;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--navy);
        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-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
    body {
        padding-top: 80px;
    }
}

/* =========================
   AI CHATBOT STYLES
========================= */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 2000;
}

.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 {
    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 {
    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 {
    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-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);
}

@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;

    }

}