/* =========================================================
   VYRONIX Website - Clean Refactored CSS
   Single source of truth: no duplicated header/body rules
   ========================================================= */

/* ===================== 01. VARIABLES ===================== */
:root {
    --dark: #07111c;
    --dark-2: #0d1b2a;
    --card: rgba(12, 24, 39, .76);
    --card-strong: rgba(12, 24, 39, .90);
    --cyan: #22c7e8;
    --cyan-2: #63e6ff;
    --text: #ffffff;
    --muted: #b7c7d3;
    --soft: #d8e8f2;
    --border: rgba(34, 199, 232, .25);
    --border-strong: rgba(34, 199, 232, .42);
    --shadow: 0 0 35px rgba(34, 199, 232, .25);
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, .30);
    --radius: 26px;
    --header-h: 88px;
}

/* ===================== 02. RESET + GLOBAL ===================== */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    padding-top: var(--header-h);
    background:
        radial-gradient(circle at 18% 8%, rgba(34,199,232,.16), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(99,230,255,.10), transparent 30%),
        linear-gradient(rgba(7,17,28,.72), rgba(7,17,28,.82)),
        url("../assets/images/homepage.jpeg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media(max-width: 720px){
   body {
               background:
        radial-gradient(circle at 18% 8%, rgba(34,199,232,.16), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(99,230,255,.10), transparent 30%),
        linear-gradient(rgba(7,17,28,.72), rgba(7,17,28,.82)),
        url("../assets/images/homee.jpg");
    background-size: contain;
    background-position: center top;
          
    
            
   }
}

body .no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

main,
section,
footer {
    position: relative;
    z-index: 1;
}

/* ===================== 03. SHARED COMPONENTS ===================== */
.section {
    padding: 95px 7%;
}
.hidden {
    display: none;
}
.section-header {
    max-width: 850px;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.1;
    margin: 14px 0;
}

.section-header p {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.8;
}

.section-badge {
    display: inline-block;
    color: var(--cyan);
    border: 1px solid rgba(34,199,232,.35);
    background: rgba(34,199,232,.08);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 800;
    transition: .3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
    color: #06131d;
    box-shadow: 0 0 25px rgba(34,199,232,.35);
}

.secondary-btn {
    background: rgba(255,255,255,.04);
    color: #fff;
    border: 1px solid rgba(34,199,232,.55);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(34,199,232,.45);
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== 04. EFFECTS ===================== */
#cursor-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(34,199,232,.22) 0%, rgba(34,199,232,.10) 35%, rgba(34,199,232,.04) 55%, transparent 75%);
    filter: blur(45px);
    transform: translate(-50%, -50%);
    transition: left .08s linear, top .08s linear;
    mix-blend-mode: screen;
    animation: glowPulse 5s ease-in-out infinite;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, rgba(34,199,232,.16), transparent 35%), #07111c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transition: .35s ease;
}

.page-loader.show {
    opacity: 1;
    pointer-events: auto;
}

.loader-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 4px solid rgba(34,199,232,.18);
    border-top-color: var(--cyan);
    animation: loaderSpin .8s linear infinite;
}

.page-loader span {
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 1px;
}

/* ===================== 05. HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(8,18,28,.78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 9999;
}

.header-logo {
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 900;
    letter-spacing: 2px;
}

.header-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: .35s ease;
}

.header-logo:hover img {
    transform: rotate(-7deg) scale(1.08);
}

.header-logo span {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    white-space: nowrap;
}

.navbar a {
    font-size: 15px;
    font-weight: 600;
    color: #d8e8f2;
    position: relative;
    transition: .3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--cyan);
    border-radius: 50px;
    transition: .3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--cyan);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    white-space: nowrap;
}
.user-avatar #avatarContent,
.user-avatar .avatar-icon {
  color: #ffffff;
  font-size: 18px;
   overflow: hidden;
}
.user-avatar #avatarContent {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    overflow: hidden; /* clip the img itself */
    padding: 0;
}
.profile-dropdown-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan), #137eaa);
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}
.profile-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.user-avatar .avatar-icon {
  display: none;
}
.search-box {
    width: 220px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 50px;
    border: 1px solid rgba(111,133,148,.65);
    background: rgba(255,255,255,.04);
    transition: .3s ease;
}

.search-box:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 22px rgba(34,199,232,.18);
}

