
/* Read More button and expanded text styles */
.read-more-btn {
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.read-more-btn:hover {
  background: var(--sub-topic);
  transform: scale(1.05);
}
.more-text {
  display: none;
  color: var(--text);
  transition: all 0.3s;
}
:root {
  --bg: #f5f7fb;
  --project-card: rgba(255, 255, 255, 0.6);
  --transparent-border: rgba(255, 255, 255, 0.4);
  --text: #111827;
  --primary: #e14ffe;
  --name: #ffd54a;
  --sub-topic: #9a0ae7;
  --project-link: #0000000c;
  --project-link-text: #000000;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: poppins, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s linear, color 03s linear;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 15px 15px;
  border: 1px solid var(--transparent-border);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

.nav {
  max-width: 1100px;
  height: 50px;
  margin: 0px auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  text-decoration: none;
}
.logo {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  color: var(--text);
  font-weight: 600;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0px;
  padding: 0px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
}

#theme-toggle {
  background: none;
}
#mobile-toggle {
  display: none;
  cursor: pointer;
  background: transparent;
  font-size: 1rem;
}

button > i {
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffde34;
}

.nav-btn {
  border: none;
  padding: 0.29rem;
  border-radius: 8px;
}
.transparent {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid var(--transparent-border);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

.background {
  padding: 5rem 1rem;
  margin: 1.25rem auto;
  max-width: 1100px;
}

.home {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(150deg, var(--primary), #00f2fe);
}

.home-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.035);
  width: 100%;
  padding: 1rem;
  letter-spacing: 0.3rem;
  line-height: 3rem;
}

.home img {
  background: rgba(255, 255, 255, 0.028);
  height: 200px;
  width: 200px;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.885);
}
.home-info h1 {
  font-size: 2rem;
}
h1 span {
  font-size: 3rem;
}

h2 span {
  display: block;
  color: rgb(255, 255, 255);
}

.home .name {
  color: var(--name);
  font-weight: 600;
}

.resume {
  letter-spacing: 0.1rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  border: 1px solid var(--transparent-border);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

.skills-element {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.skill-box {
  color: #fff;
}
.skill {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
}

.about p {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  letter-spacing: 0.05rem;
  line-height: 1.8rem;
  font-size: 1.5rem;
  font-weight: 400;
}
.about-points {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  letter-spacing: 0.05rem;
  line-height: 1.8rem;
  font-size: 1.5rem;
  list-style-position: inside;
}
.about-points li {
  margin-top: 1.5rem;
}
.about-cursive {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 1rem;
}
.about h3 {
  color: var(--sub-topic);
  font-size: 1.5rem;
  margin-top: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
h2 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.project-grid {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.project-card {
  font-size: 1.5rem;
  overflow: hidden;
  text-align: center;
  padding: 0 0 1rem 0;
}

.project-card img {
  margin-bottom: 1rem;
}
.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.project-card h3 {
  color: var(--sub-topic);
  margin-bottom: 1rem;
}
.project-card p {
  letter-spacing: 0.05rem;
}

.project-card-hover {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
}

.project-card-hover a {
  text-decoration: none;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  padding: 0.5rem;
  background-color: var(--project-link);
  color: var(--project-link-text);
  border-radius: 0.3rem;
}
.social-links-box {
  text-align: center;
  margin-top: 1rem;
}

.social-links-box h3 {
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.social-links a {
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 0.3rem;
}

i {
  font-size: 3rem;
}
.github {
  color: black;
}
.linkedin {
  color: #0077b5;
}
.discord {
  color: #5865f2;
}
.youtube {
  color: #ff0000;
}
.email {
  color: red;
}
.whatsapp {
  color: #25d366;
}
.call {
  color: black;
}
.sms {
  color: rgb(80, 140, 245);
}

form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
input,
textarea {
  font-size: 1.3rem;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
}

.join-you-checkbox {
  display: flex;
  align-items: start;
  font-size: 1.3rem;
}

.join-you-checkbox input {
  margin-right: 1rem;
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: 0;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background-color: #0000002c;
  color: #fff;
}
.footer {
  font-size: 1.5rem;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem auto;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
address p {
  margin-bottom: 5px;
}
iframe {
  border: 0;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(182, 177, 177, 0.885);
}
.heart {
  color: red;
  font-size: 1.5rem;
}

.footer-developer {
  font-weight: 700;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  width: 320px;
  height: 320px;
  z-index: -5;
  opacity: 0.18;
  filter: blur(30px);
}
body::before {
  left: -5%;
  top: 5%;
  background: linear-gradient(180deg, var(--primary), #7ee8fa);
}
body::after {
  right: -8%;
  bottom: -5%;
  background: linear-gradient(180deg, #ffd54a, #ff8a65);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}

body.dark {
  --bg: #0b1013;
  --project-card: rgba(255, 255, 255, 0.03);
  --transparent-border: rgba(255, 255, 255, 0.06);
  --text: #eef2f7;
  --sub-topic: #ffd54a;
  --project-link: #94949423;
  --project-link-text: #ffffff;
}

body.dark .transparent {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

body.dark .read-more-btn {
  background: #ffd54acc;
  color: #fff;
}
body.dark .read-more-btn:hover {
  background: #ffd54a;
  color: #222;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    text-align: center;
    padding: 1.3rem;
    z-index: "1000";
    background-color: var(--bg);
    opacity: 0.9;
  }
  .nav-links a {
    font-size: 18px;
    font-weight: 700;
  }
  #mobile-toggle {
    display: block;
  }
  .home {
    height: auto;
    padding: 1rem;
  }
  iframe {
    width: 300px;
  }
}
