/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
  --color-black: #000000;
  --color-dark: #111111;
  --color-white: #ffffff;
  --color-grey: #ababab;
  --color-grey-light: #cccccc;
  --color-grey-lighter: #d5d5d5;

  --background-primary: var(--color-black);
  --background-secondary: var(--color-dark);

  --text-primary: var(--color-white);
  --text-secondary: var(--color-grey-light);
  --text-muted: var(--color-grey-lighter);

  --accent-color: var(--color-white);

  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.2);

  --gradient-primary: linear-gradient(
    135deg,
    var(--color-black) 0%,
    #333333 100%
  );

  --section-padding: 7.5rem;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--background-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.section-padding {
  padding: var(--section-padding) 0;
}

/*--------------------------------------------------------------
# Glass Card
--------------------------------------------------------------*/
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glass);
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  position: relative;
  margin: 30px 0;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--text-primary);
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn-glow {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 15px 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border-radius: 0;
}
.btn-glow.dark {
  background: var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-black);
}
.btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  transition: left 0.4s ease;
  z-index: -1;
}
.btn-glow:hover {
  color: var(--color-black);
}
.btn-glow:hover::before {
  left: 0;
}
.btn-glow.dark:hover {
  box-shadow: 0 2px 30px rgba(255, 255, 255, 0.1);
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.navbar {
  background: transparent !important;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-primary) !important;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-size: 0.8rem;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: 0 !important;
  filter: invert(100%);
  box-shadow: none !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-primary);
}
.hero .hero-content h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--accent-color) 50%,
    var(--color-white) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.hero .hero-content .hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero .hero-box {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  position: relative;
  margin: 0 auto;
  background: var(--background-secondary);
  border: 3px solid var(--color-white);
  box-shadow: 12px 12px 0 var(--color-white);
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero .hero-box:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 16px 16px 0 var(--color-white);
}
.hero .hero-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-box {
  width: 100%;
  height: 400px;
  background: linear-gradient(
    135deg,
    var(--glass-bg),
    rgba(255, 255, 255, 0.1)
  );
  border: 1px solid var(--glass-border);
  border-radius: 0;
  backdrop-filter: blur(20px);
}

.about-box .fas {
  font-size: 3rem;
  color: var(--text-secondary);
  transition: 0.5s;
}

.about-box .fas:hover {
  transform: translateY(-10px) scale(1.3);
  transition: 0.5s;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills-section {
  background: var(--background-secondary);
}

.skill-item {
  margin-bottom: 2rem;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(
    90deg,
    var(--color-white) 0%,
    var(--accent-color) 100%
  );
  transition: width 2s ease-in-out;
  border-radius: 0;
}

/*--------------------------------------------------------------
# My Work
--------------------------------------------------------------*/
.my-work-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 300px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.my-work-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #333333, var(--background-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-secondary);
  transition: all 0.4s ease;
}

.my-work-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    var(--color-black) 100%
  );
  opacity: 0;
  transition: all 0.4s ease;
}

.my-work-item:hover .my-work-overlay {
  opacity: 1;
}

.my-work-item:hover .my-work-image {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# My Work Content
--------------------------------------------------------------*/
.my-work-content {
  text-align: center;
  padding: 2rem;
}

.my-work-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
.stats-section {
  background: var(--background-secondary);
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing-section .plan {
  font-size: 1rem;
  color: var(--text-primary);
}

.pricing-section .price {
  font-size: 3rem;
  color: var(--text-primary);
}

.pricing-section .price span {
  font-size: 2rem;
  color: var(--color-grey);
}

.pricing-section .features-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-section .features-divider::before,
.pricing-section .features-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 1rem;
}

/*--------------------------------------------------------------
# Reviews
--------------------------------------------------------------*/
.reviews-section {
  background: var(--background-secondary);
}

.reviews-section .swiper-container {
  width: 100%;
  height: 100%;
}

.reviews-section .slider-content {
  width: 50%;
}

.reviews-section img {
  display: block;
  margin: 1rem auto;
  width: 70px;
  height: 70px;
  border: 1px solid var(--color-white);
  border-radius: 50px;
}

.reviews-section .swiper-container q {
  font-style: italic;
  color: var(--text-primary);
}

.reviews-section .author {
  font-size: 1rem;
  color: var(--text-secondary);
}

.reviews-section .swiper-pagination {
  bottom: -50px !important;
}

.reviews-section .swiper-pagination-bullet {
  border-radius: 0;
  height: 3px;
  width: 20px;
  background: var(--color-white);
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.faq-header:hover {
  background: var(--glass-bg);
}

.faq-title {
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}
.faq-content.show {
  max-height: 200px;
  padding: 1.5rem;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background: var(--background-secondary);
}

.contact-form {
  border-radius: 0;
  padding: 3rem;
  color: var(--text-primary);
}

.contact-row .glass-card {
  background: none !important;
  border: 1px solid #fff;
}

.form-control {
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4117647059);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 0;
  margin-bottom: 1rem;
  transition: 1s;
}
.form-control:focus {
  color: var(--text-primary);
  box-shadow: none;
  border-color: var(--color-white);
  outline: none;
}
.form-control::placeholder {
  color: var(--text-secondary);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--glass-border);
}
.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.social-icons a {
  display: inline-block;
  color: var(--text-primary);
  margin: 0 10px;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: 28px;
}
.social-icons a:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-3px);
}

@keyframes progressLoad {
  from {
    width: 0;
  }
}
.progress-bar.animate {
  animation: progressLoad 2s ease-in-out;
}

/*--------------------------------------------------------------
# Responsive Helpers
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  .section-padding {
    padding: 6rem 0;
  }
}
@media (max-width: 992px) {
  .section-padding,
  .hero {
    padding: 4.5rem 1rem;
  }
  .about-box .fas {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .portfolio-item {
    min-height: 250px;
  }
  .reviews-section .slider-content {
    width: 100%;
  }
  .contact-form {
    padding: 0;
  }
}
@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}
@media (min-width: 992px) {
  .section-title.start::after {
    bottom: -10px;
    left: 0;
    transform: translateX(0);
  }
}