.search-box i {
    color: var(--cyan);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.header-action-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-btn{
    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    font-size:20px;

    cursor:pointer;

    transition:.35s ease;
}

.header-icon-btn:hover{

    transform:translateY(-3px);

    color:#22c7e8;

    background:rgba(34,199,232,.12);

    border-color:rgba(34,199,232,.35);

    box-shadow:
    0 10px 25px rgba(34,199,232,.18);
}

.header-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,.18);
    margin: 0 4px;
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

/* ===================== 06. PROFILE DROPDOWN ===================== */
.profile-menu {
    position: relative;
}

.user-avatar {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), #137eaa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(34,199,232,.35);
    cursor: pointer;
    transition: .3s ease;
    overflow: hidden;
    padding: 0;
}

.user-avatar:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 32px rgba(34,199,232,.55);
}

.profile-dropdown {
    position: absolute;
    top: 68px;
    right: 0;
    width: 270px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12,24,39,.96), rgba(8,18,28,.94));
    border: 1px solid rgba(34,199,232,.28);
    box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 35px rgba(34,199,232,.18);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(14px) scale(.96);
    pointer-events: none;
    transition: .28s ease;
    z-index: 3000;
}

.profile-dropdown.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 16px;
    height: 16px;
    background: rgba(12,24,39,.96);
    border-left: 1px solid rgba(34,199,232,.22);
    border-top: 1px solid rgba(34,199,232,.22);
    transform: rotate(45deg);
}

/* ===================== NOTIFICATION DROPDOWN ===================== */
.notif-menu {
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d5a;
    box-shadow: 0 0 8px #ff4d5a;
}

.notif-dot.hidden {
    display: none;
}

.notif-dropdown {
    position: absolute;
    top: 58px;
    right: 0;
    width: 320px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12,24,39,.96), rgba(8,18,28,.94));
    border: 1px solid rgba(34,199,232,.28);
    box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 35px rgba(34,199,232,.18);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(14px) scale(.96);
    pointer-events: none;
    transition: .28s ease;
    z-index: 3000;
    overflow: hidden;
}

.notif-dropdown.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.notif-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 18px;
    width: 16px;
    height: 16px;
    background: rgba(12,24,39,.96);
    border-left: 1px solid rgba(34,199,232,.22);
    border-top: 1px solid rgba(34,199,232,.22);
    transform: rotate(45deg);
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.notif-header h4 {
    font-size: 15px;
    color: #fff;
}

.notif-clear {
    font-size: 12px;
    color: var(--cyan);
    font-weight: 600;
}

.notif-clear:hover {
    color: var(--cyan-2);
    text-decoration: underline;
}

.notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.notif-list::-webkit-scrollbar {
    width: 6px;
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgba(34,199,232,.45);
    border-radius: 20px;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: .25s ease;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: rgba(34,199,232,.08);
}

.notif-item.unread {
    background: rgba(34,199,232,.05);
}

.notif-item.unread p {
    color: #fff;
    font-weight: 600;
}

.notif-icon {
    min-width: 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.3);
    color: var(--cyan);
    display: grid;
    place-items: center;
    font-size: 16px;
}

.notif-item p {
    font-size: 13px;
    color: #d8e8f2;
    line-height: 1.5;
}

.notif-time {
    font-size: 11px;
    color: var(--muted);
}

.notif-footer {
    display: block;
    text-align: center;
    padding: 13px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan);
    border-top: 1px solid rgba(255,255,255,.08);
    transition: .25s ease;
}

.notif-footer:hover {
    background: rgba(34,199,232,.08);
    color: var(--cyan-2);
}

@media (max-width: 650px) {
    .notif-dropdown {
        width: 280px;
        right: -60px;
    }
}
.profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.profile-head img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(34,199,232,.55);
}

.profile-head h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.profile-head p {
    font-size: 12px;
    color: var(--muted);
}

.profile-dropdown a,
.profile-dropdown button {
    width: 100%;
    min-height: 43px;
    padding: 0 8px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #d8e8f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
    transition: .25s ease;
}

.profile-dropdown a span,
.profile-dropdown button span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: rgba(34,199,232,.10);
    color: #fff;
    transform: translateX(3px);
}

.profile-dropdown i {
    font-size: 16px;
}

.logout-btn {
    margin-top: 6px;
    color: #ff4d5a !important;
}

.logout-btn:hover {
    background: rgba(255,77,90,.10) !important;
}

