/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  color: #272829;
  overflow-x: hidden;
}

a {
  color: #0563bb;
  text-decoration: none;
}

a:hover {
  color: #067ded;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: rgba(30, 40, 50, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: all 0.3s;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}


.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #7ee8cc;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #7ee8cc;
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 9998;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s;
}

.mobile-nav-toggle:hover {
  color: #7ee8cc;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(30, 40, 50, 0.98);
    width: 100%;
    padding: 30px;
    gap: 20px;
    transition: left 0.3s;
    align-items: center;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a::after {
    display: none;
  }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(30, 40, 50, 0.7), rgba(30, 40, 50, 0.7)),
              url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
  color: #fff;
  animation: fadeInLeft 1s ease;
}

.hero-name {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #7ee8cc;
  line-height: 1.2;
}

.hero-title {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 30px 0;
  color: #fff;
}

.hero-title .typed {
  color: #fff;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #7ee8cc;
  border-color: #7ee8cc;
  color: #1e2832;
  transform: translateY(-5px);
}


/* Hero Image Section */
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease;
}

.image-frame {
  position: relative;
  z-index: 2;
  border: 4px solid #7ee8cc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  background: #7ee8cc;
  opacity: 0.6;
  z-index: 1;
  border-radius: 50%;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: 100px;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: float 8s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .hero-name {
    font-size: 42px;
  }

  .hero-title {
    font-size: 22px;
  }

  .social-links {
    justify-content: center;
  }

  .image-frame {
    max-width: 300px;
  }

  .shape-1 {
    width: 150px;
    height: 150px;
  }

  .shape-2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  #hero {
    padding: 80px 0 40px;
  }

  .hero-name {
    font-size: 32px;
  }

  .hero-title {
    font-size: 18px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .image-frame {
    max-width: 250px;
  }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #45505b;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #0563bb;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 0;
  background: #f8f9fa;
}

.about-container {
  display: flex;
  max-width: 100%;
  margin: 0;
}

.about-image {
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 600px;
}

.about-content {
  flex: 0 0 55%;
  max-width: 55%;
  background: #4a5c6a;
  color: #fff;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #7ee8cc;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

.about-career {
  margin-top: 40px;
}

.about-career h3 {
  font-size: 28px;
  font-weight: 600;
  color: #7ee8cc;
  margin-bottom: 15px;
}

.about-quote {
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-image,
  .about-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-image img {
    min-height: 400px;
  }

  .about-content {
    padding: 60px 40px;
  }

  .about-title {
    font-size: 32px;
  }

  .about-career h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .about-content {
    padding: 40px 25px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-career h3 {
    font-size: 22px;
  }

  .about-image img {
    min-height: 350px;
  }
}


/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #45505b;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #0563bb;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  color: #0563bb;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #f7f8f9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #0563bb;
}

.resume .resume-item p {
  text-align: left;
}

.resume-download-btn {
  text-align: center;
  margin-bottom: 40px;
}

.btn-download {
  display: inline-block;
  padding: 12px 30px;
  background: #0563bb;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-download:hover {
  background: #0678e3;
  color: #fff;
}


/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio {
  padding: 80px 0;
  background: #4a5c6a;
}

.portfolio .container {
  max-width: 1200px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.portfolio-description {
  font-size: 16px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #e8f5f1;
  color: #2c3e50;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.project-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
  color: #888;
}

.project-role {
  font-weight: 600;
  color: #4a5c6a;
}

.project-date {
  color: #999;
  font-size: 12px;
}

.project-links {
  margin-top: 15px;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #4a5c6a;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.project-links a:hover {
  background: #7ee8cc;
  color: #2c3e50;
  transform: translateY(-2px);
}

.project-links a i {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-title {
    font-size: 28px;
  }

  .portfolio-description {
    font-size: 14px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .card-content {
    padding: 20px;
  }

  .project-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .portfolio {
    padding: 60px 0;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0563bb;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 20px;
  color: #fff;
}

.back-to-top:hover {
  background: #067ded;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 991px) {
  .col-lg-6,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.pb-0 {
  padding-bottom: 0 !important;
}
