:root {
  --bg-light: #F8F5E9;
  --text-light: #1E1E1E;

  --bg-dark: #121212;
  --text-dark: #EAEAEA;

  --card-light: #ffffff;
  --card-dark: #1E1E1E;

  --accent: #64FFDA;
}

* {
  cursor: none !important;
}


body {
  font-family: "Modern Antiqua", serif;
  margin: 0;
  overflow-x: hidden;
  
}
body.dark-mode {
  background: var(--bg-light);
  color: var(--text-light);
}


p {
  margin: 0;
}

.heading {
  width: fit-content;
  margin: auto;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}


/* Hero Section */
#HeroSection {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.heroSectionContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Hero Image */
.heroImage {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
  box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);

  transition: box-shadow 0.4s ease;
}

.heroImage::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(100, 255, 218, 0.45),
    rgba(100, 255, 218, 0.18),
    transparent 70%
  );
  filter: blur(20px);
  z-index: -1;
}

.heroImage img {
  width: 85%;
  height: 85%;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}

/* Text */
.heroTextBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px; /* CONTROLS spacing */
  margin-top: 10px;
}
.heroButtons {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.heroIntro,
.heroRole {
  min-height: 48px;
}

/* Resume Button */
.heroButtons {
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}

.heroButtons i {
  font-size: 14px;
}

.heroButtons:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.6);
}


/* About Section */
#aboutSection {
  padding: 100px 20px;
  position: relative;
  z-index: 2;
}

.aboutContainer {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 70px;
}

/* Image */
.aboutImage img {
  width: 300px;
  height: 380px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(100, 255, 218, 0.35);
}

/* Text */
.aboutText {
  max-width: 520px;
}

.aboutText h2 {
  font-size: 42px;
  margin-bottom: 18px;
  position: relative;
}

.aboutText h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #64ffda;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.aboutText p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Mobile Fix */
@media (max-width: 900px) {
  .aboutContainer {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .aboutText h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* Education */
#educationSection {
  padding: 60px 20px;
}

.educationContainer {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top:30px;
}

.educationCard {
  background: #F8F5E9;
  border-radius: 18px;
  padding: 25px 30px;
box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);

  transition: box-shadow 0.4s ease;
  margin-top: 30px;
}

.educationCard h3 {
  margin-bottom: 6px;
  font-size: 20px;
  margin-top: 30px
}

.eduInstitute {
  font-weight: 600;
  color: #444;
}

.eduDetails {
  color: #666;
  font-size: 15px;
}

/* Skills */
/* OUTER BOX */
.skillsOuterBox {
 max-width: 1250px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 30px;
  background: var(--card-dark);;
  box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);

  transition: box-shadow 0.4s ease;
}

/* GRID */
.skillsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

/* SKILL CARD */
.skillCard {
  background: #243632;
  color: #e9fff9;
  padding: 18px 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  transition: all 0.3s ease;
}

.skillCard i {
  font-size: 22px;
  color: #64ffda;
}

/* HOVER */
.skillCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(100, 255, 218, 0.25);
}

/* WIDE CARD */
.skillCard.wide {
  grid-column: span 2;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .skillsOuterBox {
    padding: 25px;
    border-radius: 22px;
  }

  .skillsGrid {
    grid-template-columns: 1fr;
  }

  .skillCard {
    justify-content: center;
    text-align: center;
  }

  .skillCard.wide {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .skillCard {
    border-radius: 14px;
  }
}


/* =====================================================
   PROJECTS
===================================================== */
#projectSection {
  width: 85%;
  margin: 120px auto;
  gap: 40px;
  max-width: 900px;
}
#projectSection .heading {
  margin-bottom: 40px;   /* ✅ ADDS GAP */
}

.projectCard {
  display: flex;
  align-items: center;
  gap: 30px;

  background: var(--card-dark);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;

  box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);
}

.projectImage {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;

  background :rgba(0, 0, 0, 0.6);
  padding: 8px;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .projectCard {
    flex-direction: column;
    text-align: center;
  }
}