/* ===================== 07. HERO SECTION ===================== */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(34,199,232,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(34,199,232,.06) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
    opacity: .18;
}

.hero-orb {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .25;
    animation: orbMove 8s ease-in-out infinite alternate;
}

.orb-one {
    background: var(--cyan);
    top: 15%;
    left: -120px;
}

.orb-two {
    background: #4b7bff;
    bottom: 10%;
    right: -120px;
    animation-delay: 2s;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
    margin: 20px 0;
    color: #fff;
}

.hero-content h1::first-line {
    color: var(--cyan);
}

.hero-content p {
    max-width: 650px;
    font-size: 21px;
    line-height: 1.8;
    color: #d8e8f2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.trusted-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    color: var(--muted);
}

.trusted-row strong {
    color: #fff;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50px;
    background: rgba(255,255,255,.04);
}

.hero-visual {
    min-height: 520px;
}

.dashboard-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-height: 430px;
    margin-left: auto;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(12,24,39,.72), rgba(8,18,28,.42));
    border: 1px solid rgba(34,199,232,.35);
    box-shadow: 0 0 70px rgba(34,199,232,.18);
    backdrop-filter: blur(14px);
    padding: 24px;
    animation: floatDashboard 5s ease-in-out infinite alternate;
}

.dash-top {
    display: flex;
    gap: 9px;
    margin-bottom: 30px;
}

.dash-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
}

.dash-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
    align-items: end;
}

.dash-content h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.dash-content p {
    font-size: 54px;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 25px rgba(34,199,232,.45);
}

.chart-lines {
    height: 220px;
    display: flex;
    align-items: end;
    gap: 14px;
}

.chart-lines span {
    flex: 1;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(to top, var(--cyan), rgba(99,230,255,.18));
    animation: chartUp 1.8s ease-in-out infinite alternate;
}

.chart-lines span:nth-child(1) { height: 40%; }
.chart-lines span:nth-child(2) { height: 70%; animation-delay: .2s; }
.chart-lines span:nth-child(3) { height: 55%; animation-delay: .4s; }
.chart-lines span:nth-child(4) { height: 90%; animation-delay: .6s; }

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-top: 38px;
}

.dash-stats div {
    padding: 18px 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(34,199,232,.18);
    text-align: center;
}

.dash-stats strong {
    display: block;
    font-size: 25px;
    color: var(--cyan);
}

.dash-stats span {
    font-size: 13px;
    color: var(--muted);
}

.floating-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(12,24,39,.82);
    border: 1px solid rgba(34,199,232,.35);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 4s ease-in-out infinite alternate;
}

.floating-card i {
    color: var(--cyan);
    font-size: 22px;
}

.card-ai {
    top: 40px;
    left: 20px;
}

.card-code {
    bottom: 55px;
    right: 10px;
    animation-delay: 1s;
}

/* ===================== 08. STATS ===================== */
.stats-section {
    padding-top: 35px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-box {
    padding: 32px 20px;
    text-align: center;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.stat-box h3 {
    font-size: 46px;
    color: var(--cyan);
}

.stat-box h3::after {
    content: "+";
}

.stat-box:nth-child(4) h3::after {
    content: "%";
}

.stat-box p {
    color: var(--muted);
    margin-top: 8px;
}

/* ===================== 09. CARDS + GRIDS ===================== */
.services-grid,
.why-grid,
.process-grid,
.testimonial-grid {
    display: grid;
    gap: 28px;
}

.services-grid {
    grid-template-columns: repeat(4, 1fr);
}

.why-grid,
.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-category-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 34px;
}

.service-card,
.project-category-card,
.why-card,
.process-card,
.testimonial-card,
.team-card,
.value-box,
.service-block,
.admin-form {
    position: relative;
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    overflow: hidden;
    transition: .35s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card::before,
.project-category-card::before,
.why-card::before,
.process-card::before,
.testimonial-card::before,
.team-card::before,
.value-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(34,199,232,.16), transparent 35%);
    opacity: 0;
    transition: .35s ease;
    pointer-events: none;
}

.service-card::after,
.project-category-card::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -80%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: rotate(25deg);
    transition: .7s ease;
    pointer-events: none;
}

.service-card:hover::after,
.project-category-card:hover::after {
    left: 130%;
}

.service-card:hover,
.project-category-card:hover,
.why-card:hover,
.process-card:hover,
.testimonial-card:hover,
.team-card:hover,
.value-box:hover {
    transform: translateY(-12px);
    border-color: var(--cyan);
    box-shadow: var(--shadow);
}

