/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ===== BODY ===== */
body {
  background: linear-gradient(135deg, #eef6ff 0%, #dff1ff 35%, #f5ecff 100%);
  color: #10233d;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.logo span {
  color: #2563eb;
}

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

.nav-links a {
  text-decoration: none;
  color: #10233d;
  font-weight: 500;
}

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

/* ===== HERO ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0;
}

.hero-left {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

/* ===== TAG ===== */
.tag {
  display: inline-block;
  background: #eaf2ff;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 25px;
}

/* ===== TEXT ===== */
.hero h1 {
  font-size: 54px;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 25px;
  color: #3b82f6;
  margin-bottom: 20px;
}

.hero p {
  margin: 0 auto 30px;
  max-width: 850px;
}

/* ===== BUTTONS ===== */
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.btn {
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
}

/* ===== INFO BOXES (FIXED) ===== */
.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.info-box {
  background: white;
  padding: 25px;
  border-radius: 15px;
  min-height: 200px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.info-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ===== CONTACT LINKS ===== */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.contact-links a {
  width: 140px;
  padding: 8px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  text-decoration: none;
  color: #10233d;
  font-weight: 600;
  background: white;
}

/* ===== FLOATING BUTTON ===== */
.floating-ai-button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 999999;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border: 2px solid white;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(37,99,235,0.4);
}

/* ===== OVERLAY ===== */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  z-index: 999997;
  display: none;
}

.chat-overlay.show-overlay {
  display: block;
}

/* ===== CHATBOT ===== */
.chatbot-popup {
  position: fixed;
  top: 0;
  right: 0;
  width: 430px;
  height: 100vh;
  background: #0f172a;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999998;
  display: flex;
  flex-direction: column;
}

.chatbot-popup.show-chatbot {
  transform: translateX(0);
}

.chatbot-header {
  height: 58px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-weight: 700;
}

.chatbot-frame {
  width: 100%;
  height: calc(100% - 58px);
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .quick-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quick-info {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* ===== SKILLS PAGE ===== */

.page-title {
  text-align: center;
  margin-top: 40px;
  font-size: 42px;
}

.page-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 10px auto 40px;
  color: #475569;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.skill-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.skill-card p {
  color: #475569;
}

/* Responsive */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROJECT GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* ===== PROJECT CARD ===== */
.project-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: left;
  transition: 0.3s;
}

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

.project-card h3 {
  margin-bottom: 8px;
}

.project-card h4 {
  color: #3b82f6;
  font-size: 14px;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

.project-card a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
