:root {
  --bg-dark: #02040a;
  --bg-panel: #0b101b;
  --primary: #3b82f6; 
  --accent: #06b6d4; 
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --glass: rgba(15, 23, 42, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --nav-height: 70px;
  --text-dark: var(--text-main);
  --accent-color: var(--accent);
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  height: auto;
}

/* --- ANIMATIONS --- */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

a {
  text-decoration: none;
}

.header-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-section {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 15px;
}

.container-text {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.navbar {
  background: #000;
  width: 100%;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  color: #fff;
  font-size: 15px;
  padding: 8px 6px;
  transition: color 0.18s, transform 0.18s;
}
.nav-links li a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

#menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 60;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.28s ease, opacity 0.18s ease;
}
/* Hamburger animation to X */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

section.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 50px 0;
  position: relative;
}

.hero-content-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.hero-text {
  flex: 1;
  padding: 0 10px;
  z-index: 2;
}

h1.hero-content-1 {
  color: var(--text-dark);
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 800;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

h2.hero-content-2 {
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.1s;
}

h3.hero-content-3 {
  max-width: 600px;
  font-size: 24px;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 15px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

p.hero-content-4 {
  max-width: 450px;
  margin-top: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-content-btn {
  margin-top: 30px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero-content-btn a {
  border: 2px solid var(--accent);
  background-color: var(--secondary-color);
  color: var(--accent);
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-content-btn a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--accent);
  transition: width 0.4s ease;
  z-index: -1;
}

.hero-content-btn a:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.hero-content-btn a:hover::before {
  width: 100%;
}

.hero-content-pic {
  display: flex;
  justify-content: center;
  width: 400px;
  height: 400px;
  opacity: 0;
  animation: fadeInRight 1s ease forwards;
  animation-delay: 0.4s;
}

.hero-content-pic img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
  transition: all 0.5s ease-out;
  transform-style: preserve-3d;
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
}

.hero-content-pic:hover img {
  transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
  box-shadow: -20px 20px 40px rgba(6, 182, 212, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 60px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #7f1d1d;
  margin: 15px auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 120px;
}

.about-journey h3,
.about-skills h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 700;
}

.about-journey p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.skills-list span {
  background-color: #e2e8f0;
  color: #0f172a;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills-list span:hover {
  background-color: maroon;
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(128, 0, 0, 0.3);
}

#education {
  background: var(--bg-dark);
  color: var(--text-main);
  padding: 80px 20px;
}

#education .section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.education-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 700px;
  margin: auto;
}

/* CARD */
.education-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-panel); /* Use panel background variable */
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--border); /* Use border variable */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.education-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.25);
}

/* ICON */
.edu-icon i {
  font-size: 2rem;
  color: var(--accent);
  transition: 0.4s ease;
}

.education-card:hover .edu-icon i {
  transform: scale(1.2);
  text-shadow: 0 0 15px var(--accent);
}

.edu-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.edu-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.edu-year {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--accent);
}

#experience {
  background: var(--bg-dark);
  color: var(--text-main);
  padding: 80px 20px;
}

#experience .section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.experience-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-card {
  background: var(--bg-panel);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: 0.4s ease;
  cursor: pointer;
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.25);
}

.experience-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.exp-year {
  display: block;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.experience-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section {
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-main);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.project-card {
  background: var(--bg-panel);
  border-radius: 16px;
  overflow: hidden;
  width: 330px;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.12);
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.project-tags {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-tags span {
  padding: 6px 14px;
  background: #222;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-tags span:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.project-btn span {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  color: var(--accent);
  border-radius: 8px var(--accent);
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-btn span:hover {
  color: var(--accent);
  transform: scale(1.08);
}

.section-myservices-title h3 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.section-myservices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.section-myservices > div {
  background: var(--bg-panel);
  width: 330px;
  padding: 35px 25px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.section-myservices > div:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.25);
}

.section-myservices-content-iframe-1 i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.section-myservices > div:hover .section-myservices-content-iframe-1 i {
  transform: scale(1.15);
  text-shadow: 0 0 20px var(--accent);
}

.section-myservices-content-title h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-myservices-content-area p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
#contact {
  background: var(--bg-dark);
  color: var(--text-main);
  padding: 80px 20px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 400px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-panel);
  padding: 20px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}
