/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body Styles ===== */
body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
}

/* ===== Container ===== */
.container_1 {
  max-width: 1000px;
  margin: 3rem auto 4rem;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  background-color: #2c2c2c;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ===== Header and Navigation ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
   background-color: #121212;
  color: #f5f5f5;
  z-index: 1000;
  margin-bottom: 0;
  padding: 1rem 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  justify-content: flex-start;
}

nav li {
  display: inline;
}

nav a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #1e90ff;
  outline: none;
}

/* ===== Sections ===== */
section {
  background-color: #1f1f1f;
  margin: 3rem auto;
  padding: 2.5rem 3rem;
  max-width: 1000px;
  height: 100vh;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ====== Languages ======== */

#languages {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRumyhMSbE5XlDd3iMGoAlmaGU3c7KKyCyTaQ&s');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#languages h2 {
  color: #1e90ff
}

.language-graphics {
  list-style: none;
  padding: 0;
}

.language-graphics li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
}

.language-graphics img {
  width: 30px;
  height: auto;
  margin-right: 12px;
}

/* ===== About Section ===== */

#about {
  display: flex;
  gap: 3rem;
  font-weight: 900;
}

.about-image,
.about_container {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

.about_container h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1e90ff;
}

.about_container p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ddd;
}

/* ===== Education Section ===== */
#education {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTyfS5tNfo0W_tj3Qkko81Sc37xWcO-xL4PvA&s');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  padding: 3rem 3rem;
  background-color: #222;
  padding: 2.5rem 3rem;
  border-radius: 12px;
}

#education h2 {
  color: #0056b3;
}

#education-list li {
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

#education-list i {
  color: #0077ff;
  margin-right: 8px;
}

.cv-download {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 16px;
  background-color: #0077ff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cv-download:hover {
  background-color: #005fc1;
}
.cv-download {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background-color: #1e90ff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cv-download:hover,
.cv-download:focus {
  background-color: #0056b3;
  outline: none;
}

/* ===== Interests Section ===== */
#interests {
  padding: 2.5rem 3rem;
  background-color: #181818;
  color: #ddd;
  border-radius: 12px;
  max-width: 1000px;
  margin: 3rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#interests h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
}

#interests p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ccc;
}

/* ===== Projects Section ===== */
#projects {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQt90rln9XIFEnEgqWQJQfwGKf8pC8kheX-2Q&s');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  padding: 2.5rem 3rem;
  background-color: #1f1f1f;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 3rem auto;
}

#projects h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
}

#projects article {
  margin-bottom: 1.8rem;
}

#projects h3 a {
  color: #1e90ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

#projects h3 a:hover,
#projects h3 a:focus {
  color: #63a4ff;
  outline: none;
}

#projects p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}

/* ===== Contact Section ===== */
#contact {
  padding: 2.5rem 3rem;
  background-color: #222;
  border-radius: 12px;
  max-width: 1000px;
  margin: 3rem auto 6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ccc;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  border: none;
  border-radius: 8px;
  background-color: #333;
  color: #eee;
  font-size: 1rem;
  resize: vertical;
  transition: background-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  background-color: #444;
  outline: none;
}

form button {
  padding: 0.85rem 2.2rem;
  background-color: #1e90ff;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover,
form button:focus {
  background-color: #0056b3;
  outline: none;
}

/* ===== Hero Section ===== */
#hero {
  background-image: url('https://images.unsplash.com/photo-1510519138101-570d1dca3d66?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8ZGFyayUyMGRlc2t8ZW58MHx8MHx8fDA%3D');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  margin-top: 0;
  position: relative;
}

#hero article {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10%;
  padding: 0;
}


#hero h4 {
  color: #ccc;
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#hero h2 {
  font-size: 4rem;
}

#hero p {
  font-size: 0.95rem;
}


.social-icons {
  position: absolute;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 1.5rem;
}

.social-icons a {
  color: white;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0077ff;
}

/* ========================================= */

.intro h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.1em;
  color: #1e90ff;
}

.intro h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}

.intro p {
  font-size: 1rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  #about {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .about-image,
  .about_container {
    width: 100%;
  }

  #hero {
    height: 70vh;
    padding: 2rem 1.5rem;
  }

  .intro h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  #hero {
    height: 60vh;
    padding: 1.5rem 1rem;
  }

  .intro h2 {
    font-size: 1.8rem;
  }

  section {
    margin: 2rem 1rem;
    padding: 1.5rem 1.5rem;
  }
}