.service-card:hover::before,
.project-category-card:hover::before,
.why-card:hover::before,
.process-card:hover::before,
.testimonial-card:hover::before,
.team-card:hover::before,
.value-box:hover::before {
    opacity: 1;
}

.service-card {
    min-height: 435px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 24px;
    transition: .45s ease;
}

.project-category-card {
    min-height: 440px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.project-category-card img {
    height: 240px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: .45s ease;
}

.service-card:hover img,
.project-category-card:hover img {
    transform: scale(1.08) translateY(-8px);
    filter: drop-shadow(0 0 22px rgba(34,199,232,.45));
}

.service-card h3,
.project-category-card h3,
.why-card h3,
.process-card h3 {
    font-size: 25px;
    margin-bottom: 13px;
}

.service-card:hover h3,
.project-category-card:hover h3 {
    color: var(--cyan);
}

.service-card p,
.project-category-card p,
.why-card p,
.process-card p,
.testimonial-card p,
.service-block p,
.service-block ul {
    color: #c7d8e6;
    line-height: 1.75;
}

.service-card a,
.project-category-card a {
    position: relative;
    z-index: 5;
    margin-top: auto;
    color: var(--cyan);
    font-weight: 800;
    padding-top: 20px;
}

.service-card a:hover,
.project-category-card a:hover {
    color: var(--cyan-2);
    text-shadow: 0 0 12px rgba(34,199,232,.7);
}

.why-card i {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.3);
    color: var(--cyan);
    font-size: 27px;
    margin-bottom: 22px;
}

.process-card span {
    display: inline-block;
    font-size: 42px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--cyan);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 17px;
    margin-bottom: 25px;
}

.testimonial-card h4 {
    font-size: 19px;
    margin-bottom: 6px;
}

.testimonial-card span {
    color: var(--cyan);
    font-size: 14px;
}

/* ===================== 10. SERVICE DETAILS ===================== */
.service-hero {
    padding: 110px 7% 60px;
    text-align: center;
}

.service-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    margin-bottom: 12px;
    color: var(--cyan);
}

.service-hero p {
    max-width: 850px;
    margin: auto;
    color: #c9d8e6;
    font-size: 19px;
    line-height: 1.8;
}

.service-details {
    max-width: 950px;
    margin: auto;
    padding: 45px 7% 90px;
}

.service-block {
    margin-bottom: 30px;
}

.service-block h2 {
    margin-bottom: 10px;
    color: #fff;
}

.service-block ul {
    padding-left: 20px;
}

.service-cta {
    margin-top: 40px;
    text-align: center;
}

/* ===================== 11. PAGE HERO ===================== */
.page-hero {
    min-height: 520px;
    padding: 120px 8% 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-bottom: 1px solid rgba(34,199,232,.22);
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    max-width: 850px;
    color: #20d4f4;
    text-shadow: 0 0 25px rgba(32,212,244,.45);
    margin: 18px 0;
}

.page-hero p {
    max-width: 720px;
    font-size: 21px;
    line-height: 1.8;
    color: #c8d8e5;
}

/* ===================== 12. TEAM PAGE ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    justify-items: center;
}

.team-card {
    width: 100%;
    max-width: 340px;
    min-height: 430px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.team-avatar {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.team-avatar i {
    font-size: 72px;
    color: var(--cyan);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-card h3 {
    font-size: 24px;
}

.team-card span {
    color: var(--cyan);
    font-weight: 700;
    display: block;
}

.team-card p {
    color: #c5d5e2;
    line-height: 1.7;
    font-size: 16px;
    max-width: 260px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-box h3 {
    font-size: 48px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.value-box h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.value-box p {
    color: #c5d5e2;
    line-height: 1.7;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 20px;
    border: 1px dashed rgba(34,199,232,.35);
    border-radius: 24px;
    background: rgba(12,24,39,.55);
}

/* ===================== 13. CONTACT + ADMIN ===================== */
.contact-header {
    max-width: 850px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    gap: 30px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(12,24,39,.90), rgba(8,18,28,.72));
    border: 1px solid rgba(34,199,232,.28);
    box-shadow: 0 0 45px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
}

.contact-form,
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form h3,
.professional-info h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(111,133,148,.65);
    border-radius: 14px;
    color: #fff;
    outline: none;
    transition: .3s ease;
}

