
/* =========================================
   PERURI SOLUTIONS
   Premium Glassmorphism Website
   ========================================= */

/* GLOBAL SETTINGS */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #0f172a;
    background: #fff;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 4px;
}

.wrap {
    width: min(1240px, 92%);
    margin: auto;
}

/* TOP HEADER */

.top {
    display: none;
}

.top span {
    float: right;
}

/* MAIN HEADER */

header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10;
    border-bottom: 1px solid #e2e8f0;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
}

.logo {
    width: 220px;
    max-width: 100%;
    display: block;
}

/* NAVIGATION */

nav {
    display: flex;
    gap: 18px;
    font-size: 13px;
    font-weight: 600;
}

nav a {
    transition: color 0.25s ease;
}

nav a:hover,
nav a[aria-current] {
    color: #2563eb;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border: 1px solid #2563eb;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.25s ease;
}

.button:hover {
    background: #1749b8;
    color: white;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
}

.outline {
    background: rgba(255, 255, 255, 0.65);
    color: #2563eb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.white {
    background: white;
    color: #2563eb;
    border-color: white;
}

#menu {
    display: none;
}

/* =========================================
   HERO SECTION - NEW BACKGROUND IMAGE
   ========================================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background-color: #eaf4ff;

    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(255, 255, 255, 0.40) 42%,
            rgba(255, 255, 255, 0.02) 75%
        ),
        url("../images/hero-background.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 620px;
    padding: 95px 0;

    display: flex;
    align-items: center;
}

.hero > .wrap {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 55px;
}

/* HERO TEXT */

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #2563eb;
}

.eyebrow i {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
}

h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -2.8px;
    margin: 20px 0;
}

h1 em {
    font-style: normal;
    color: #2563eb;
}

.hero h1 {
    color: #0f172a;
}

.hero h1 em {
    color: #2563eb;
}

h2 {
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 12px 0 28px;
}

h3 {
    line-height: 1.3;
}

p {
    color: #526178;
}

.hero p {
    font-size: 18px;
    max-width: 540px;
    color: #334155;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 26px 0;
}

.small,
.demo {
    font-size: 12px;
    color: #64748b;
}

/* =========================================
   GLASSMORPHISM DASHBOARD
   ========================================= */

.visual {
    position: relative;
}

.dashboard {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 6px solid rgba(23, 43, 80, 0.92);
    border-radius: 18px;

    box-shadow:
        0 30px 70px rgba(22, 58, 117, 0.20),
        0 0 25px rgba(255, 255, 255, 0.40);

    overflow: hidden;
}

.dashhead {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.90);
}

.dashbody {
    display: grid;
    grid-template-columns: 24% 1fr;
    min-height: 290px;
}

.dashbody aside {
    background: #0f2345;
    color: #c5d5ef;
    padding: 18px 10px;
    font-size: 11px;
    line-height: 3;
}

.dashmain {
    padding: 16px;
    background: rgba(241, 245, 249, 0.90);
}

.dashmain h3 {
    margin: 5px 0 14px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.metrics div,
.chart {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(219, 234, 254, 0.80);
    border-radius: 7px;
    padding: 10px;
    font-size: 10px;
}

.metrics b {
    display: block;
    font-size: 21px;
    color: #2563eb;
}

.chart {
    margin-top: 12px;
}

.bars {
    height: 105px;
    display: flex;
    gap: 8px;
    align-items: end;
}

.bars i {
    height: var(--h);
    flex: 1;
    background: linear-gradient(#60a5fa, #2563eb);
    border-radius: 4px 4px 0 0;
}

.float {
    position: absolute;
    right: -12px;
    bottom: 30px;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);

    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);

    color: #047857;
    font-size: 12px;
    font-weight: bold;
}

/* =========================================
   WEBSITE SECTIONS
   ========================================= */

.section {
    padding: 65px 0;
}

/* SERVICE AND PRODUCT CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.10);
}

.num {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;

    background: linear-gradient(
        135deg,
        #eff6ff,
        #dbeafe
    );

    color: #2563eb;
    border-radius: 12px;
    font-weight: bold;
}

.card a {
    color: #2563eb;
    font-size: 14px;
    font-weight: bold;
}

/* CALL TO ACTION */

