:root {
  --bg-color: #0e0e0e;
  --text-color: #ffffff;
  --accent-color: #00c9a7;
  --card-bg: #1f1f1f;
  --shadow: rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Container */
.query {
  background-color: #00c9a7;
  border-radius: 50px;
  padding: 3rem 2rem 5rem;
  margin: 1rem auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Heading */
.query h2 {
  color: #000;
  font-size: 2.8rem;
  font-family: 'Excon', sans-serif;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact Wrapper inside query */
.contact {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Form styles */
form {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form textarea,
form input[type="submit"] {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
  background-color: #1b1b1b;
  color: #eee;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #00ffd1;
  outline: none;
}

form input[type="submit"] {
  background: linear-gradient(135deg, #00ffd1, #00c2ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 209, 0.3);
}

/* About/Contact details */
.about {
  flex: 1;
  color: #fff;
}

.about h4 {
  margin-bottom: 0.8rem;
  color: #00ffd1;
  font-weight: 700;
}

.about p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about a {
  color: #00ffd1;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.about a:hover {
  color: #00c2ff;
}

/* Icons in contact info */
.about p i {
  margin-right: 10px;
  color: #00ffd1;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    flex-direction: column;
  }

  form,
  .about {
    width: 100%;
  }
}


/* Navbar */
nav.navbar {
  background: #121212;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav.navbar a {
  color: #ccc;
  font-weight: bold;
}

/* Hero Section */
header.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background:
    linear-gradient(to right, rgba(18, 18, 18, 0.9), rgba(30, 30, 30, 0.9)),
    url('pict.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

.hero-text {
  flex: 1 1 300px;
  margin-left: 10.5%;
}

.hero-text h1 {
  font-size: 5rem;
}

.hero-text h1 span {
  color: var(--accent-color);
  font-family: 'Excon', sans-serif !important;
  font-weight: bolder;
}

.hero-text p {
  font-size: 1.2rem;
}

.buttons {
  padding-top: 2rem;
}

.buttons a {
  margin-right: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--accent-color);
  color: #000;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.buttons a:hover {
  background-color: #00a38f;
}

#blogs {
  background-color: transparent;
  border: 1.5px solid #00ffd1;
  color: #00ffd1;
}

/* Hero Image */
.hero-image img {
  width: 100%;
  height: 654px;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--shadow);
}

/* About Section */
section.about,
section.resume,
section.resumep2 {
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.about-text,
.about-photo {
  flex: 1 1 300px;
}

.about-photo img {
  width: 100%;
  border-radius: 10px;
}

.about-text a {
  color: blue;
}

.about-text a:hover {
  color: green;
  text-decoration: underline;
}

/* Project Section */
.project,
.project1,
.project2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 200px;
  margin-bottom: 40px;
  padding: 0 16px;
}

.project div,
.project1 div,
.project2 div {
  flex: 1 1 300px;
  max-width: 400px;
}

.project img,
.project1 img,
.project2 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 8px rgba(21, 187, 187, 0.437);
  transition: transform 0.5s ease;
}

.project img:hover,
.project1 img:hover,
.project2 img:hover {
  transform: scale(2.00);
}

.prohead h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-color);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 40px;
}

/* Progress Bars */
.skills,
.language,
.experience,
.extras {
  flex: 1 1 200px;
}

h2 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 1rem;
}

progress {
  width: 100%;
  height: 8px;
  appearance: none;
}

progress::-webkit-progress-bar {
  background-color: #333;
  border-radius: 5px;
}

progress::-webkit-progress-value {
  background-color: var(--accent-color);
  border-radius: 5px;
}