.contact-form textarea {
    min-height: 165px;
    resize: none;
}

.admin-form textarea {
    min-height: 130px;
    resize: none;
}

.contact-form select {
    color: #b7c7d3;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.admin-form input:focus,
.admin-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(34,199,232,.18);
}

.contact-form button,
.admin-form button,
.delete-btn {
    width: fit-content;
    border: none;
    padding: 15px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
    color: #06131d;
    font-weight: 900;
    cursor: pointer;
    transition: .3s ease;
}

.contact-form button:hover,
.admin-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(34,199,232,.4);
}

.professional-info {
    padding: 28px;
    border-radius: 24px;
    background: rgba(34,199,232,.06);
    border: 1px solid rgba(34,199,232,.18);
}

.professional-info > p {
    color: #c5d5e2;
    line-height: 1.8;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.info-item i,
.info-item span {
    min-width: 45px;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.3);
    display: grid;
    place-items: center;
    color: var(--cyan);
    font-size: 20px;
}

.info-item h4 {
    margin-bottom: 4px;
}

.info-item p {
    color: var(--muted);
    line-height: 1.6;
}

.admin-form {
    max-width: 800px;
    margin-bottom: 45px;
}

.delete-btn {
    margin-top: 20px;
    background: #ff4d5a;
    color: white;
}

/* ===================== 14. CTA + FOOTER ===================== */
.final-cta {
    padding: 90px 7%;
}

.final-cta-content {
    min-height: 320px;
    border-radius: 34px;
    border: 1px solid rgba(34,199,232,.35);
    background: radial-gradient(circle at top right, rgba(34,199,232,.22), transparent 35%), linear-gradient(135deg, rgba(12,24,39,.84), rgba(8,18,28,.72));
    display: grid;
    place-items: center;
    text-align: center;
    padding: 45px 25px;
    box-shadow: 0 0 55px rgba(34,199,232,.18);
    backdrop-filter: blur(12px);
}

.final-cta h2 {
    max-width: 850px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    margin: 18px 0 28px;
}

.footer {
    background: rgba(8,18,28,.88);
    border-top: 1px solid rgba(34,199,232,.2);
    padding: 65px 7% 22px;
    backdrop-filter: blur(14px);
}

.footer-container,
.upgraded-footer {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand p {
    max-width: 360px;
    color: var(--muted);
    line-height: 1.7;
    margin: 18px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(34,199,232,.08);
    border: 1px solid rgba(34,199,232,.25);
    color: var(--cyan);
    transition: .3s ease;
}

.social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-column a {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 12px;
    transition: .3s ease;
}

.footer-column a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.footer-bottom p {
    color: #8ea7b8;
    font-size: 13px;
}

/* ===================== 15. CHAT BUTTON + CHATBOT ===================== */
.chat-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    background: #102232;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(34,199,232,.45);
    z-index: 900;
    animation: chatPulse 2s ease-in-out infinite;
}

.chat-btn img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.chatbot-page {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 85px 7% 100px;
    overflow: hidden;
}

.chat-orb {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: .28;
    animation: orbMove 8s ease-in-out infinite alternate;
}

.chat-orb.orb-one {
    background: var(--cyan);
    top: 8%;
    left: -120px;
}

.chat-orb.orb-two {
    background: #4b7bff;
    bottom: 8%;
    right: -120px;
}

.chatbot-intro {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto 55px;
}

.chatbot-intro h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.08;
    margin: 20px 0;
}

.chatbot-intro h1::first-line {
    color: var(--cyan);
}

.chatbot-intro p {
    max-width: 760px;
    margin: auto;
    color: #d8e8f2;
    font-size: 20px;
    line-height: 1.8;
}

.chatbot-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.chatbot-features div {
    padding: 11px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(34,199,232,.25);
    color: #d8e8f2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-features i {
    color: var(--cyan);
}

.chatbot-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    max-width: 1250px;
    margin: auto;
}

.chatbot-sidebar,
.chat-window {
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(12,24,39,.88), rgba(8,18,28,.72));
    border: 1px solid rgba(34,199,232,.28);
    box-shadow: 0 0 45px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}

.chatbot-sidebar {
    padding: 26px;
    min-height: 620px;
}

.assistant-profile,
.chat-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.assistant-profile {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.assistant-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.35);
    color: var(--cyan);
    font-size: 28px;
    box-shadow: 0 0 22px rgba(34,199,232,.25);
}

