/* ------------------------------
   COLOUR PALETTE
--------------------------------- */
:root {
    --peacock: #005F73;
    --deep-teal: #0A4A4F;
    --ocean: #0FA3B1;
    --yellow: #FFB703;
    --peach: #FFDDD2;
    --white: #FAFAFA;
    --grey: #E5E7EB;
    --text: #4A4A4A;

    /* HERO ILLUSTRATION */
    --hero-illustration: url("data:image/svg+xml;utf8,<svg width='320' height='320' viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='grad1' x1='0' y1='0' x2='1' y2='1'><stop offset='0%' stop-color='%230FA3B1'/><stop offset='100%' stop-color='%23005F73'/></linearGradient></defs><path d='M160 40c60 0 120 40 120 100s-60 140-120 140S40 200 40 140 100 40 160 40z' fill='%23FFDDD2' opacity='0.45'/><path d='M160 70c45 0 90 30 90 75s-45 105-90 105-90-60-90-105 45-75 90-75z' fill='url(%23grad1)' opacity='0.35'/><circle cx='160' cy='150' r='70' stroke='%23FFB703' stroke-width='4' stroke-dasharray='10 14' fill='none' opacity='0.9'/><circle cx='160' cy='150' r='14' fill='%23FFB703'/><path d='M160 120v-18M160 180v18M130 150h-18M210 150h-18' stroke='%23FFB703' stroke-width='4' stroke-linecap='round'/></svg>");

    /* SERVICE ICONS */
    --icon-ai: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='3'/><path d='M12 5v4M12 15v4M5 12h4M15 12h4'/><circle cx='12' cy='5' r='1.5'/><circle cx='12' cy='19' r='1.5'/><circle cx='5' cy='12' r='1.5'/><circle cx='19' cy='12' r='1.5'/></svg>");

    --icon-apps: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M8 12l2-2-2-2M16 12l-2 2 2 2'/></svg>");

    --icon-process: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><path d='M4 12a8 8 0 0114-5M20 12a8 8 0 01-14 5'/><path d='M18 7v4h-4M6 17v-4h4'/></svg>");

    /* PROJECT ICONS */
    --icon-project-aec: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><rect x='6' y='4' width='12' height='16' rx='2'/><path d='M9 4h6M9 10l2 2 4-4M9 15l2 2 4-4'/></svg>");
    --icon-project-home: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><rect x='4' y='4' width='16' height='16' rx='2'/><circle cx='12' cy='12' r='3'/><path d='M12 12v4M10 12h4M9 8h6'/></svg>");
    --icon-project-dss: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='3'/><circle cx='5' cy='7' r='2'/><circle cx='19' cy='7' r='2'/><circle cx='5' cy='17' r='2'/><circle cx='19' cy='17' r='2'/><path d='M12 9V7M12 15v2M9 12H7M15 12h2'/></svg>");
    --icon-project-ato: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'><path d='M7 17a4 4 0 010-8 5 5 0 019-2 4 4 0 011 8'/><path d='M12 10v6M9 13l3-3 3 3'/></svg>");
}

/* GLOBAL */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.container-6tiles {
    width: 95%;
    max-width: 1000px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--peacock);
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

nav a {
    text-decoration: none;
    color: var(--deep-teal);
    font-weight: 500;
}

.btn-nav {
    padding: 0.5rem 1rem;
    background: var(--yellow);
    border-radius: 6px;
    color: #000;
}
.nav-links a {
    display: flex;
    align-items: center;
}


/* NAV WRAPPER */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* HAMBURGER ICON */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--deep-teal);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* DESKTOP NAV */
.nav-links {
    display: flex;
    gap: 1.5rem;
}

/* MOBILE MENU */
@media (max-width: 768px) {
    .navbar .nav-content {
        padding: 0 1rem;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
	padding: 0 1rem; /* NEW */
	box-sizing: border-box;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid var(--grey);

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    }

    .nav-links.show {
        max-height: 400px;
        opacity: 1;
	padding: 1rem 1rem; /* NEW */
    }

    .hamburger {
        display: flex;
	background-color: rgba(255, 255, 255, 0);
	border: none;
    }
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--ocean), var(--peacock));
    color: white;
    padding: 6rem 0 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
    from { transform: translateY(0px) translateX(0px); }
    to   { transform: translateY(40px) translateX(30px); }
}