.buttons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.gitHubButton {
  background: black;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.demoButton {
  background: #F8F5E9;
  color: black;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

/* Internships */
#internshipSection {
  padding: 60px 20px;
}

.internshipContainer {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.internshipCard {
  background: #F8F5E9;
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);

  transition: box-shadow 0.4s ease;
  margin-top: 30px;
}

.internHeader {
  display: flex;
  align-items: center;
  gap: 20px;
}

.internLogo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50px;
}

.internOrg {
  font-weight: 600;
  color: #333;
}

.internDuration {
  font-size: 14px;
  color: #666;
}

.internDesc {
  margin-top: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.certificateBtn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: black;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 600px) {
  .internHeader {
    flex-direction: column;
    text-align: center;
  }
}

/* Contact Section */
#contactSection {
  margin-top: 80px;
  padding: 60px 20px;
}

.contactContainer {
  max-width: 900px;
  margin: auto;
  background: #F8F5E9;
  border-radius: 25px;
  padding: 40px;
  box-shadow:
    0 0 8px rgba(127, 183, 194, 0.5),
    0 0 18px rgba(127, 183, 194, 0.6);

  transition: box-shadow 0.4s ease;
  margin-top:30px;
}

.contactInfo {
  text-align: center;
}

.contactInfo h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.contactInfo p {
  color: #555;
  font-size: 16px;
  margin-bottom: 25px;
}

