* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  section {
  background-color: #080808; /* Replace greenish tone */
  color: #f4efef;
}

  line-height: 1.6;
}
a {
  color: #00bcd4;
  text-decoration: none;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}
header {
  background: #100e0e;
  padding: 1rem 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav a {
  margin-left: 20px;
  font-weight: bold;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5% 10%;
  background: linear-gradient(135deg, #ff0000, #6f00ff); /* red-purple */
  color: #fff;
  min-height: 100vh; /* increased height */
  clip-path: none; /* removed curved cut */
  position: relative;
}

.hero {
  background: linear-gradient(to right, #010101, #71c4df, #82cceb);
  padding: 3rem 0;
}
.hero-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
}
.hero-content .text {
  margin-top: 2rem;
}
.hero-content img {
  max-width: 250px;
  border-radius: 50%;
  border: 3px solid #00bcd4;
}
.btn {
  display: inline-block;
  margin: 1rem 0.5rem 0;
  padding: 0.5rem 1rem;
  background: #00bcd4;
  color: #121212;
  border-radius: 5px;
}
.btn.outline {
  background: transparent;
  border: 2px solid #00bcd4;
  color: #00bcd4;
}
.section {
  padding: 3rem 0;
}
.skills-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.card {
  background: #1e1e1e;
  padding: 1rem;
  border-left: 4px solid #00bcd4;
}
.services-list {
  list-style: none;
  margin-top: 1rem;
}
.services-list li {
  margin-bottom: 10px;
}
footer {
  text-align: center;
  padding: 1rem 0;
  background: #1f1f1f;
  font-size: 0.9rem;
}
@media(min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
/* Education Section */
.education-section {
  background-color: #121212;
  border-radius: 10px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 0 20px rgba(111, 0, 255, 0.2);
  position: relative;
}

.education-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.8rem;
}

.education {
  background-color: #1a1a1a;
  border-left: 5px solid #6f00ff;
  padding: 30px 30px 30px 60px;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.4s ease;
}

.education:hover {
  transform: scale(1.02);
}

.education::before {
  content: "";
  background: url('https://cdn-icons-png.flaticon.com/512/3135/3135768.png') no-repeat center;
  background-size: contain;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 30px;
  left: 10px;
}

.education h3 {
  margin: 0 0 5px;
  font-size: 1.6rem;
  color: #fff;
}

.education p {
  margin: 4px 0;
  color: #ccc;
  font-size: 0.95rem;
}

.education .year {
  font-style: italic;
  color: #999;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #0e0e0e;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.contact-section {
  background-color: #1a1a1a;
  padding: 40px;
  text-align: center;
  border-top: 2px solid #6f00ff;
}

.contact-section h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-info a {
  color: #6f00ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ffffff;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  margin: 0 15px;
  font-size: 24px;
  color: #6f00ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
  transform: scale(1.2);
}
.skill-section {
      background-color: #121212;
      padding: 40px;
      border-radius: 10px;
      margin-bottom: 40px;
      box-shadow: 0 0 20px rgba(111, 0, 255, 0.2);
    }

    .skill-section h2 {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 30px;
    }

    .soft-skills {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .skill {
      background-color: #1a1a1a;
      padding: 20px 30px;
      border-radius: 10px;
      font-size: 1rem;
      color: #ccc;
      box-shadow: 0 0 10px rgba(111, 0, 255, 0.1);
      transition: transform 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .skill i {
      font-size: 1.2rem;
      color: #6f00ff;
    }

    .skill:hover {
      transform: scale(1.05);
      color: #fff;
    }
.skill {
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill i {
  color: #6f00ff;
  font-size: 1.2rem;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}
.motto-section {
  padding: 50px 10%;
  background-color: #121212;
  text-align: center;
  font-size: 1.5rem;
  color: #ff003c;
  font-family: 'Exo 2', sans-serif;
}
.certification-section {
  background-color: #0e0e0e;
  padding: 60px 10%;
  text-align: center;
  border-top: 2px solid #6f00ff;
}

.certification-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Exo 2', sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cert-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #6f00ff;
  transition: transform 0.3s ease;
  color: #ccc;
  box-shadow: 0 0 10px rgba(111, 0, 255, 0.1);
}

.cert-card:hover {
  transform: scale(1.03);
  background: #222;
}

.cert-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.cert-card h3 {
  margin: 10px 0 5px;
  color: #fff;
}

.cert-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.cert-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cert-card .btn {
  background: #6f00ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.cert-card .btn:hover {
  background: #fff;
  color: #000;
}

.cert-card .btn.outline {
  background: transparent;
  border: 2px solid #6f00ff;
  color: #6f00ff;
}

.cert-card .btn.outline:hover {
  background: #6f00ff;
  color: #fff;
}
.cert-icon {
  font-size: 48px;
  color: #5667ee;
  margin-bottom: 15px;
  text-align: center;
}

.certification-section {
  padding: 60px 10%;
  background-color: #0f0f0f;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.cert-card {
  background: #181818;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #6f00ff;
  text-align: center;
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.cert-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.cert-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero img {
    width: 180px;
    margin-top: 20px;
  }

  .cert-card {
    padding: 20px;
  }

  section {
    padding: 40px 20px;
  }

  h1, h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }
}
img {
  max-width: 100%;
  height: auto;
}
/* Mobile Navigation Styles */
.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: #1a1a1a;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 20px;
    transition: 0.3s ease-in-out;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.certification-section {
  background-color: #0e0e0e;
  padding: 60px 10%;
  text-align: center;
  border-top: 2px solid #6f00ff;
}

.certification-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Exo 2', sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cert-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #6f00ff;
  transition: transform 0.3s ease;
  color: #ccc;
  box-shadow: 0 0 10px rgba(111, 0, 255, 0.1);
}

.cert-card:hover {
  transform: scale(1.03);
  background: #222;
}

.cert-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.cert-card h3 {
  margin: 10px 0 5px;
  color: #fff;
}

.cert-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.cert-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cert-card .btn {
  background: #6f00ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.cert-card .btn:hover {
  background: #fff;
  color: #000;
}

.cert-card .btn.outline {
  background: transparent;
  border: 2px solid #6f00ff;
  color: #6f00ff;
}

.cert-card .btn.outline:hover {
  background: #6f00ff;
  color: #fff;
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: #1a1a1a;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 20px;
    transition: 0.3s ease-in-out;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }
}
/* ===== Root Theme Variables ===== */
:root {
  --primary: #6f00ff;
  --light-bg: #f7f9fc;
  --light-text: #222;
  --dark-bg: #0e0e0e;
  --dark-text: #f5f5f5;
  --accent: #00bcd4;
  --transition: 0.3s ease;
  --font-main: 'Sora', sans-serif;
}

/* ===== Theme Switching ===== */
html[data-theme="light"] {
  --bg: var(--light-bg);
  --text: var(--light-text);
}

html[data-theme="dark"] {
  --bg: var(--dark-bg);
  --text: var(--dark-text);
}

/* ===== Global Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
a {
  text-decoration: none;
  color: var(--primary);
}
section {
  padding: 60px 10%;
}
/* Fonts & Variables */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');

:root {
  --primary: #6f00ff;
  --secondary: #00c3ff;
  --light-bg: #f9f9f9;
  --light-text: #111;
  --dark-bg: #0e0e0e;
  --dark-text: #f5f5f5;
  --accent: #6f00ff;
  --transition: 0.3s ease-in-out;
}

body {
  font-family: 'Sora', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--light-bg);
  color: var(--light-text);
  transition: var(--transition);
  overflow-x: hidden;
}

