/* Color Variables */
:root {
  --accent-color: #e87532;
  --heading-color: #0f2943;
  --text-color: #0a0f14;
  --bg-light: #faf9fb;
  --surface-color: #ffffff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Questrial', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
}

section {
  padding: 80px 0;
}

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

/* Header */
.header {
  background: var(--surface-color);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 10px 0;
  z-index: 1000;
}

.header .navbar-brand h1 {
  font-size: 24px;
  margin: 0;
  color: var(--heading-color);
}

.header .nav-link {
  color: var(--text-color);
  padding: 10px 15px;
  font-weight: 400;
  transition: color 0.3s;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #d66529;
  border-color: #d66529;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.hero-image {
  position: relative;
  padding: 20px;
}

.hero-image .shape-1,
.hero-image .shape-2 {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  animation: morphShape 15s linear infinite;
}

.hero-image .shape-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(232, 117, 50, 0.15);
  top: -20px;
  right: -20px;
}

.hero-image .shape-2 {
  width: 200px;
  height: 200px;
  background-color: rgba(15, 41, 67, 0.1);
  bottom: -20px;
  left: -20px;
  animation-direction: reverse;
  animation-duration: 20s;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--heading-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-shape {
  width: 200px;
  height: 20px;
  margin: 0 auto 20px;
  color: var(--accent-color);
  opacity: 0.5;
}

.title-shape svg {
  width: 100%;
  height: 100%;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about .subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.personal-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin-top: 30px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-item .label {
  font-size: 0.875rem;
  color: #999;
}

.info-item .value {
  font-weight: 600;
  color: var(--heading-color);
}

/* Skills Section */
.skill-box {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.skill-box:hover {
  transform: translateY(-5px);
}

.skill-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.skill-box p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.skill-box .progress {
  height: 8px;
  background-color: rgba(232, 117, 50, 0.15);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 10px;
}

.skill-box .progress-bar {
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 50px;
  transition: width 1s ease-in-out;
}

/* Resume Section */
.resume-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.resume-item {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
  margin-bottom: 25px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.resume-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.resume-item h5 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.resume-item p {
  margin: 0;
}

.resume-item em {
  color: #666;
  font-style: normal;
  font-weight: 500;
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  border: none;
  background: #f5f5f5;
  color: var(--text-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.portfolio-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

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

.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-info {
  padding: 25px;
}

.portfolio-info .category {
  color: var(--accent-color);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  color: #666;
  margin-bottom: 15px;
}

.details-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.details-link:hover {
  color: #d66529;
}

/* Services Section */
.service-box {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 35px rgba(0,0,0,0.1);
}

.service-box i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-box p {
  color: #666;
  margin-bottom: 20px;
}

.service-box a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.service-box a:hover {
  color: #d66529;
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.contact-info .info-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 5px;
}

.contact-info .info-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info .info-item p {
  margin: 0;
  color: #666;
}

.contact-form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 20px;
  transition: all 0.3s;
}

.contact-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(232, 117, 50, 0.1);
}

/* Footer */
.footer {
  background: var(--surface-color);
  padding: 40px 0;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
}

.footer .social-links {
  display: flex;
  gap: 10px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  color: var(--text-color);
  transition: all 0.3s;
}

.footer .social-links a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--accent-color);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
  z-index: 999;
}

.scroll-top:hover {
  background: #d66529;
  color: white;
  transform: translateY(-5px);
}

.scroll-top.active {
  display: flex;
}

/* Responsive */
@media (max-width: 991px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form {
    padding: 25px;
  }
}