/* ===== GLOBAL STYLE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADERS ===== */
h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  margin-bottom: 10px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

/* ===== HEADER ===== */
.top-header {
  background-color: #ffffff;
  color: #333;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-bottom: 3px solid #2196F3;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #2196F3;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s;
}

.logo:hover {
  color: #1976D2;
}

.search-bar {
  flex: 1;
  max-width: 600px;
  margin: 0 30px;
  display: flex;
}

.search-bar input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid #E3F2FD;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  border-color: #2196F3;
}

.search-bar button {
  padding: 12px 24px;
  background-color: #2196F3;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #1976D2;
  transform: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.account-link {
  color: white;
  background-color: #2196F3;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background-color 0.3s;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.account-link:hover {
  background-color: #1976D2;
  box-shadow: 0 3px 6px rgba(33, 150, 243, 0.4);
}

/* ===== SECONDARY NAVIGATION ===== */
.nav-secondary {
  background-color: #E3F2FD;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-secondary a {
  color: #1976D2;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-secondary a:hover {
  background-color: #BBDEFB;
  color: #0D47A1;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
  opacity: 0.3;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 10px auto 35px;
  position: relative;
  z-index: 1;
  opacity: 0.98;
  line-height: 1.7;
}

button, .btn {
  padding: 14px 32px;
  background-color: #2196F3;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-block;
  text-decoration: none;
}

button:hover, .btn:hover {
  background-color: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

button.secondary, .btn.secondary {
  background-color: white;
  color: #2196F3;
  border: 2px solid white;
}

button.secondary:hover, .btn.secondary:hover {
  background-color: #E3F2FD;
  color: #1976D2;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 60px 20px;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.about h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #1976D2;
  font-size: 2rem;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

/* ===== FEATURES SECTION ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #F5F5F5;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border-top: 4px solid #2196F3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}

.feature-card h3 {
  color: #1976D2;
  margin-bottom: 15px;
}

/* ===== DASHBOARD ===== */
.dashboard {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #F5F5F5;
}

.dashboard h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #1976D2;
}

.card {
  background-color: white;
  margin: 20px auto;
  padding: 25px;
  max-width: 600px;
  border-radius: 10px;
  border-left: 4px solid #2196F3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: left;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.15);
  border-left-color: #1976D2;
}

.card h3 {
  color: #2196F3;
  margin-bottom: 15px;
}

.card p {
  margin: 10px 0;
  color: #555;
}

/* ===== MENTOR PROFILE ===== */
.mentor-profile {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #F5F5F5;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mentor-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border-top: 4px solid #2196F3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mentor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}

.mentor-card img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #E3F2FD;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.1);
}

.mentor-card h3 {
  margin-bottom: 10px;
  color: #1976D2;
}

.mentor-card p {
  margin: 10px 0;
  color: #555;
  text-align: left;
}

/* ===== OAUTH BUTTONS ===== */
.oauth-container {
  max-width: 400px;
  margin: 30px auto;
  padding: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.oauth-button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
}

.oauth-button:hover {
  background-color: #f8f8f8;
  border-color: #999;
  transform: translateY(-1px);
}

.oauth-button.google {
  border-color: #4285F4;
  color: #4285F4;
}

.oauth-button.microsoft {
  border-color: #00A4EF;
  color: #00A4EF;
}

.oauth-button.facebook {
  border-color: #1877F2;
  color: #1877F2;
}

/* ===== CHATBOT ===== */
.chatbot-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  height: 600px;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 20px;
  background-color: #fafafa;
}

.chat-input-container {
  display: flex;
  gap: 10px;
}

.chat-input-container input {
  flex: 1;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.chat-input-container button {
  padding: 14px 28px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #1976D2;
  color: white;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: #BBDEFB;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section a {
  color: #E3F2FD;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #BBDEFB;
  font-size: 0.85rem;
}

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: white;
  border-radius: 10px;
  border-top: 4px solid #2196F3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.policy-content h2 {
  color: #1976D2;
  margin: 30px 0 15px;
  text-align: left;
}

.policy-content h3 {
  color: #2196F3;
  margin: 25px 0 12px;
  text-align: left;
}

.policy-content p {
  margin: 12px 0;
  line-height: 1.8;
  color: #555;
}

.policy-content ul {
  margin: 12px 0;
  padding-left: 30px;
  color: #555;
}

.policy-content li {
  margin: 8px 0;
  line-height: 1.6;
}

.policy-content a {
  color: #2196F3;
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1976D2;
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  max-width: 600px;
}

.cookie-banner a {
  color: #BBDEFB;
  text-decoration: underline;
}

.cookie-banner button {
  padding: 10px 24px;
  margin: 0 5px;
}