body.dark-mode {
  background: var(--dark-bg);
  color: var(--dark-text);
}

/* Animated background */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, #e0c3fc, #8ec5fc, #f9f9f9);
  z-index: -1;
  animation: animated-bg 20s linear infinite;
  opacity: 0.05;
}

@keyframes animated-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header */
header {
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-bg);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: var(--transition);
}

body.dark-mode header {
  background: #111;
}

header h1 {
  font-weight: 700;
  font-size: 1.5rem;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

body.dark-mode nav a {
  color: var(--dark-text);
}

nav a:hover {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--light-text);
}

body.dark-mode .hamburger {
  color: var(--dark-text);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 60px 10%;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.typing {
  color: var(--primary);
}

.hero p {
  margin-top: 15px;
  max-width: 600px;
  line-height: 1.6;
}

.hero img {
  width: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* Section */
section {
  padding: 60px 10%;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Skills / Projects / Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  transition: var(--transition);
  color: var(--light-text);
}

body.dark-mode .card {
  background: #1a1a1a;
  color: var(--dark-text);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

button[type="submit"] {
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 5px;
  transition: var(--transition);
}

button:hover {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #999;
}

/* Theme Toggle Button */
.theme-toggle {
  cursor: pointer;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: var(--transition);
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
}

/* Responsive Nav */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: #fff;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    z-index: 999;
  }

  body.dark-mode nav {
    background-color: #1a1a1a;
  }

  nav.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }
}
header h1 {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--light-text); /* 👈 Add this line */
  transition: var(--transition);
}

body.dark-mode header h1 {
  color: var(--dark-text); /* 👈 For dark mode */
}

