
/* style.css */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2d87f0;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --accent-color: #17a2b8;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --white: #ffffff;
  --black: #000000;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-text {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1a6fd8;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.btn-outline:hover {
  background-color: var(--dark-color);
  color: var(--white);
}

.blue {
  background-color: var(--primary-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.navbar-list {
  display: flex;
  align-items: center;
}

.navbar-link {
  padding: 10px 15px;
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
}

.navbar-link:hover {
  color: var(--primary-color);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-link:hover::after {
  width: calc(100% - 30px);
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.hero-title strong {
  color: var(--dark-color);
  display: block;
  font-size: 2.5rem;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.btn-group {
  display: flex;
  gap: 15px;
}

.hero-banner {
  flex: 1;
  text-align: center;
}

.hero-banner img {
  max-width: 400px;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
}

/* About Section */
.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-banner {
  flex: 1;
}

.about-banner img {
  border-radius: 20px;
  box-shadow: var(--box-shadow);
}

.about-content {
  flex: 1;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--light-gray);
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--white);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.card-content {
  padding: 20px;
  background: var(--white);
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  gap: 5px;
}

.btn-link:hover {
  gap: 10px;
}

/* Skills Section */
.skills-list {
  margin-top: 40px;
}

.skills-item {
  margin-bottom: 25px;
}

.skills-item .wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skills-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.skills-data {
  font-weight: 600;
  color: var(--primary-color);
}

.skills-progress-box {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.skills-progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.contact-simple {
  margin-bottom: 30px;
}

.contact-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item-link {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 30px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--light-gray);
}

.copyright-link {
  color: var(--primary-color);
}

.footer-list {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--light-gray);
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

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

.back-to-top:hover {
  background-color: #1a6fd8;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container,
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .about-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .btn-group {
    justify-content: center;
  }

  .contact-list {
    flex-direction: column;
    gap: 20px;
  }
}

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

  .navbar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-list {
    flex-direction: column;
    gap: 15px;
  }

  .navbar-link {
    display: block;
    padding: 10px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-title strong {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-title strong {
    font-size: 1.8rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .portfolio-list {
    grid-template-columns: 1fr;
  }
}
      
  