

/* GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    transition: background 0.4s, color 0.4s;
}

/* LIGHT & DARK THEMES */
.light-mode {
    background: #f5f5f5;
    color: #222;
}
.dark-mode {
    background: #0f0f0f;
    color: #e6e6e6;
}

/* HEADER */
.header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #111, #222);
    border-bottom: 1px solid #333;
}
.header img {
    height: 55px;
}
.login-btn, .toggle-btn {
    background: #444;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.login-btn:hover, .toggle-btn:hover {
    background: #666;
}

/* HERO SECTION */
.hero {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #292929, #1a1a1a);
    color: #fff;
    animation: fadeIn 1.2s ease;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
.hero p {
    font-size: 18px;
    opacity: 0.85;
}

/* MAIN CONTENT */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    animation: fadeInUp 1s ease;
}
.container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-left: 5px solid #4caf50;
    padding-left: 12px;
}
.container p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.7;
}

/* LINKS */
a {
    color: #4caf50;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #bbb;
    font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}






.slider-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.theme-slider {
    width: 140px;
    height: 12px;
    background: linear-gradient(90deg, #444, #999);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 10px #0006;
}

.slider-orb {
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 0;
    transition: left 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px #fff;
}

.theme-slider.dark .slider-orb {
    left: 114px;
    background: #222;
    box-shadow: 0 0 10px #00eaff;
}

.nav-right-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-icon {
  font-size: 20px;
  color: #00e676; /* Ecosystem-G green */
}

.nav-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.nav-phone {
  font-size: 14px;
  font-weight: 700;
  color: #4dd0e1; /* Ecosystem-G cyan */
  text-decoration: none;
}

.nav-phone:hover {
  text-decoration: underline;
}

.nav-right-row {
  display: flex;
  justify-content: center;   /* CENTER THE WHOLE ROW */
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 10px 0;
}

/* ========================================================= */
/* ECOSYSTEM-G BOTTOM FOOTER — PREMIUM SINGLE ROW LAYOUT     */
/* ========================================================= */

.eg-bottom-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 60px;
  background: var(--theme-footer-bg);
  color: var(--theme-footer-text);
  border-top: 2px solid var(--theme-accent);
  flex-wrap: nowrap;
  gap: 40px;
}

.eg-footer-panel {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.eg-footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--theme-accent);
}

.eg-footer-panel a {
  color: var(--theme-footer-link);
  text-decoration: none;
  margin: 4px 0;
  font-size: 0.95rem;
}

.eg-footer-panel a:hover {
  color: var(--theme-accent);
}

.brand-panel {
  min-width: 240px;
  text-align: center;
}

.eg-footer-logo {
  width: 90px;
  margin: 6px auto;
  display: block;
}

.eg-footer-brand-text {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.actions-panel .eg-footer-action {
  margin-bottom: 8px;
}

.eg-footer-action span {
  font-weight: 600;
  display: block;
}

.eg-footer-copy {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.8;
}



/* ========================= */
/*   CINEMATIC SLIDER BASE   */
/* ========================= */
.slider-wrapper {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

.theme-slider {
    width: 160px;
    height: 14px;
    background: linear-gradient(90deg, #0a0f14, #1f2a33, #0a0f14);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 0 12px #000, 0 0 18px #00eaff55;
    overflow: visible;
    transition: background 0.4s ease;
}

/* ========================= */
/*   ORB — CINEMATIC GLOW    */
/* ========================= */
.slider-orb {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffffff, #d9faff);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: 0;
    transition: left 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 18px #00eaff, 0 0 28px #00eaffaa;
}

/* ========================= */
/*   SHARDS — NEON EFFECT    */
/* ========================= */
.slider-shard {
    position: absolute;
    width: 22px;
    height: 4px;
    background: linear-gradient(90deg, #00eaff, transparent);
    opacity: 0.45;
    filter: blur(2px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.shard-left {
    left: -12px;
    top: 4px;
    transform: rotate(-25deg);
}

.shard-right {
    right: -12px;
    top: 4px;
    transform: rotate(25deg);
}

/* ========================= */
/*   DARK MODE ANIMATION     */
/* ========================= */
.theme-slider.dark {
    background: linear-gradient(90deg, #00141a, #00333f, #00141a);
    box-shadow: inset 0 0 14px #000, 0 0 22px #00eaffaa;
}

.theme-slider.dark .slider-orb {
    left: 130px;
    background: radial-gradient(circle, #00eaff, #00333f);
    box-shadow: 0 0 22px #00eaff, 0 0 32px #00eaffaa;
}

.theme-slider.dark .slider-shard {
    opacity: 0.9;
    transform: scale(1.2);
}

/* ========================= */
/*   MOBILE FRIENDLY LAYOUT  */
/* ========================= */

@media (max-width: 768px) {

    /* HEADER */
    .header {
        padding: 14px 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .header img {
        height: 45px;
    }

    .login-btn, .toggle-btn {
        padding: 8px 14px;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 50px 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    /* MAIN CONTENT */
    .container {
        margin: 20px 12px;
        padding: 20px;
    }

    .container h2 {
        font-size: 22px;
    }

    .container p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* NAV ROW */
    .nav-right-row {
        flex-direction: column;
        gap: 14px;
    }

    .nav-item {
        justify-content: center;
    }

    /* FOOTER */
    .eg-bottom-footer {
        flex-direction: column;
        padding: 30px 20px;
        gap: 28px;
        text-align: center;
    }

    .eg-footer-panel {
        min-width: unset;
    }

    .brand-panel {
        min-width: unset;
    }

    .eg-footer-logo {
        width: 70px;
    }

    /* SLIDER */
    .theme-slider {
        width: 120px;
        height: 12px;
    }

    .slider-orb {
        width: 26px;
        height: 26px;
        top: -7px;
    }

    .theme-slider.dark .slider-orb {
        left: 94px;
    }

    .slider-shard {
        display: none;
    }
}

@media (max-width: 480px) {

    /* HERO */
    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    /* MAIN CONTENT */
    .container {
        padding: 16px;
    }

    .container h2 {
        font-size: 20px;
    }

    .container p {
        font-size: 14px;
    }

    /* FOOTER */
    .eg-footer-brand-text {
        font-size: 0.85rem;
    }

    .eg-footer-copy {
        font-size: 0.75rem;
    }
}
