/* ===============================================
   GLOBAL STYLES
   =============================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===============================================
   HEADER / NAVBAR
   =============================================== */
header {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Light theme header text */
body.light-theme header {
    background: #7B3FFB; /* Purple background */
    color: #f9f50a !important; /* White text */
}

/* Dark theme header text */
body.dark-theme header {
    background: #1a1a1a;
    color: #39FFBA !important; /* Neon mint for dark mode */
}

/* ===============================================
   MAIN CARD / CONTAINER
   =============================================== */
.container {
    max-width: 520px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease, color 0.3s ease;
}

.container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, #7B3FFB, #39FFBA);
    opacity: 0.06;
    transform: rotate(-25deg);
    pointer-events: none;
    animation: shimmer 6s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(-25deg) translateX(-50%); }
    50% { transform: rotate(-25deg) translateX(50%); }
    100% { transform: rotate(-25deg) translateX(-50%); }
}

/* ===============================================
   HEADINGS
   =============================================== */
h1 {
    text-align: center;
    color: #e8ce0d; /* Default heading color */
    margin-bottom: 8px;
}

h2 {
    text-align: center;
    color: #0cf1e9;
    margin-bottom: 10px;
}

p {
    text-align: center;
    margin-bottom: 25px;
}

/* ===============================================
   FORM ELEMENTS
   =============================================== */
label {
    font-weight: 600;
    display: block;
    margin-top: 18px;
    transition: all 0.25s ease;
}

label:hover {
    text-shadow: 0 0 6px rgba(57, 255, 186, 0.5);
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:hover,
select:hover {
    border-color: #7B3FFB;
    box-shadow: 0 0 8px rgba(123, 63, 251, 0.25);
}

input:focus,
select:focus {
    outline: none;
    border-color: #39FFBA;
    box-shadow: 0 0 8px rgba(57, 255, 186, 0.4);
}

/* ===============================================
   CTA BUTTONS
   =============================================== */
button {
    width: 100%;
    margin-top: 28px;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease;
    background: linear-gradient(135deg, #39FFBA, #FFB3C6);
    color: #1a1a1a;
}

button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px rgba(57, 255, 186, 0.35);
    background: linear-gradient(135deg, #7B3FFB, #FFB3C6);
}

/* ===============================================
   LOGIN SECTION
   =============================================== */
.login-section {
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

.login-section::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #7B3FFB, #39FFBA);
    opacity: 0.05;
    pointer-events: none;
}

.login-section h2 {
    margin-bottom: 12px;
}

.login-section a {
    font-weight: bold;
    text-decoration: none;
}

.login-section a:hover {
    text-decoration: underline;
}

/* ===============================================
   SUCCESS / ALERT MESSAGE
   =============================================== */
.success, .error {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    transition: opacity 0.5s ease;
}

.success {
    background: linear-gradient(135deg, #39FFBA, #FFB3C6);
    color: #fff;
}

.error {
    background: linear-gradient(135deg, #FF4B4B, #FFB3C6);
    color: #fff;
}

/* ===============================================
   ABOUT US BUTTON
   =============================================== */
.about-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.about-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 10px #39FFBA, 0 0 20px #7B3FFB;
}

/* ===============================================
   MEDIA QUERIES
   =============================================== */
@media (max-width: 480px) {
    .container {
        padding: 22px;
        margin: 30px auto;
    }

    .login-section {
        padding: 20px;
    }
}

/* ===============================================
   THEME STYLES
   =============================================== */

/* Light theme */
body.light-theme {
    background: linear-gradient(180deg, #ffffff, #ffeef2);
    color: #1a1a1a;
}

body.light-theme .container {
    background: #ffffff;
}

body.light-theme h1, body.light-theme h2 {
    color: #7B3FFB;
}

body.light-theme p, body.light-theme label, body.light-theme a {
    color: #1a1a1a;
}

body.light-theme a {
    color: #39FF14;
}

body.light-theme .about-btn {
    background: #7B3FFB;
    color: #39FF14;
}

body.light-theme input, body.light-theme select {
    background: #fefefe;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

body.light-theme button {
    background: linear-gradient(135deg, #39FFBA, #FFB3C6);
    color: #1a1a1a;
}

/* Dark theme */
body.dark-theme {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark-theme .container {
    background: #222222;
}

body.dark-theme h1, body.dark-theme h2 {
    color: #39FFBA;
}

body.dark-theme p, body.dark-theme label {
    color: #f0f0f0;
}

body.dark-theme a {
    color: #39FF14;
}

body.dark-theme .about-btn {
    background: #39FFBA;
    color: #1a1a1a;
}

body.dark-theme input, body.dark-theme select {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #555;
}

body.dark-theme input::placeholder {
    color: #aaa;
}

body.dark-theme button {
    background: linear-gradient(135deg, #39FFBA, #FFB3C6);
    color: #1a1a1a;
}

/* Tiny toggle button */
#theme-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: #7B3FFB;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 999;
}

#theme-toggle:hover {
    transform: scale(1.1);
    background: #39FFBA;
}
#services-list > div {
  display: inline-block;
  width: 220px; /* adjust as needed */
  margin: 10px;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
 background-color: #d8e6dc; /* dark base, adjust for light mode if needed */
  color: #fff;
}

#services-list > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  border-color: #39FF14; /* neon mint accent */
}

#services-list input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}
#confirmation-message {
  position: fixed;        /* floats above page */
  top: 20px;              /* distance from top */
  right: 20px;            /* distance from right */
  background-color: #39FF14; /* neon mint */
  color: #1a1a1a;           /* dark text for contrast */
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: bold;
  opacity: 0;              /* hidden by default */
  pointer-events: none;    /* doesn’t block clicks */
  z-index: 9999;
  transition: opacity 0.5s ease;
  box-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14; /* subtle glow */
}
/* =========================
   SPLASH PAGE LOADER
========================= */

#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        120deg,
        #7f00ff,
        #e100ff,
        #00c6ff,
        #00ff9d
    );
    background-size: 400% 400%;
    animation: gradientMove 6s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loader-content {
    text-align: center;
    color: white;
}

.splash-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.loading-text {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CONFETTI */
.confetti::before,
.confetti::after {
    content: "🎊 🎉 ✨ 💦";
    position: absolute;
    width: 100%;
    top: -20px;
    left: 0;
    font-size: 2rem;
    animation: fall 3s linear infinite;
}

.confetti::after {
    animation-delay: 1.5s;
}

@keyframes fall {
    from {
        transform: translateY(-100px);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}
/* =========================
   PROFILE CARD
========================= */

.profile-card {
    background: linear-gradient(135deg, #c7f0db, #f2e9ff);
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 20px auto;
    font-size: 1.05rem;
}

.profile-card p {
    margin: 10px 0;
}

.my-profile-btn {
    display: inline-block;          /* Makes it behave like a button */
    background-color: #39FF14;      /* Neon green like Place Order */
    color: #0f0f1a;                 /* Dark text */
    font-weight: bold;
    font-size: 16px;
    padding: 12px 24px;             /* Button size */
    border-radius: 12px;            /* Rounded corners */
    text-decoration: none;          /* Remove underline */
    text-align: center;
    box-shadow: 0 4px 10px rgba(57, 255, 20, 0.6); /* Button shadow */
    transition: all 0.3s ease;
    position: fixed;                /* Top-right corner */
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.my-profile-btn:hover {
    background-color: #32CC12;      /* Darker hover green */
    color: #ffffff;
    transform: translateY(-2px);    /* Slight lift on hover */
    box-shadow: 0 6px 15px rgba(57, 255, 20, 0.8);
}
