:root {
  --primary-blue: #2e5bff;
  --secondary-blue: #1a3cc3;
  --accent-green: #00c9a7;
  --accent-yellow: #ffc107;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --front: #333333;
  --back: #333333;
  --right: #00c9a7;
  --left: #00c9a7;
  --top: #2e5bff;
  --bottom: #1a3cc3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html {
    scroll-behavior: smooth;
}


body {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img{
    width: 35px;
}

.logo h1 {
  color: var(--medium-gray);
  font-size: 1.2rem;
  font-weight: 500;
}

.logo span {
  color: var(--secondary-blue);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

/* === AUTHENTICATION BUTTONS – MODERN TWIST === */

/* Base button styles (already have, but ensure consistency) */
.btn {
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Log In – refined outline with gradient border and subtle hover */
.btn-outline {
    background: transparent;
    color: #2563eb; /* primary blue */
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, #2563eb, #7c3aed);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb10, #7c3aed10);
    border-radius: 40px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(37, 99, 235, 0.4);
    color: #1e3a8a;
}

.btn-outline:hover::after {
    opacity: 1;
}

/* Sign Up – gradient fill with shine effect */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 25px -8px rgba(37, 99, 235, 0.7);
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.btn-primary:hover::before {
    left: 100%;
}
/* Responsive styles for tablets and cellphones only */

/* For tablets (portrait and landscape) */
@media only screen and (max-width: 1024px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-links a {
    margin: 0 0.5rem;
    font-size: 0.9rem;
  }

  .auth-buttons .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    margin: 0.3rem 0rem;
  }

  .logo h1 {
    font-size: 1.2rem;
  }
}

/* For cellphones (portrait and landscape) */
@media only screen and (max-width: 900px) {
  header {
    padding: 0.5rem 0;
  }
  .container{
      width:  100%;
      max-width: 100%;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  /* Mobile menu toggle */
  .logo::after {
    content: "☰";
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: white;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 0;
    padding: 0.8rem 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .auth-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 0;
  }

  .auth-buttons.active {
    display: flex;
  }

  .auth-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }
}

/* For very small cellphones */
@media only screen and (max-width: 480px) {
  .logo h1 {
    font-size: 1.3rem;
  }

  .logo i {
    font-size: 1.5rem;
  }
}

/* Add this to the mobile media query */
@media only screen and (max-width: 768px) {
  .logo {
    --menu-icon: "☰";
  }

  .logo::after {
    content: var(--menu-icon);
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
  }
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-column ul {
  list-style-type: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--accent-green);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}