.assistant-avatar.small {
    width: 48px;
    height: 48px;
    font-size: 23px;
    border-radius: 16px;
}

.assistant-profile h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.assistant-profile p,
.chat-header p {
    color: var(--muted);
    font-size: 14px;
}

.assistant-profile p span {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #2cff9a;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 12px #2cff9a;
}

.chatbot-sidebar h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.suggestion-btn {
    width: 100%;
    text-align: left;
    padding: 14px 15px;
    margin-bottom: 12px;
    border-radius: 15px;
    border: 1px solid rgba(34,199,232,.18);
    background: rgba(255,255,255,.04);
    color: #d8e8f2;
    cursor: pointer;
    transition: .3s ease;
}

.suggestion-btn:hover {
    color: #fff;
    border-color: var(--cyan);
    background: rgba(34,199,232,.12);
    transform: translateX(5px);
}

.chat-mini-card {
    margin-top: 28px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(34,199,232,.07);
    border: 1px solid rgba(34,199,232,.22);
}

.chat-mini-card i {
    font-size: 28px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.chat-mini-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.chat-window {
    min-height: 620px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.chat-header {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.chat-header-actions button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: #fff;
    cursor: pointer;
    transition: .3s ease;
}

.chat-header-actions button:hover {
    color: #ff4d5a;
    border-color: rgba(255,77,90,.5);
}

.chat-messages {
    padding: 28px;
    overflow-y: auto;
    max-height: 470px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-messages::-webkit-scrollbar {
    width: 7px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(34,199,232,.45);
    border-radius: 20px;
}

.message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 78%;
    animation: messageUp .35s ease both;
}

.message p {
    padding: 15px 17px;
    border-radius: 18px;
    line-height: 1.7;
    font-size: 15px;
}

.bot-message {
    align-self: flex-start;
}

.bot-message p {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(34,199,232,.20);
    color: #e8f6ff;
    border-bottom-left-radius: 5px;
}

.user-message {
    align-self: flex-end;
    justify-content: flex-end;
}

.user-message p {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
    color: #06131d;
    font-weight: 700;
    border-bottom-right-radius: 5px;
}

.message-icon {
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.3);
    color: var(--cyan);
}

.user-message .message-icon {
    display: none;
}

.typing {
    width: fit-content;
}

.typing p {
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing span {
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    animation: typingDots 1s infinite ease-in-out;
}

.typing span:nth-child(2) {
    animation-delay: .15s;
}

.typing span:nth-child(3) {
    animation-delay: .3s;
}

.chat-input-area {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: grid;
    grid-template-columns: 1fr 52px;
    gap: 14px;
}

.chat-input-area input {
    width: 100%;
    border: 1px solid rgba(111,133,148,.65);
    background: rgba(255,255,255,.04);
    color: #fff;
    border-radius: 16px;
    padding: 0 17px;
    outline: none;
    transition: .3s ease;
}

.chat-input-area input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(34,199,232,.18);
}

.chat-input-area button {
    height: 52px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
    color: #06131d;
    font-size: 20px;
    cursor: pointer;
    transition: .3s ease;
}

.chat-input-area button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(34,199,232,.45);
}

/* ===================== 16. ANIMATIONS ===================== */
@keyframes glowPulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); }
    50% { transform: translate(-50%,-50%) scale(1.08); }
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes orbMove {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(40px) scale(1.12); }
}

@keyframes floatDashboard {
    from { transform: translateY(0); }
    to { transform: translateY(-18px); }
}

@keyframes floatCard {
    from { transform: translateY(0); }
    to { transform: translateY(-18px); }
}

@keyframes chartUp {
    from { transform: scaleY(.75); }
    to { transform: scaleY(1); }
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(34,199,232,.45); }
    50% { box-shadow: 0 0 45px rgba(34,199,232,.75); }
}

@keyframes messageUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typingDots {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40% { transform: translateY(-5px); opacity: 1; }
}

