:root {
  --section-1-bg: #111111;
  --section-2-bg: rgb(30, 30, 30);
  --section-3-bg: #111111;
  --section-4-bg: #111111;
  --footer-bg: #111111;
  --color-1: #00e5ff;
  --color-1-hover: #00c1d7;
}
@media (min-width: 768px) {
  .news-input {
    width: 50% !important ;
  }
}
@media (max-width: 525px) {
  .contacts-title {
    font-size: 35px !important;
  }
  .contact-container p {
    font-size: 15px !important;
  }
  .home-title {
    font-size: 40px !important;
  }
  .intro-text {
    font-size: 15px !important;
  }
}
@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #00e5ff;
  }
}
body {
  font-family: "Poppins", sans-serif !important;
}

.navbar {
  margin: 10px;
  background: rgba(255, 255, 255, 0.15); /* dark, semi‑transparent */
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
}
.navbar .nav-link {
  color: #ffffff !important;
  transition: color 0.05s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* use your section‑bg as text color */
}
.navbar .nav-link:hover {
  color: #ffc107; /* Gold on hover */
  text-shadow: 0 0 5px rgba(255, 193, 7, 0.6);
}
.nav-link.active {
  color: #00ffcc !important;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}
.home-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800 !important;
  font-family: "Orbitron", sans-serif;
}
.noborder {
  border: none !important;
  outline: none !important;
}

.nofocus:focus {
  box-shadow: none !important;
}

#map {
  width: 400px;
  height: 300px;
  margin: 20px auto;
  border-radius: 8px;
  border: 2px solid #343a40; /* Matches navbar-dark theme */
}

.home-container {
  z-index: 1;
}

.section-1 {
  background: var(--section-1-bg);
  background-image: url("background2.png");
  background-size: cover; /* Ensures it fills the whole screen */
  background-position: center; /* Keeps it centered */
  background-repeat: no-repeat; /* Prevents tiling */
}
#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.dynamic-text {
  color: #00e5ff !important;
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
  border-right: 2px solid #00e5ff; /* typing cursor effect */
  animation: blink 0.7s infinite;
  font-family: "Fira Code", monospace;
}
.main-btn {
  background-color: #00e5ff !important;
  color: #111111 !important;
}

.section-2 {
  background: var(--section-2-bg);
  background-size: cover; /* Ensures it fills the whole screen */
  background-position: center; /* Keeps it centered */
  background-repeat: no-repeat; /* Prevents tiling */
}
.mid-image {
  height: 500px !important;
  transform: scaleX(-1);
}
.section-3 {
  background: var(--section-3-bg);
  background-size: cover; /* Ensures it fills the whole screen */
  background-position: center; /* Keeps it centered */
  background-repeat: no-repeat; /* Prevents tiling */
}
.section-4 {
  background: var(--section-4-bg);
  background-size: cover; /* Ensures it fills the whole screen */
  background-position: center; /* Keeps it centered */
  background-repeat: no-repeat; /* Prevents tiling */
}
footer {
  background: var(--footer-bg);
  vertical-align: center;
  color: #bfbfbf !important;
}
.section-2 .card {
  background: #f8f9fa; /* off‑white */
  color: #1b263b; /* dark navy for text */
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.big-title {
  font-size: 3rem; /* or 5rem if you want extra bold look */
  font-weight: 700;
  line-height: 1.1;
}
.tailwindcss-icon {
  color: #1b263b;
}
.logo-img {
  width: 45px;
  height: 45px;
}
.projects-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.2) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
}

.project-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  justify-content: center;
}

.project-tools span {
  border: 1px solid #fff;
  padding: 2px 6px;
  font-size: 0.65rem;
  border-radius: 5px;
  opacity: 0.85;
}

/*  */

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.478);
  padding: 40px;
  background-color: #2a2a2a8b;
}

.header-section h1 {
  font-size: 3.5rem;
  color: var(--color-1) !important;
  margin-bottom: 10px;
}

.header-section .lead {
  font-size: 1.5rem;
  color: #b0b0b0 !important;
}

.contact-item i {
  color: var(--color-1);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: rotate(360deg);
}

