* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
}

:root {
  --primary-color: transparent;
  --secondary-color: #1abc86;
  --accent-color: #f39c12;
  --text-light: #fff;
  --dark-bg: #222d32;
}

hr {
  border: 0.8px solid #424242;
  width: 82.5%;
  /* margin: auto; */
  justify-content: center;
  margin-left: 7.5%;
  margin-bottom: 3%;
}

body {
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(44, 62, 80, 0.9);
  padding: 20px 50px;
  z-index: 1000;
  transition: all 0.3s ease;
}

#button_container {
  padding: 10px 20px;
  align-content: end;
}

#project_container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 3rem;
}

#skills_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem;
}

#roles_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem;
}

#lang_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding-top: 0%;
  padding-bottom: 0%;
  padding-left: 1%;
  padding-right: 1%;
}

@media screen and (max-width: 960px) {
  #project_container {
    /* display: block; */
    grid-template-columns: repeat(2, 1fr);
  }

  #skills_container {
    grid-template-columns: repeat(1, 1fr);
  }

  .tile {
    margin-bottom: 2rem;
  }

  hr {
    border: 0.8px solid #424242;
    width: 82.5%;
    /* margin: auto; */
    justify-content: center;
    margin-left: 7.5%;
    margin-bottom: 15%;
  }
}

header.scrolled {
  padding: 15px 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  vertical-align: bottom;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  vertical-align: bottom;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: var(--secondary-color);
}

#education {
  color: #000;
}

#experience {
  color: #000;
  padding: 80px 20px;
  background-color: var(--primary-color);
}

#coffee {
  color: #000;
  padding: 80px 20px;
  background-color: var(--primary-color);
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(rgba(44, 62, 80, 0.4), rgba(34, 45, 50, 0.7)),
    url("/static/images/hero/background2.jpg") no-repeat center/cover;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 0%;
  padding-bottom: 0%;
  color: var(--text-light);
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  margin-top: 0%;
  padding-top: 0%;
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #bdc3c7;
}

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

/* About Section */
#about {
  padding: 0 20px;
  background-color: var(--dark-bg);
}

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

#nda {
  padding: 80px 5%;
}

#fun {
  padding: 80px 5%;
}

/* .container {
  padding: 0 3% 0 3%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;

} */

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.img-circle {
  margin: auto;
  border-radius: 50%;
}

/* Skills Section */

/* .skills-container {
  max-width: 1200px;
  margin: 0 auto;
} */

.skill-category h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.skill-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.skill-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 188, 156, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.skill-icon i {
  font-size: 24px;
  color: var(--secondary-color);
}

#space {
  padding: 3rem 20px;
  background-color: var(--dark-bg);
}

#roles {
  color: #000;
  padding: 80px 20px;
  background-color: var(--primary-color);
}

/* Projects Section */
#projects {
  color: #000;
  padding: 80px 20px;
  background-color: var(--primary-color);
}

#mlprojects {
  color: #000;
  padding: 80px 20px;
  background-color: var(--primary-color);
}

#skills {
  color: #000;
  padding: 5% 5%;
  background-color: var(--primary-color);
}

#latest {
  color: #000;
  padding: 5% 5%;
  background-color: var(--primary-color);
}

#mlproj {
  color: #000;
  padding: 5% 5%;
  background-color: var(--primary-color);
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background-color: var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
  height: 250px;
  overflow: hidden;
}

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

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

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.no_bullet {
  list-style-type: none;
}

.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-circle {
  margin: auto;
  border-radius: 50%;
}

.list-inline {
  padding-left: 0;
  margin-left: -5px;
  list-style: none;
}

.list-inline > li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.btn-circle {
  font-size: 26px;
  width: 55px;
  height: 55px;
  margin-top: 15px;
  line-height: 45px;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  color: white;
  border: 2px solid white;
  border-radius: 100% !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
#contact {
  padding: 80px 20px;
  background-color: var(--primary-color);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: rgba(26, 188, 156, 0.03);
  color: var(--text-light);
  border: none;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.social-links i {
  color: var(--text-light);
  font-size: 1.9rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-links i:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .about-text,
  .about-image {
    flex: 100%;
    margin-bottom: 40px;
  }

  .nav-links {
    display: none;
    color: #fff;
    /* For mobile navigation */
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.tile_desc {
  font-size: 1rem;
  text-align: left;
  justify-content: center;
}

.tile_title {
  font-size: 1.3rem;
  text-align: center;
  justify-content: center;
  padding-top: 1%;
  padding-bottom: 1%;
  font-weight: 300;
}

.logo_width {
  height: max-content;
  width: 70%;
  padding-bottom: 3%;
  float: left;
}

.vl {
  border-left: thick solid #000;
  padding-left: 3%;
  padding-right: 3%;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
  color: #fff;
}

.switch.android {
  border-radius: 0px;
}

.switch.android .switch-handle {
  border-radius: 0px;
}

.slow .switch-group {
  transition: left 0.7s;
  -webkit-transition: left 0.7s;
}

.fast .switch-group {
  transition: left 0.1s;
  -webkit-transition: left 0.1s;
}

.quick .switch-group {
  transition: none;
  -webkit-transition: none;
}
