* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 50px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: #fff;
  backdrop-filter: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 26px;
}

.logo img {
  width: 60px;
  margin-right: 12px;
}

.highlight {
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2563eb;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn-outline {
  padding: 6px 14px;
  border: 1px solid #000;
  background: transparent;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background-color: #000;
  color: #fff;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 20px; /* space between name and logout button */
}

.user-name {
  font-size: 18px;      /* slightly larger text */
  color: black;         /* black text for icon and name */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;             /* space between icon and name */
}

.logout-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

/* Hamburger for Mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero-section {
  display: flex;
  height: 500px;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
  gap: 40px;
}

.text-content {
  max-width: 50%;
}

.text-content h1 {
  font-size: 42px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.get-started {
  background-color: #2563eb;
  color: white;
  padding: 12px 20px;
  border: 2px solid #2563eb; /* Added border */
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.get-started:hover {
  background-color: white;
  color: #2563eb;
  border-color: #2563eb;
}


/* Image Layout */
.image-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-row {
  display: flex;
  gap: 20px;
}

.img-top-left,
.img-top-right {
  width: 200px;
  height: 150px;
  background-color: #e0ecff;
  border-radius: 10px;
  object-fit: cover;
  padding: 8px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.img-bottom {
  width: 450px;
  height: 200px;
  background-color: #e0ecff;
  border-radius: 16px;
  object-fit: cover;
  padding: 8px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

/* Floating and Hover Motion for Images */
.image-content img {
  animation: float 3s ease-in-out infinite;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  will-change: transform;
}

.image-content img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    max-width: 100%;
  }

  .image-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
  }

  .auth-buttons {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }
}
/* Collaboration Banner */
.collaboration-banner {
  background-color: #fff; /* White background */
  color: #555; /* Light black text */
  text-align: center;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

.collaboration-banner p {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

/* Short horizontal separator line */
.collaboration-banner::before {
  content: '';
  display: block;
  width: 160px; /* Short line */
  height: 2px;
  background-color: #ddd; /* Light gray */
  margin: 0 auto 10px; /* Centered and spaced below hero */
  border-radius: 1px;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}


/* Projects Section */
.projects-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.projects-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.projects-section .section-description {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
  width: 80px;
  margin-bottom: 15px;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #2563eb;
}

.project-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

/* About Section */
.about-section {
  padding: 60px 20px;
  text-align: center;
}

.about-section h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: #000;
  color: #ccc;
  font-family: Arial, sans-serif;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p, .footer-section a {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-section a:hover {
  color: #2563eb; /* blue on hover */
}

.feedback-btn {
  background-color: #2563eb;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.feedback-btn:hover {
  background-color: #fff;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.footer-social {
  text-align: center;
  margin-bottom: 10px;
}

.footer-social a {
  color: #aaa;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #2563eb;
}

.footer-bottom {
  text-align: center;
  color: #888;
  font-size: 13px;
  border-top: 1px solid #222;
  padding-top: 10px;
}

/*CSS FOR CARD ANIMATION IN LANDING PAGE*/

/* ===== DzoNext Animated Typing Cards ===== */
.dzonext-typing-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  
}

.dzonext-cards-container {
  position: relative;
  width: 520px;
  height: 200px;
}

/* Base Card Style */
.dzonext-card {
  width: 420px;
  height: 280px;
  background: linear-gradient(135deg, #4361EE 0%, #DDEEFA 100%);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.45s cubic-bezier(.22,.9,.37,1), box-shadow 0.45s ease;
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform-origin: center center;
}

.dzonext-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.7));
}

/* Initial Transforms */
.dzonext-card-1 {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-5deg) skewX(-5deg);
}
.dzonext-card-2 {
  top: 20px;
  left: 25px;
  z-index: 2;
  opacity: 0.95;
  transform: rotate(-4deg) skewX(-4deg);
}
.dzonext-card-3 {
  top: 40px;
  left: 50px;
  z-index: 1;
  opacity: 0.9;
  transform: rotate(-3deg) skewX(-3deg);
}

/* Decorations */
.dzonext-card-deco,
.dzonext-card-deco2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}
.dzonext-card-deco {
  width: 200px;
  height: 200px;
  top: -70px;
  right: -70px;
}
.dzonext-card-deco2 {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: -40px;
}

