@font-face {
  font-family: 'Raleway';
  src: url('assets/fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary: #1e88e5;
  --accent: #82b2ff;
  --bg-light: #ffffff;
  --bg-alt: #f8fbff;
  --text-dark: #1a1d23;
  --text-light: #5f6775;
  --white: #ffffff;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hero {
  padding: 180px 20px 100px;
  text-align: center;
  background: radial-gradient(circle at 10% 20%, rgba(240, 247, 255, 1) 0%, rgba(255, 255, 255, 1) 90%);
}

.hero-label {
  font-weight: 700;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-light);
}

.btn-main {
  background: var(--text-dark);
  color: white;
  border: none;
  padding: 16px 35px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

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

.btn-outline {
  text-decoration: none;
  color: var(--text-dark);
  padding: 16px 35px;
  font-weight: 700;
  margin-left: 15px;
}

.section {
  padding: 100px 20px;
}

.alt-bg {
  background: var(--bg-alt);
}

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

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
}

.section-text {
  max-width: 800px;
  font-size: 19px;
  margin: 0 auto;
  text-align: center;
}

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

.project-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.project-card.highlight {
  background: var(--text-dark);
  color: white;
}

.project-card.highlight .project-type {
  color: var(--accent);
}

.project-card.highlight h3 {
  color: white;
}

.project-card.highlight .project-stack span {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.project-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.project-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.project-card.highlight p {
  color: #aeb5c0;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-stack span {
  background: #f0f4f8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.project-achievement {
  margin-top: 20px;
  font-weight: 700;
  color: #ffd700;
  font-size: 13px;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.skill-item i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 20px;
}

.skill-item h4 {
  font-weight: 800;
  margin-bottom: 10px;
}

footer {
  background: #000;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

footer h2 span {
  color: var(--primary);
}

.contact-details {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-details a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.social-icons {
  margin-bottom: 40px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  margin: 0 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
}

.copyright {
  font-size: 12px;
  color: #555;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

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

  .btn-outline {
    display: block;
    margin: 20px 0 0;
  }
}


/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: 0.25s ease;
  background: white;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.project-type {
  font-size: 11px;
  color: var(--primary);
  font-weight: bold;
}

.project-stack span {
  display: inline-block;
  font-size: 11px;
  background: #f0f4f8;
  padding: 4px 8px;
  margin: 3px;
  border-radius: 6px;
}

/* FOOTER */
footer {
  text-align: center;
  background: #0f172a;
  color: white;
  padding: 70px 20px;
}

.social-icons a {
  color: #82b2ff;
  margin: 0 10px;
}