:root {
  --primary: #ff6b35;
  --secondary: #f7931e;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --shadow: rgba(0, 0, 0, 0.1);
  --border: #e9ecef;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --shadow: rgba(255, 255, 255, 0.1);
  --border: #404040;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow);
  transition: all 0.3s ease;
}

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

.nav-logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px var(--shadow);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
}

.mobile-nav-menu li {
  margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  color: var(--primary);
  transform: translateX(10px);
}

/* Hover Card Effect */
.hover-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hover-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 1;
}

.hover-card:hover::before {
  left: 100%;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
}

/* Page Hero */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  overflow: hidden;
  margin-top: 80px;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.2s both;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  overflow: hidden;
  padding-top: 90px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.highlight {
  color: var(--primary);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  animation: slideIn 1s ease 0.5s both;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-btn {
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-btn.primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
}

.cta-btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-btn.secondary:hover {
  cursor: pointer;
  pointer-events: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.profile-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px var(--shadow);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.profile-avatar {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #d2bfb800, #f1a27291);
  margin: 0 auto;
  border-radius: 20px;
}

.skills-orbit {
  display: flex;
  justify-content: space-around;
  padding-top: 2rem;
}

.skill-badge {
  background: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 5px 15px var(--shadow);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.float-element {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.float-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.float-2 {
  top: 85%;
  right: 25%;
  animation-delay: 2s;
}

.float-3 {
  bottom: 20%;
  left: 5%;
  animation-delay: 4s;
}

.float-4 {
  top: 20%;
  right: 5%;
  animation-delay: 1s;
}

.float-5 {
  bottom: 40%;
  right: 2%;
  animation-delay: 3s;
}

/* Services Overview */
.services-overview {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid var(--border);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  margin-top: 3rem;
}

/* Recent Work */
.recent-work {
  padding: 5rem 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.work-item {
  background: var(--bg-primary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.work-item a {
  text-decoration: none;
}

.work-image {
  height: 200px;
}

.work-img-1 {
  background: var(--gradient-1);
}
.work-img-2 {
  background: var(--gradient-2);
}
.work-img-3 {
  background: var(--gradient-3);
}

.work-content {
  padding: 1.5rem;
}

.work-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.work-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* About Page Styles */
.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.expertise-list {
  list-style: none;
  padding: 0;
}

.expertise-list li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-family: Arial;
}

.profile-detailed {
  position: relative;
  text-align: center;
}

.profile-image-large {
  width: 250px;
  height: 300px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 20px;
  margin: 0 auto 1rem;
}

.experience-badge {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

/* Skills Section */
.skills-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.skill-category h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Timeline */
.experience-timeline {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item {
  box-shadow: none;
}

.timeline-item.hover-card:hover {
  box-shadow: none;
}

.timeline-year {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  min-width: 120px;
  text-align: center;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  margin: 0 2rem;
  margin-bottom: 35px;
}

.timeline-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Services Page */
.main-services {
  padding: 5rem 0;
}

.service-detailed {
  background: var(--bg-primary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  border: 1px solid var(--border);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2rem 1rem;
  background: var(--bg-secondary);
}

.service-header h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
}

.service-content {
  padding: 1rem 2rem 2rem;
}

.service-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.service-price {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

/* Process Steps */
.work-process {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.step-number {
  background: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.process-step h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Portfolio Page */
.portfolio-filter {
  padding: 2rem 0;
  background: var(--bg-secondary);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.portfolio-showcase {
  padding: 5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-project {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  cursor: pointer;
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-img-1 {
  background: var(--gradient-1);
}
.project-img-2 {
  background: var(--gradient-2);
}
.project-img-3 {
  background: var(--gradient-3);
}
.project-img-4 {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.project-img-5 {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}
.project-img-6 {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-project:hover .project-overlay {
  opacity: 1;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.project-tags {
  margin-bottom: 1.5rem;
}

.project-results {
  display: flex;
  gap: 2rem;
}

.result {
  text-align: center;
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.result-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Contact Page */
.contact-main {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px var(--shadow);
}

.method-icon {
  font-size: 2rem;
}

.method-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.method-content p {
  color: var(--text-secondary);
  margin: 0;
  text-decoration: none;
} 

.method-content a {
  color: var(--text-secondary);
  text-decoration: none;
}

.social-links h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 5px 15px var(--shadow);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}

.faq-item h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services CTA */
.services-cta {
  padding: 5rem 0;
  background: var(--bg-secondary);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

/* Footer */
.footer {
  width: 100%;
  background: var(--bg-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  padding: 15px 0px;
}

.footer .pb {
  display: flex;
  gap: 15px;
}

.footer .pb .pb-logos {
  display: flex;
  gap: 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}



@media (max-width: 1024px) {
    .floating-elements {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0px 15px;
  }

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

  .nav-menu {
    display: none;
  }

  .profile-card {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid,
  .work-grid,
  .portfolio-grid,
  .skills-grid,
  .stats-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    content: none;
  }

  .timeline-item {
    flex-direction: column !important;
    padding-left: 0px;
  }

  .timeline-year {
    min-width: 80px;
    position: static;
    margin-bottom: 20px;
  }

  .timeline-content {
    margin: 0 0 2rem 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  .project-results {
    flex-direction: column;
    gap: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .cta-btn {
    border: none;
    padding: 0.5rem 1rem;
  }
  .hero-stats {
    justify-content: space-between;
    gap: unset;
  }
  .stat-label {
    font-size: 12px;
  }
  .hamburger {
    display: flex;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}