.contact-item a {
  color: #e0e0e0 !important;
  font-size: 1.2rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-1-hover) !important;
}

.divider {
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-1),
    transparent
  ) !important;
  border-radius: 15px;
  margin: 30px 0;
}

.resume-button {
  background-color: var(--color-1) !important;
  color: white !important;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 1.1rem;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.resume-button:hover {
  background-color: var(--color-1-hover) !important;
}

.last-updated {
  font-size: 1rem;
  color: #999 !important;
}

h2 {
  font-size: 2rem;
  color: #ffffff !important;
  margin-bottom: 20px;
}
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* SKILLS SECTION */
:root {
  --dark: #0f0f0f;
  --cyan-400: #22d3ee;
  --pink-500: #ec4899;
  --orange-500: #ff6a00;
  --blue-500: #0099ff;
  --yellow-400: #ffff00;
  --sky-500: #61d9fb;
  --purple-500: #9333ea;
  --orange-600: #ff6a00;
  --white: #ffffff;
  --pink-400: #ff0080;
  --blue-400: #00aaff;
}

body {
  background-color: var(--dark);
  color: white;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

/* Section Padding */
#skills {
  padding: 5rem 0;
}

/* Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Column Title */
.col-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-left: 0.75rem;
  border-left: 4px solid;
}

.front-end .col-title {
  border-color: var(--cyan-400);
}

.tools .col-title {
  border-color: var(--pink-500);
}

/* Skill Card */
.skill-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill-card:hover {
  transform: scale(1.05);
  border-color: inherit;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.skill-card img {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 0 transparent);
}

.skill-card p {
  font-size: 0.875rem;
  font-weight: bold;
  margin: 0;
}

/* Hover Glow Effects */
.skill-html:hover {
  border-color: var(--orange-500);
}
.skill-html:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.7));
}

.skill-css:hover {
  border-color: var(--blue-500);
}
.skill-css:hover img {
  filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.7));
}

.skill-js:hover {
  border-color: var(--yellow-400);
}
.skill-js:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.7));
}

.skill-react:hover {
  border-color: var(--sky-500);
}
.skill-react:hover img {
  filter: drop-shadow(0 0 10px rgba(97, 218, 251, 0.8));
}

.skill-bootstrap:hover {
  border-color: var(--purple-500);
}
.skill-bootstrap:hover img {
  filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.7));
}

.skill-tailwind:hover {
  border-color: var(--cyan-400);
}
.skill-tailwind:hover img {
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.7));
}

.skill-git:hover {
  border-color: var(--orange-600);
}
.skill-git:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.7));
}

.skill-github:hover {
  border-color: var(--white);
}
.skill-github:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

.skill-vscode:hover {
  border-color: var(--blue-400);
}
.skill-vscode:hover img {
  filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.7));
}

.skill-figma:hover {
  border-color: var(--pink-400);
}
.skill-figma:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.7));
}

/* Invert GitHub icon */
.skill-github img {
  filter: invert(1);
}

@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
  .col-title {
    font-size: 1.25rem;
  }
}
/*  */ /* MY PHOTO */
.photo-wrapper {
  display: inline-block;
  padding: 4px; /* slightly thicker border for large size */
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #00c1d7);
}

.photo-glow {
  display: block;
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e5ff, 0 0 5px #00e5ff, 0 0 40px #00c1d7,
    0 0 80px #00c1d7;
}

.section-1 {
  display: flex;
  align-items: center;
  min-height: 100vh; /* full screen hero */
}

/* Title */
.home-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Dynamic text */

.main-btn:hover {
  color: white !important;
  transition: ease 0.5s;
}

/* Image */
.photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-glow {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 15px #00e5ff, 0 0 30px #00e5ff, 0 0 60px #00c1d7;
  transition: transform 0.3s ease;
}

.photo-glow:hover {
  transform: scale(1.05);
  transition: ease 0.5s;
}

.section-1 .d-md-flex {
  align-items: center; /* center vertically */
}

@media (min-width: 992px) {
  .section-1 .text-content {
    transform: translateY(-40px); /* move text up slightly */
  }
}

.intro-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: #c0c0c0;
  letter-spacing: 1px;
  font-weight: 400;
  max-width: 750px;
}