/* ===================== 17. RESPONSIVE ===================== */
@media (max-width: 1350px) {
    .header {
        padding: 0 4%;
        gap: 18px;
    }

    .header-logo {
        min-width: auto;
    }

    .header-logo img {
        width: 56px;
        height: 56px;
    }

    .header-logo span {
        font-size: 24px;
    }

    .navbar {
        gap: 22px;
    }

    .search-box {
        width: 175px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p,
    .hero-content h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .trusted-row {
        justify-content: center;
    }

    .dashboard-card {
        margin: auto;
    }

    .services-grid,
    .why-grid,
    .process-grid,
    .team-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-container,
    .upgraded-footer {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 1050px) {
    .chatbot-layout {
        grid-template-columns: 1fr;
    }

    .chatbot-sidebar {
        min-height: auto;
    }
}

@media (max-width: 1000px) {
    .header-actions {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        padding: 25px 7%;
        background: rgba(8,18,28,.97);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: .35s ease;
    }

    .navbar.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .project-category-grid,
    .testimonial-grid,
    .contact-container,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .contact-header h2 {
        font-size: 40px;
    }

    .hero-visual {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    :root {
        --header-h: 76px;
    }

    .header {
        padding: 0 5%;
    }

    .header-logo img {
        width: 50px;
        height: 50px;
    }

    .header-logo span {
        font-size: 20px;
    }

    .section,
    .hero-section,
    .final-cta,
    .footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-section {
        padding-top: 70px;
    }

    .services-grid,
    .why-grid,
    .process-grid,
    .stats-grid,
    .team-grid,
    .form-row,
    .footer-container,
    .upgraded-footer {
        grid-template-columns: 1fr;
    }

    .dash-content,
    .dash-stats {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .contact-form button {
        width: 100%;
    }

    .chat-btn {
        width: 60px;
        height: 60px;
        right: 18px;
        bottom: 18px;
    }

    .chatbot-page {
        padding: 65px 5% 85px;
    }

    .chatbot-intro h1 {
        font-size: 38px;
    }

    .chatbot-intro p {
        font-size: 17px;
    }

    .chatbot-features {
        flex-direction: column;
    }

    .chat-messages {
        padding: 20px;
        max-height: 430px;
    }

    .message {
        max-width: 92%;
    }

    .chat-header {
        padding: 18px;
    }

    .chat-input-area {
        padding: 16px;
    }
}
.legal-hero{
    min-height: 460px;
    padding: 150px 7% 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.legal-hero h1{
    max-width: 850px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    margin: 20px 0;
    color: #fff;
}

.legal-hero h1::first-line{
    color: var(--cyan);
}

.legal-hero p{
    max-width: 760px;
    color: var(--soft);
    font-size: 20px;
    line-height: 1.8;
}

.legal-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.legal-card{
    min-height: 260px;
    padding: 30px;
    border-radius: 26px;
    background: rgba(12,24,39,.78);
    border: 1px solid rgba(34,199,232,.25);
    backdrop-filter: blur(14px);
    transition: .35s ease;
}

.legal-card:hover{
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: var(--shadow);
}

.legal-card i{
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(34,199,232,.12);
    border: 1px solid rgba(34,199,232,.3);
    color: var(--cyan);
    font-size: 28px;
}

.legal-card h3{
    font-size: 23px;
    margin-bottom: 12px;
}

.legal-card p{
    color: #c7d8e6;
    line-height: 1.75;
}

.legal-card strong{
    color: var(--cyan);
}

@media(max-width: 1050px){
    .legal-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 650px){
    .legal-hero{
        padding: 120px 5% 60px;
    }

    .legal-grid{
        grid-template-columns: 1fr;
    }
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 76px;

        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;

        background: rgba(3, 22, 36, 0.98);
        border-top: 2px solid #22c7e8;
        z-index: 999999;

        transform: translateY(110%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s ease, opacity .35s ease;
    }

    .mobile-bottom-nav.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 4px;
        color: white;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-bottom-nav i {
        font-size: 23px;
    }

    .bottom-logo img {
        width: 58px;
        height: 58px;
        object-fit: contain;
        margin-top: -28px;
        border-radius: 50%;
        background: #06131d;
        border: 2px solid #22c7e8;
    }

    body.bottom-nav-visible .chat-btn {
        bottom: 95px;
    }
}
/* Fix Home Stats Section */
.stats-section {
  padding: 70px 7% 95px !important;
}

.stats-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 34px;
  justify-content: center;
  align-items: center;
}

.stat-box {
  min-height: 190px;
  padding: 42px 28px !important;
  border-radius: 28px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-box h3 {
  font-size: 58px !important;
  line-height: 1;
  margin-bottom: 14px;
}

.stat-box p {
  font-size: 19px !important;
  font-weight: 600;
}