.contactItem {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contactItem a {
  text-decoration: none;
  color: #000;
}

.socialLinks {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.socialLinks a {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.socialLinks a:hover {
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: black;
  padding: 25px;
  color: white;
  text-align: center;
  margin-top: 75px;
}

/* Mobile */
@media (max-width: 600px) {
  #aboutMeSection {
    flex-direction: column;
  }

  .aboutP1,
  .aboutP2 {
    width: 100%;
  }

  .skillsDiv {
    flex-direction: row;
  }

  .skillsDiv .p1,
  .skillsDiv .p2 {
    width: 100%;
    align-items: center;
  }

  .projectCard {
    flex-direction: column;
    text-align: center;
  }
}
/* ===========================
   DARK MODE STYLES
=========================== */

body.dark-mode {
  background: #121212;
  color: #eaeaea;
}

/* Sections */
body.dark-mode .navbar,
body.dark-mode .educationCard,
body.dark-mode .skillsDiv,
body.dark-mode .projectCard,
body.dark-mode .internshipCard,
body.dark-mode .contactContainer {
  background: #1e1e1e;
  color: #eaeaea;
}
/* Explicit transparent hero */
body.dark-mode #HeroSection {
  background: transparent !important;
  padding-top: 200px;
}

/* Headings */
body.dark-mode h1,
body.dark-mode h3 {
  color: #ffffff;
}

/* Paragraph text */
body.dark-mode p {
  color: #cccccc;
}

/* Buttons */
body.dark-mode .heroButtons,
body.dark-mode .gitHubButton,
body.dark-mode .certificateBtn {
  background: #ffffff;
  color: #000000;
}

body.dark-mode .demoButton {
  background: #2a2a2a;
  color: #ffffff;
}

/* Links */
body.dark-mode a {
  color: #4da3ff;
}

/* Footer */
body.dark-mode footer {
  background: #000000;
  color: #ffffff;
}

body.dark-mode button,
body.dark-mode .btn,
body.dark-mode a.btn,
body.dark-mode .gitHubButton,
body.dark-mode .demoButton,
body.dark-mode .certificateBtn,
body.dark-mode .heroButtons,
body.dark-mode .socialLinks a {
  background: #111;
  color: #4dd0e1;
  border: 1px solid rgba(77, 208, 225, 0.4);
  box-shadow:
    0 0 4px rgba(77, 208, 225, 0.35),
  0 0 10px rgba(77, 208, 225, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

body.dark-mode .skillsDiv .p1 {
  background: var(--soft-dark);
  color: var(--accent);
}

body.dark-mode .skillsDiv .p2 {
  color: var(--text-dark);
}

body.dark-mode .gitHubButton,
body.dark-mode .certificateBtn {
  background: var(--accent);
  color: #000;
}

body.dark-mode .demoButton {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
body.dark-mode .navbar {
  background: #0f0f0f;
}

body.dark-mode .navbar a {
  color: var(--text-dark);
}
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
/* ===============================
   DARK MODE – CONTACT SECTION FIX
================================ */

body.dark-mode #contactSection {
  color: #ffffff;
}

body.dark-mode .contactContainer {
  background: rgba(20, 20, 20, 0.88);
  color: #ffffff;
}

body.dark-mode .contactInfo h3 {
  color: #ffffff;
}

body.dark-mode .contactInfo p {
  color: #d1d1d1;
}

body.dark-mode .contactItem a {
  color: #ffffff;
}

body.dark-mode .socialLinks a {
  background: #111;
  color: #4dd0e1; /* accent cyan */
  box-shadow: 0 0 12px rgba(77, 208, 225, 0.35);
}

body.dark-mode button:hover,
body.dark-mode .btn:hover,
body.dark-mode a.btn:hover,
body.dark-mode .gitHubButton:hover,
body.dark-mode .demoButton:hover,
body.dark-mode .certificateBtn:hover,
body.dark-mode .heroButtons:hover,
body.dark-mode .socialLinks a:hover {
  background: #4dd0e1;
  color: #000;
  box-shadow:
  0 0 6px rgba(77, 208, 225, 0.55),
  0 0 16px rgba(77, 208, 225, 0.35);

  transform: translateY(-2px) scale(1.03);
}
/* ===============================
   MOBILE-FIRST SAFE CSS
=============================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Modern Antiqua", serif;
  background: #F8F5E9;
  color: #1E1E1E;
  overflow-x: hidden;
}

/* ===============================
   HERO SECTION – MOBILE SAFE
=============================== */

#HeroSection {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}

.heroSectionContent {
  width: 100%;
  max-width: 420px;     /* 🔒 LOCKED WIDTH */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Text lines */
.heroSectionContent p {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.4;
}

/* Name & role */
.focus-text {
  display: block;       /* 🔥 prevents side shift */
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
}

/* Resume button */
.heroButtons {
  margin-top: 14px;
  padding: 10px 20px;
  background: black;
  color: white;
  border-radius: 8px;
  border: none;
}

/* ===============================
   SECTIONS WRAPPER
=============================== */

#aboutMeSection,
#educationSection,
#skillsSection,
#projectSection,
#internshipSection,
#contactSection {
  width: 92%;
  margin: 0 auto;
}

/* ===============================
   SKILLS – MOBILE FIX (NO CUTTING)
=============================== */

.skillsDiv {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  overflow: hidden;

  /* ❌ REMOVE FLEX */
  display: block;
}

.skillsDiv .p1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.skillsDiv .p2 {
  width: 100%;
}

/* Skills list */
.skillsList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skillsList li {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

/* ===============================
   PROJECT CARDS – MOBILE
=============================== */

.projectCard {
  display: block;
  padding: 16px;
  margin-bottom: 24px;
}

.projectImage {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* ===============================
   INTERNSHIPS – MOBILE
=============================== */

.internshipCard {
  padding: 16px;
  margin-bottom: 20px;
}

/* ===============================
   CONTACT
=============================== */

.contactContainer {
  padding: 20px;
  border-radius: 16px;
}

/* ===============================
   FOOTER
=============================== */

footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: white;
}
.triangle-cursor {
  position: fixed;
  width: 0;
  height: 0;

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 14px solid #ffffff;

  pointer-events: none;
  z-index: 999999;

  transform: translate(-50%, -50%) rotate(-45deg);
  filter: drop-shadow(0 0 6px rgba(127, 183, 194, 0.8));
}

@media (max-width: 768px) {
  * {
    cursor: auto !important;
  }
  .triangle-cursor {
    display: none;
  }
}
#typingText {
  display: inline-block;
  min-height: 32px;
  white-space: nowrap;
}