/* HERO ILLUSTRATION */
.hero-illustration {
    width: 260px;
    height: 260px;
    margin: 0 auto 1.5rem auto;
    background-image: var(--hero-illustration);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary {
    background: var(--yellow);
    color: #000;
}

.btn-primary:hover {
    background: #e6a302;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.hero-content {
    padding-bottom: 10px;
}

/* SERVICES */
.services {
    padding: 4rem 0;
    text-align: center;
}

.service-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2rem;
}

.service-card {
    background: var(--peach);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* SERVICE ICONS */
.service-card::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem auto;
    background-color: var(--peacock);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    opacity: 0.9;
}

.service-card.ai::before { mask-image: var(--icon-ai); }
.service-card.apps::before { mask-image: var(--icon-apps); }
.service-card.process::before { mask-image: var(--icon-process); }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* WHY US */
.why-us {
    background: var(--grey);
    padding: 4rem 0;
}

.why-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 2rem;
}

.why-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 6px solid var(--peacock);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* PROJECTS */
.projects {
    padding: 4rem 0;
}

.project-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--grey);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* PROJECT ICONS */
.project-card::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem auto;
    background-color: var(--peacock);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    opacity: 0.9;
}

.project-card.aec::before { mask-image: var(--icon-project-aec); }
.project-card.home::before { mask-image: var(--icon-project-home); }
.project-card.dss::before { mask-image: var(--icon-project-dss); }
.project-card.ato::before { mask-image: var(--icon-project-ato); }

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* TESTIMONIALS */
.testimonials {
    padding: 4rem 0;
    background: var(--white);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 0;
}

.testimonial {
    min-width: 300px;
    max-width: 400px;
    background: var(--peach);
    padding: 2rem;
    border-radius: 12px;
    scroll-snap-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 600px) {
    .testimonial-slider {
        display: block;
        overflow: visible;
        scroll-snap-type: none;
    }

    .testimonial {
        min-width: auto;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* CTA */
.cta {
    background: var(--peacock);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta .btn-primary {
    background: var(--yellow);
}

/* FOOTER */
.footer {
    background: var(--deep-teal);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.footer img {
    width: auto;
    filter: invert(78%) sepia(89%) saturate(900%) hue-rotate(350deg) brightness(105%) contrast(95%);
}

.industries-para {
  text-align: center;
}

.section-divider svg {
    display: block;
    width: 100%;
    margin-bottom: -1px;
}

/* SCROLL LINKS */
.scroll-links {
    background: var(--grey);
    padding: 1.2rem 0 2rem 0;
    overflow: hidden;
}

.scroll-links h2 {
    margin: 0 0 0.8rem 0;
}

.scroll-track {
    display: inline-flex;
    gap: 3rem;
    animation: scroll-left 18s linear infinite;
    white-space: nowrap;
}

.scroll-links a {
    font-weight: 600;
    color: var(--deep-teal);
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.scroll-links a:hover {
    opacity: 1;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* CHATBOT */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: inherit;
}

/* Floating button */
.chat-toggle {
    width: 55px;
    height: 55px;
    background: var(--peacock);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform .2s ease;
}

.chat-toggle:hover {
    transform: scale(1.08);
}

/* Chat window */
.chat-window {
    width: 300px;
    height: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: var(--peacock);
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: center;
}

.chat-body {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: var(--grey);
}

.bot-msg {
    background: var(--peach);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 80%;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--grey);
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.chat-input button {
    background: var(--yellow);
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 600px) {
    .chat-window {
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90%; /* fits nicely on mobile */
    }

    .chatbot {
        right: 10px; /* keeps the bubble in the corner */
    }
}

/* Slide‑up animation for chat window */
@keyframes chatSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-window.open {
    animation: chatSlideUp 0.35s ease forwards;
}


.how-we-work {
    padding: 80px 0;
    background: #fafafa;
}

.how-intro {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.how-step {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.how-step h3 {
    margin-bottom: 10px;
    color: #222;
}

.how-step p {
    color: #555;
    line-height: 1.6;
}

.technologies {
    padding: 80px 0;
    background: #ffffff;
}

.tech-intro {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    text-align: center;
}

.tech-item {
    background: #fafafa;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.tech-item span {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}


.pricing-models {
    padding: 80px 0;
    background: #fafafa;
}

.pricing-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    margin-bottom: 10px;
    color: #222;
}

.pricing-card p {
    color: #555;
    margin-bottom: 15px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card ul li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    color: #444;
}

.pricing-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4CAF50;
}
