/* =========================================================
   GenZearn Global Styles
   Author: Swathi P
   Site: https://genzearn.com/
   ========================================================= */

/* ====== Reset & Base ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background: #f9fafc;
  color: #333;
  line-height: 1.6;
}

/* ====== Header ====== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #00c6ff, #0077ff);
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.6rem;
}

header .site-logo {
  height: 50px;
  width: auto;
  margin-right: 0.5rem;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  color: white;
  margin-left: 1.25rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-decoration 0.3s;
}

header nav a:hover,
header nav a.active {
  text-decoration: underline;
}

/* ====== Hero Section ====== */
.hero {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #00c6ff, #0077ff);
  color: white;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: #fff;
  color: #0077ff;
}

.btn.secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn:hover {
  transform: scale(1.05);
}

/* ====== Modal (connect.html) ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5rem auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #0077ff;
}

.modal-content input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.modal-content button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: #0077ff;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.modal-content button:hover {
  background: #005fcb;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #0077ff;
}

/* ====== Tutors Page ====== */
.tutors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tutor-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.tutor-card:hover {
  transform: translateY(-5px);
}

.tutor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.tutor-card h3 {
  margin-bottom: 0.5rem;
  color: #0077ff;
}

.tutor-card p {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.tutor-card button {
  margin-top: 0.75rem;
  background: #0077ff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.tutor-card button:hover {
  background: #005fcb;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 2rem;
  background: #f1f1f1;
  margin-top: 3rem;
  color: #555;
  font-size: 0.95rem;
}