/* Typing Content */
.dzonext-typing-box {
  text-align: center;
  padding: 30px;
  z-index: 2;
  position: relative;
}
.dzonext-typing-text {
  font-size: 2rem;
  line-height: 1.7;
  color: white;
  min-height: 80px;
  font-weight: 500;
  text-shadow: 0 3px 6px rgba(0,0,0,0.25);
}
.dzonext-cursor {
  display: inline-block;
  width: 4px;
  height: 2rem;
  margin-left: 3px;
  background: white;
  animation: dzonext-blink 1s infinite;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}
@keyframes dzonext-blink {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}

/* Hover Animation (placed last so it wins) */
.dzonext-card-1:hover,
.dzonext-card-2:hover,
.dzonext-card-3:hover,
.dzonext-card:hover {
  transform: rotate(-3deg) skewX(-3deg) translateY(-15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  z-index: 30;
}


/* ========= Dark Mode ========= */

.theme-toggle {
  margin-left: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.9);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.theme-toggle:active {
  transform: translateY(1px);
  box-shadow: none;
}

.dark-mode {
  background: #020617;
  color: #e5e7eb;
}

/* Navbar in dark mode */
.dark-mode .navbar {
  background-color: rgba(15, 23, 42, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.dark-mode .nav-links a {
  color: #e5e7eb;
}

.dark-mode .nav-links a:hover {
  color: #93c5fd;
}

.dark-mode .btn-outline {
  border-color: #e5e7eb;
  color: #e5e7eb;
}

.dark-mode .btn-outline:hover {
  background-color: #e5e7eb;
  color: #111827;
}

/* Hero + general text tweaks */
.dark-mode .hero-section {
  background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617 100%);
}

.dark-mode .text-content p,
.dark-mode .section-description,
.dark-mode .about-section p {
  color: #9ca3af;
}

/* Collaboration banner */
.dark-mode .collaboration-banner {
  background-color: #020617;
  color: #9ca3af;
}

.dark-mode .collaboration-banner::before {
  background-color: #1f2937;
}

/* Projects section cards */
.dark-mode .projects-section {
  background: #020617;
}

.dark-mode .project-card {
  background: #020617;
  box-shadow: 0 10px 24px rgba(0,0,0,0.7);
}

.dark-mode .project-card p {
  color: #9ca3af;
}

/* About section */
.dark-mode .about-section {
  background: #020617;
}

/* Footer */
.dark-mode .footer {
  background-color: #020617;
  color: #9ca3af;
}

.dark-mode .footer-section p,
.dark-mode .footer-section a {
  color: #9ca3af;
}

.dark-mode .footer-bottom {
  border-top-color: #111827;
  color: #6b7280;
}

/* ===== Get Started page specific ===== */

.dark-mode .getstarted-page {
  background: #020617;
}

.dark-mode .gs-header h1 {
  color: #e5e7eb;
}

.dark-mode .gs-header p,
.dark-mode .gs-help-text,
.dark-mode .gs-howto-list {
  color: #9ca3af;
}

.dark-mode .gs-right-card {
  background: #020617;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.dark-mode .gs-textarea {
  background: #020617;
  color: #e5e7eb;
  border-color: #374151;
}

.dark-mode .gs-textarea::placeholder {
  color: #6b7280;
}

.dark-mode .prediction-btn {
  background: #111827;
  color: #e5e7eb;
}

.dark-mode .prediction-btn:hover {
  background: #020617;
}

.dark-mode .btn-number {
  background-color: #4f46e5;
}

/* ===== Footer – Dark Mode Redesign ===== */
.dark-mode .footer {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #020617 60%,
    #030712 100%
  );
  color: #9ca3af;
}

.dark-mode .footer-section h3 {
  color: #e5e7eb;
}

.dark-mode .footer-section p,
.dark-mode .footer-section a {
  color: #9ca3af;
}

.dark-mode .footer-section a:hover {
  color: #93c5fd;
}

.dark-mode .footer-bottom {
  border-top: 1px solid #1f2937;
  color: #6b7280;
}