.contact-icon i {
  font-size: 1.8rem;
  color: var(--accent);
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.contact-item:hover .contact-icon i {
  transform: scale(1.2);
  text-shadow: 0 0 15px var(--accent);
}
.contact-form {
  width: 550px;
  background: var(--bg-panel);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* FORM GROUP */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

/* INPUTS */
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
  padding: 12px 14px;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-textarea {
  height: 140px;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.25);
}

.btn {
  width: 100%;
  background: var(--accent);
  color: #000;
  padding: 14px 0;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  background: #b6ff00;
  transform: scale(1.05);
}
footer {
  background: var(--bg-dark);
  color: var(--text-main);
  padding: 70px 20px 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-logo .fiolo {
  color: var(--accent);
}

.footer-info {
  color: var(--text-muted);
  margin: 12px 0 20px;
  line-height: 1.5;
  max-width: 300px;
}

.iframe-links {
  display: flex;
  gap: 15px;
}

.iframe-link i {
  font-size: 1.3rem;
  width: 60px;
  color: var(--accent);
  padding: 20px;
  border: 1px solid var(--accent);
  border-radius: 60%;
  transition: 0.4s ease;
}

.iframe-link:hover i {
  background: var(--accent);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--accent);
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
  text-shadow: 0 0 8px var(--accent);
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: #666;
}

.copyright span {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 968px) {
  .nav-parent {
    padding: 15px 20px;
  }
  .nav-list {
    display: none;
  }
  .hamburger {
    display: block;
  }

  section.hero {
    padding-top: 100px;
    min-height: auto;
  }
  .hero-content-area {
    flex-direction: column-reverse;
    text-align: center;
    width: 90%;
    gap: 20px;
  }
  .hero-content-pic {
    width: 300px;
    height: 300px;
  }
  .hero-content-pic img {
    height: 300px;
    margin-bottom: 20px;
  }
  .hero-text {
    padding: 0;
  }
  h1.hero-content-1 {
    font-size: 42px;
  }
  h3.hero-content-3 {
    font-size: 20px;
  }
  p.hero-content-4 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* About Section */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .projects-grid,
  .section-myservices {
    gap: 30px;
  }
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 550px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .footer-info {
    margin-left: auto;
    margin-right: auto;
  }
  .iframe-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 15px;
  }
  h1.hero-content-1 {
    font-size: 32px;
  }
  h3.hero-content-3 {
    font-size: 18px;
  }
  .hero-content-pic {
    width: 250px;
    height: 250px;
  }
  .hero-content-pic img {
    height: 250px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .about-journey h3,
  .about-skills h3 {
    font-size: 1.5rem;
  }
  .about-journey p {
    font-size: 1rem;
  }
  .skills-list span {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .project-card,
  .section-myservices > div {
    width: 100%;
    max-width: 350px;
  }
}
@media (max-width: 480px) {
  .hero-content-btn a {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 25px 20px;
  }
  .form-input,
  .form-textarea,
  .btn {
    font-size: 0.9rem;
  }
}
@media (max-width: 1200px) {
  .container {
    width: 94%;
  }
  .logo img {
    width: 110px;
  }

  .hamburger {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #000;
    padding-top: 40px;
    transition: right 0.4s ease;
    z-index: 999;
  }
  #menu-toggle:checked ~ .main-nav {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }
  .nav-links li a {
    font-size: 18px;
  }
  .btn-outline,
  .btn-red {
    width: 80%;
    text-align: center;
    justify-content: center;
  }
  .nav-links li a {
    font-size: 16px;
    padding: 10px 8px;
    display: block;
    width: 100%;
    border-radius: 6px;
  }
}