.cta {
    background: linear-gradient(
        115deg,
        #0f2345,
        #2563eb
    );

    color: white;
    border-radius: 22px;
    padding: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta h2 {
    margin: 8px 0;
}

.cta span {
    font-size: 12px;
    letter-spacing: 2px;
}

.cta p {
    color: #dbeafe;
}

/* =========================================
   INNER PAGE BANNERS
   ========================================= */

.pagehero {
    background: linear-gradient(
        120deg,
        #f8fafc 0%,
        #eff6ff 55%,
        #dbeafe 100%
    );

    padding: 65px 0;
}

.pagehero p {
    font-size: 18px;
    max-width: 750px;
}

/* =========================================
   CONTACT PAGE AND FORMS
   ========================================= */

.contactgrid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 14px;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 10px;
    margin-top: 5px;
    background: white;
    color: #0f172a;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 45px 0 15px;
}

.foot {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.foot a {
    display: block;
    transition: color 0.25s ease;
}

.foot a:hover {
    color: #60a5fa;
}

.foot p {
    color: #94a3b8;
}

.copyright {
    border-top: 1px solid #334155;
    margin-top: 25px;
    padding-top: 15px;
    font-size: 12px;
}

/* FLOATING WHATSAPP BUTTON */

.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #047857;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    z-index: 20;
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.25);
    transition: background 0.25s ease;
}

.floating:hover {
    background: #059669;
}

[hidden] {
    display: none !important;
}

/* =========================================
   TABLET RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1100px) {

    #menu {
        display: block;
        background: white;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 8px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
        flex-direction: column;
    }

    nav.open {
        display: flex;
    }

    .headquote {
        display: none;
    }

    .hero {
        min-height: 560px;
        padding: 75px 0;
    }

    .hero-grid {
        gap: 30px;
    }

    .cards {
        gap: 15px;
    }

    .card {
        padding: 22px;
    }
}

/* =========================================
   MOBILE RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 720px) {

    .hero-grid,
    .contactgrid,
    .foot {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 55px 0;

        background-image:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.88) 0%,
                rgba(255, 255, 255, 0.65) 60%,
                rgba(255, 255, 255, 0.20) 100%
            ),
            url("../images/hero-background.png");

        background-position: center center;
        background-size: cover;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero p {
        font-size: 16px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .cta {
        padding: 25px;
        align-items: start;
        flex-direction: column;
    }

    .top span {
        display: none;
    }

    .logo {
        width: 190px;
    }

    .float {
        right: 0;
    }

    h1 {
        letter-spacing: -1.5px;
    }

    .dashbody {
        min-height: 240px;
    }

    .metrics b {
        font-size: 16px;
    }

    .dashmain {
        padding: 10px;
    }

    .metrics div {
        padding: 7px;
    }

    .pagehero {
        padding: 45px 0;
    }

    .floating {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* =========================================
   DARK AURORA TECHNOLOGY
   OUR EXPERTISE SECTION
   ========================================= */

.expertise-dark {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 85px 0;

    background:
        radial-gradient(
            ellipse at 90% 10%,
            rgba(79, 70, 229, 0.65),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 0% 90%,
            rgba(14, 165, 233, 0.35),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #080e24,
            #172554,
            #080e24
        );

    color: #ffffff;
}

/* Animated Aurora Lighting */

.expertise-dark::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 400px;
    top: -150px;
    right: -100px;

    background: rgba(124, 58, 237, 0.25);
    filter: blur(110px);
    border-radius: 50%;

    pointer-events: none;
    z-index: -1;

    animation: auroraGlow 12s ease-in-out infinite alternate;
}

.expertise-dark::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 400px;
    bottom: -150px;
    left: -100px;

    background: rgba(6, 182, 212, 0.25);
    filter: blur(100px);
    border-radius: 50%;

    pointer-events: none;
    z-index: -1;
}

@keyframes auroraGlow {
    0% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    100% {
        transform: translate(-100px, 70px);
        opacity: 1;
    }
}

/* Section Headings */

.expertise-dark .eyebrow {
    color: #67e8f9;
    letter-spacing: 3px;
}

.expertise-dark h2 {
    color: #ffffff;
    margin-bottom: 35px;
}

