/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary: #6f42c1;
  --primary-light: #8a63d2;
  --secondary: #d63384;
  --dark: #212529;
  --light: #f8f9fa;
  --gray: #6c757d;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo h1 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  color: var(--dark);
}
/* Fixed Header Solution */
.header.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 70px;
}

/* Mobile menu toggle fix */
.mobile-nav-toggle {
  z-index: 9999;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  margin: 0;
  padding: 0;
}

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navmenu li {
  position: relative;
}

.navmenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  transition: 0.3s;
}

.navmenu a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navmenu a:hover, .navmenu .active, .navmenu li:hover > a {
  color: var(--primary);
}
/* Mobile Navigation */
.navmenu-mobile {
  display: block !important;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 9998;
  padding: 60px 30px;
  overflow-y: auto;
}

.navmenu-mobile ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.navmenu-mobile > ul > li {
  padding: 10px 0;
}

.mobile-nav-toggle.bi-x {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9999;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    /* Blue tint overlay (adjust opacity as needed) */
    linear-gradient(135deg, rgba(33, 150, 243, 0.4) 0%, rgba(13, 71, 161, 0.3) 100%),
    /* Your image */
    url('../img/hero-bg.jpg') no-repeat center center/cover;
  /* Brightness control */
  filter: brightness(1.05);
  /* Text protection */
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  /* Dark gradient for text area only */
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Text styling */
#hero h1 {
  color: white !important;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}

#hero h2 {
  color: #e0e0e0;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

#hero .btn-get-started {
  background: #2196F3;
  color: white !important;
  border: 2px solid white;
  padding: 12px 30px;
  font-size: 1.1rem;
}
/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--light);
}

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  position: relative;
}

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

.section-title p {
  margin-bottom: 0;
  color: var(--gray);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 1.8rem;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 15px 25px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--primary);
}
.about .cloud-infrastructure-img {
  background: url('../img/portfolio/cloud-infrastructure.jpg') center/cover;
  border-radius: 8px;
  height: 300px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
  margin-bottom: 20px;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  color: var(--dark);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
  color: var(--primary);
}

.skills .progress-bar-wrap {
  background: #f0f0f0;
  height: 10px;
  border-radius: 5px;
  margin-top: 5px;
}

.skills .progress-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--primary);
  transition: width 1s ease-in-out;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../img/resume-bg.jpg') center center;
  background-size: cover;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.btn-download {
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-download:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.btn-download i {
  margin-right: 8px;
}

.resume-section {
  padding: 60px 0;
}

.section-heading {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.section-heading i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.resume-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.project-item {
  border-left: 3px solid var(--primary);
  transition: all 0.3s;
}

.project-item:hover {
  transform: translateX(10px);
}

.resume-item h3 {
  font-size: 1.3rem;
  color: var(--dark);
}

.resume-item h4 {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
  margin: 5px 0 10px 0;
}

.date {
  display: inline-block;
  background: #f1f1f1;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

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

.resume-item li {
  margin-bottom: 8px;
}

.tech-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  background: #f1f1f1;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--dark);
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
.projects .projects-item {
  margin-bottom: 30px;
}
/*----- Project Items -----*/
.project-item {
  border-left: 3px solid var(--primary);
  transition: all 0.3s;
}

.project-item:hover {
  transform: translateX(10px);
}
/* Project card styling */
.project-item.cloud-infrastructure {
  background: url('../img/portfolio/cloud-infrastructure') center/cover;
}

/* Filter for consistency */
.project-item img {
  filter: brightness(0.98) contrast(1.05);
}
.tech-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  background: #f1f1f1;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--dark);
}
.projects #projects-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.projects .projects-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
}

.projects .projects-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.projects .projects-wrap .projects-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.projects .projects-wrap .projects-info h4 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 5px;
}

.projects .projects-wrap .projects-info p {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.projects .projects-wrap .projects-links {
  text-align: center;
  z-index: 4;
}

.projects .projects-wrap .projects-links a {
  color: #fff;
  margin: 0 5px;
  font-size: 1.5rem;
  display: inline-block;
  transition: 0.3s;
}

.projects .projects-wrap:hover::before {
  opacity: 1;
}

.projects .projects-wrap:hover .projects-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--dark);
  padding: 30px 0;
  color: #fff;
  font-size: 0.9rem;
}

.footer .copyright {
  text-align: center;
  margin-bottom: 10px;
}

.footer .credits {
  text-align: center;
  font-size: 0.8rem;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .skills-grid {
    margin-bottom: 30px;
  }
  
  .resume-item {
    padding: 20px;
  }
  
  .section-heading {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .resume-hero {
    padding: 80px 0;
  }
  
  .btn-download {
    padding: 10px 25px;
  }
}