/* ================= ROOT & RESET ================= */
:root {
  /* BRAND */
  --primary: #0d6efd;
  --dark: #0a1f44;
  --light: #f8f9fa;
  --text: #333;

  /* BACKGROUNDS */
  --bg-main: #f5f7fa;
  --bg-card: #ffffff;

  /* DERIVED */
  --accent: var(--primary);
  --accent-dark: #0b5ed7;
  --accent-light: #dbeafe;

  --text-main: var(--text);
  --text-white: #ffffff;
  --text-muted: #64748b;

  /* UI */
  --radius: 16px;
  --shadow: 0 12px 30px rgba(13,110,253,0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Laila", serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

main {
  margin-top: 90px;
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text-white) !important;
}

#navlst1 li a {
  color: var(--text-white);
  font-weight: 600;
}

#navlst1 li a:hover {
  color: var(--accent-light);
}

#my_ul {
  padding: 2%;
}

#my_ul li {
  background: linear-gradient(135deg, #ffffff, var(--accent-light));
  border-radius: 30px;
  padding: 10px 18px;
}

#my_ul li a {
  color: var(--accent-dark);
  font-weight: 800;
}

/* ================= SHARED CARD STYLE ================= */
.step-box,
.invest-box,
.stat-box,
.testimonial-box,
.service-box,
.contact-form,
#login-sec-inner,
#signup-sec-inner {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================= HERO ================= */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 20px;
}

.subtitle {
  color: var(--accent-dark);
  font-weight: 800;
}

.main-heading {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 900;
}

.description {
  color: var(--text-muted);
  max-width: 520px;
}

.hero-img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================= BUTTONS ================= */
.cta-btn,
.login-button,
.contact-form button,
.footer-form button {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: var(--text-white);
  font-weight: 800;
  border-radius: 40px;
  padding: 14px 38px;
  border: none;
  transition: all 0.3s ease;
}

.cta-btn:hover,
.login-button:hover,
.contact-form button:hover,
.footer-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(13,110,253,0.45);
  
}

/* ================= HOW IT WORKS ================= */
.how-it-works {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  padding: 90px 0;
  color: black;
}

.step-box {
  padding: 35px 25px;
}

.step-number {
  background: var(--text-white);
  color: var(--accent-dark);
  font-weight: 900;
  border-radius: 50%;
  padding: 10px 16px;
}

/* ================= INVESTMENTS ================= */
.invest-box {
  padding: 28px;
  transition: 0.3s ease;
}

.invest-box:hover {
  transform: translateY(-8px);
}

/* ================= TESTIMONIALS ================= */
.testimonial-text {
  color: var(--text-muted);
}

.testimonial-name {
  color: var(--accent-dark);
  font-weight: 800;
}

/* ================= LOGIN & SIGNUP ================= */
#login-sec,
#signup-sec {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#login-sec-inner,
#signup-sec-inner {
  padding: 50px 40px;
  max-width: 480px;
  width: 100%;
}

.login-h3 {
  color: var(--accent-dark);
  font-weight: 900;
}

.login-h5 {
  color: var(--text-muted);
}

.login-form input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 40px;
  border: 1px solid var(--accent-light);
  margin-bottom: 16px;
  background: #ffffff;
  color: var(--text-main);
}

.login-form input::placeholder {
  color: #94a3b8;
}

/* ================= INNER PAGES ================= */
.hero {
  padding: 130px 20px 90px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: var(--text-white);
}

.hero p {
  color: #e0e7ff;
}

.content {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.content h3 {
  background: linear-gradient(135deg, #ffffff, var(--accent-light));
  padding: 18px 25px;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(180deg, var(--dark), #020617);
  color: #e5e7eb;
  padding: 70px 0 40px;
}

.crypto {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-white);
}

.footer-ul2 a {
  color: var(--accent-light);
}

.footer-ul2 a:hover {
  color: var(--text-white);
}
/* ===================== CONTACT FORM ===================== */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

/* CONTACT FORM CARD */
.contact-form {
  flex: 1;
  min-width: 320px;
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
}

.contact-form h3 {
  color: var(--accent-dark);
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 800;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid var(--accent-light);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: var(--text-white);
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.4);
}

/* ===================== CONTACT INFO ===================== */
.contact-info {
  flex: 1;
  min-width: 280px;
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-main);
}

.contact-info h3 {
  color: var(--accent-dark);
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 800;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
#modal_wapper {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#success_box,
#error_box {
  background: #ffffff;
  padding: 28px 35px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  font-weight: 700;
  text-align: center;
}

#error_box {
  border-left: 6px solid #dc2626;
  color: #7f1d1d;
}

#success_box {
  border-left: 6px solid #16a34a;
  color: #166534;
}
/* Make hamburger icon black */
.navbar-dark .navbar-toggler {
  border-color: rgba(0,0,0,0.3);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* ================= BRAND NAME RESPONSIVE FIX ================= */

.navbar-brand {
  font-weight: 900;
  color: #fff !important;
  white-space: nowrap;
}

/* Default: show full brand */
.brand-short {
  display: none;
}
/* Give spacing between login & signup links */
#my_ul li + li {
  margin-left: 10px;  /* space between buttons */
}

/* Optional: reduce width on small screens to prevent crowding */
@media (max-width: 576px) {
  #my_ul li {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  #my_ul li + li {
    margin-left: 6px;
  }
}
#contact-msg .success-message,
#contact-msg .error-message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

#contact-msg .success-message { background: #d4edda; color: #155724; }
#contact-msg .error-message { background: #f8d7da; color: #721c24; }


/* Tablets & below */
@media (max-width: 992px) {
  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
    font-size: 1.1rem;
  }
}

/* Phones */
@media (max-width: 576px) {
  .brand-short {
    font-size: 0.95rem;
  }
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  footer {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 35px 25px;
  }
}