/* Glassmorphism Service Cards */

.expertise-dark .cards {
    gap: 24px;
}

.expertise-dark .card {
    position: relative;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.04)
    );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 30px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Card Hover Effects */

.expertise-dark .card:hover {
    transform: translateY(-7px);

    background: rgba(255, 255, 255, 0.13);

    border-color: rgba(96, 165, 250, 0.65);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(59, 130, 246, 0.18);
}

/* Card Text */

.expertise-dark .card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-top: 20px;
}

.expertise-dark .card p {
    color: #cbd5e1;
    line-height: 1.8;
}

.expertise-dark .card a {
    color: #93c5fd;
    font-weight: 700;
}

.expertise-dark .card a:hover {
    color: #67e8f9;
}

/* Illuminated Number Boxes */

.expertise-dark .num {
    width: 52px;
    height: 52px;

    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;

    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 13px;

    box-shadow: 0 0 20px rgba(59, 130, 246, 0.12);
}

/* Different Colours for Each Service */

.expertise-dark .card:nth-child(2) .num {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.4);
}

.expertise-dark .card:nth-child(3) .num {
    background: rgba(6, 182, 212, 0.15);
    color: #67e8f9;
    border-color: rgba(6, 182, 212, 0.4);
}

.expertise-dark .card:nth-child(4) .num {
    background: rgba(249, 115, 22, 0.15);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.4);
}

.expertise-dark .card:nth-child(5) .num {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.4);
}

.expertise-dark .card:nth-child(6) .num {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.4);
}

/* Mobile Responsive */

@media (max-width: 720px) {

    .expertise-dark {
        padding: 50px 0;
    }

    .expertise-dark .cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .expertise-dark .card {
        padding: 24px;
    }

    .expertise-dark h2 {
        font-size: 30px;
    }
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {

    .expertise-dark::before {
        animation: none;
    }

    .expertise-dark .card {
        transition: none;
    }

    .expertise-dark .card:hover {
        transform: none;
    }
}

/* Continuous Dark Aurora Background */

body {
    background: #080e24;
    background-image: url("../images/aurora-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Keep the existing header */

header {
    background: #ffffff;
}

/* All sections below the hero */

.section {
    background: transparent;
    color: #ffffff;
}

.section h2,
.section h3 {
    color: #ffffff;
}

.section .eyebrow {
    color: #67e8f9;
}

.section p {
    color: #cbd5e1;
}

/* Premium Glass Cards */

.section .card {
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.65),
        rgba(49, 46, 129, 0.35)
    );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 18px;

    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.15),
        inset 0 0 20px rgba(139, 92, 246, 0.12);
}

.section .card:hover {
    transform: translateY(-6px);
    border-color: #67e8f9;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
}

.section .card a {
    color: #67e8f9;
}

.expertise-dark {
    background: transparent;
}

/* Mobile compatibility */

@media (max-width: 720px) {
    body {
        background-attachment: scroll;
    }
}
/* Contact form additions */
.top {display:none;}
#enquiry:hover {transform:none;}
#enquiry button:disabled {opacity:.65;cursor:wait;}
#enquiryDialog {width:min(480px,92%);border:1px solid #67e8f9;border-radius:18px;padding:30px;background:#101e48;color:white;text-align:center;}
#enquiryDialog p {color:#dbeafe;}
#enquiryDialog::backdrop {background:#020617bb;}
#enquiryDialog h2 {font-size:26px;}
#enquiryDialog strong {color:#67e8f9;}


/* HOW WE WORK - Four cards in a single row */

.cards.process-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.process-cards .card {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.process-cards .card a {
    margin-top: auto;
}

/* Tablet view */
@media (max-width: 1024px) {
    .cards.process-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile view */
@media (max-width: 600px) {
    .cards.process-cards {
        grid-template-columns: 1fr;
    }
}


/* Logo clarity and size */
header .logo {
    width: 300px !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
}

/* Header alignment */
header .header {
    min-height: 105px;
    align-items: center;
}

/* Mobile responsive logo */
@media (max-width: 720px) {
    header .logo {
        width: 200px !important;
    }

    header .header {
        min-height: 85px;
    }
}

