/* Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #8b5a2b;
  --primary-light: #a67c52;
  --primary-dark: #6b4423;
  --secondary-color: #6c757d;
  --dark-color: #2d2013;
  --light-color: #f8f9fa;
  --success-color: #5a8d3b;
  --danger-color: #b33a3a;
  --text-color: #3e2723;
  --bg-color: #fff;
  --border-color: #d7ccc8;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(62, 39, 35, 0.1);
  --border-radius: 8px;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(62, 39, 35, 0.1);
}

/* Dark theme variables */
.dark-theme {
  --primary-color: #c89b6d;
  --primary-light: #e0c2a2;
  --primary-dark: #a67c52;
  --secondary-color: #9e9e9e;
  --dark-color: #121212;
  --light-color: #333333;
  --success-color: #81c784;
  --danger-color: #e57373;
  --text-color: #e0e0e0;
  --bg-color: #121212;
  --border-color: #424242;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(30, 30, 30, 0.3);
  --glass-border: rgba(80, 80, 80, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  z-index: -1;
}

.primary-btn:hover::before {
  width: 100%;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 90, 43, 0.2);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 90, 43, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--dark-color);
}

.section-header h2::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
  top: -15px;
  left: -15px;
  z-index: -1;
  animation: pulse 2s infinite;
}

.underline {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.underline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  top: 0;
  left: -100%;
  animation: shine 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.shape1 {
  background: linear-gradient(45deg, #8b5a2b, #a67c52);
  width: 500px;
  height: 500px;
  top: -250px;
  left: -250px;
  animation: float-shape1 15s ease-in-out infinite alternate;
}

.shape2 {
  background: linear-gradient(45deg, #d2b48c, #8b4513);
  width: 600px;
  height: 600px;
  bottom: -300px;
  right: -300px;
  animation: float-shape2 20s ease-in-out infinite alternate;
}

.shape3 {
  background: linear-gradient(45deg, #cd853f, #a0522d);
  width: 400px;
  height: 400px;
  top: 50%;
  right: -200px;
  animation: float-shape3 18s ease-in-out infinite alternate;
}

.shape4 {
  background: linear-gradient(45deg, #deb887, #8b4513);
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: -200px;
  animation: float-shape4 25s ease-in-out infinite alternate;
}

/* Glass Panels */
.glass-panel {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  animation: float-glass 20s ease-in-out infinite alternate;
}

.glass1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  transform: rotate(15deg);
}

.glass2 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: 15%;
  animation-delay: 5s;
  transform: rotate(-10deg);
}

.glass3 {
  width: 200px;
  height: 400px;
  top: 30%;
  right: 5%;
  animation-delay: 10s;
  transform: rotate(5deg);
}

.glass4 {
  width: 350px;
  height: 200px;
  bottom: 10%;
  left: 20%;
  animation-delay: 15s;
  transform: rotate(-5deg);
}

.glass5 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation-delay: 7s;
}

@keyframes float-glass {
  0% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(-20px) rotate(var(--rotation, 0deg));
  }
  100% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }
}

@keyframes float-shape1 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

@keyframes float-shape2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100px, -100px);
  }
}

@keyframes float-shape3 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-150px, 50px);
  }
}

@keyframes float-shape4 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(150px, -50px);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

header.sticky {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  padding: 15px 50px;
}

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

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

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

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

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* Theme toggle styles */
.theme-toggle-item {
  display: flex;
  align-items: center;
}

.theme-toggle {
  position: relative;
  z-index: 1000;
}

.theme-switch {
  opacity: 0;
  position: absolute;
}

.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 50px;
  height: 26px;
  background-color: var(--primary-color);
  border-radius: 30px;
  position: relative;
  padding: 0 5px;
}

.switch-label .fa-sun {
  color: #ffd700;
  font-size: 14px;
}

.switch-label .fa-moon {
  color: #f0f8ff;
  font-size: 14px;
}

.switch-ball {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  left: 3px;
}

.theme-switch:checked + .switch-label .switch-ball {
  transform: translateX(24px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 50px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.hero-content {
  max-width: 600px;
  z-index: 1;
  flex: 1;
  padding-left: 5%;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: var(--dark-color);
  max-width: 600px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--primary-color);
  color: white;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.highlight {
  color: var(--primary-color);
  white-space: nowrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed var(--primary-color);
  opacity: 0.3;
}

.circle1 {
  width: 550px;
  height: 550px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 30s linear infinite;
}

.circle2 {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 40s linear infinite reverse;
}

.circle3 {
  width: 650px;
  height: 650px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 50s linear infinite;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in 0.5s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 100px 20px;
}

.about-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.about-brief {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
}

.about-image {
  flex: 0 0 300px;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.about-intro {
  flex: 1;
}

.about-intro h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-intro p {
  margin-bottom: 20px;
}

.about-tabs {
  position: relative;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  position: relative;
  min-height: 300px;
}

.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  transform: translateY(20px);
}

.tab-pane.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.skill-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(139, 90, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.skill-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.skill-card h4 {
  font-size: 1rem;
  color: var(--text-color);
}

/* Timeline for Experience and Education */
.timeline {
  position: relative;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: -38px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.timeline-content h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-style: italic;
}

/* Services Section */
.services {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding-bottom: 120px;
}

.services-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  overflow: hidden;
}

.services-container {
  display: flex;
  gap: 30px;
  overflow: visible;
  scroll-behavior: smooth;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  transition: transform 0.5s ease;
}

.service-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--glass-border);
  scroll-snap-align: start;
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}

.service-card.blurred {
  opacity: 0.5;
  filter: blur(2px);
  pointer-events: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(139, 90, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.service-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

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

.service-card p {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-features {
  text-align: left;
  margin-bottom: 20px;
}

.service-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--success-color);
  font-size: 14px;
}

.service-hover {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.service-card:hover .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary-dark);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(139, 90, 43, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

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

/* Work Section */
.work {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.work-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

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

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.work-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: block;
  border: 1px solid var(--glass-border);
}

.work-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.work-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.work-overlay h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.work-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.work-links {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
}

.work-item:hover .work-overlay h3,
.work-item:hover .work-overlay p,
.work-item:hover .work-overlay .work-links {
  transform: translateY(0);
}

.work-link {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.work-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Contact Section */
.contact {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 100px 20px;
}

.contact-content {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 30px;
}

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

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

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item h4 {
  margin-bottom: 5px;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
  background-color: var(--primary-dark);
}

.availability {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  margin-top: 20px;
  border: 1px solid var(--glass-border);
}

.availability h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.available {
  background-color: var(--success-color);
}

.contact-form {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: var(--dark-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  pointer-events: none;
  transition: var(--transition);
  color: var(--secondary-color);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 0.85rem;
  background-color: white;
  padding: 0 5px;
  color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-label {
  position: static;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: var(--border-radius);
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: rgba(90, 141, 59, 0.1);
  color: var(--success-color);
  display: block;
}

.form-status.error {
  background-color: rgba(179, 58, 58, 0.1);
  color: var(--danger-color);
  display: block;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-content p {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  transition: var(--transition);
}

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

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

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

.scroll-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Dark theme specific overrides */
.dark-theme .service-card,
.dark-theme .about-card,
.dark-theme .work-item,
.dark-theme .contact-info,
.dark-theme .contact-form,
.dark-theme .skill-card,
.dark-theme .timeline-content {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.dark-theme header {
  background: rgba(18, 18, 18, 0.1);
  border-bottom: 1px solid var(--glass-border);
}

.dark-theme header.sticky {
  background: rgba(18, 18, 18, 0.95);
}

.dark-theme .form-group input:focus ~ label,
.dark-theme .form-group textarea:focus ~ label,
.dark-theme .form-group input:not(:placeholder-shown) ~ label,
.dark-theme .form-group textarea:not(:placeholder-shown) ~ label {
  background-color: var(--dark-color);
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 100vh;
    height: auto;
    padding: 120px 20px 60px;
  }

  .hero-content {
    padding-left: 0;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .service-card {
    flex: 0 0 calc(50% - 20px);
  }

  .hero h1 {
    font-size: 4rem;
  }

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

  .about-card {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .profile-photo {
    width: 320px;
    height: 320px;
  }

  header {
    padding: 20px;
  }

  header.sticky {
    padding: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .dark-theme .nav-menu {
    background: rgba(18, 18, 18, 0.9);
  }

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

  .hero {
    flex-direction: column;
    padding: 100px 20px 40px;
    text-align: center;
    justify-content: center;
  }

  .hero-image {
    order: -1; /* Move image above text on mobile */
    margin-bottom: 30px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
  }

  .profile-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
  }

  .circle1 {
    width: 330px;
    height: 330px;
  }

  .circle2 {
    width: 360px;
    height: 360px;
  }

  .circle3 {
    width: 390px;
    height: 390px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.3rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 5px;
  }

  .tab-btn::after {
    bottom: 0;
  }

  .about-brief {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    margin-bottom: 20px;
  }

  .about-image img {
    max-width: 250px;
    margin: 0 auto;
  }

  .service-card {
    flex: 0 0 calc(100% - 20px);
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 15px 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-top: 20px;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }

  .circle1 {
    width: 250px;
    height: 250px;
  }

  .circle2 {
    width: 280px;
    height: 280px;
  }

  .circle3 {
    width: 310px;
    height: 310px;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 30px 20px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }

  .about-card {
    padding: 20px 15px;
  }

  .contact-info,
  .contact-form {
    padding: 25px 15px;
  }

  .highlight {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .profile-photo {
    width: 200px;
    height: 200px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* Services Section - Multiple cards visible */
.service-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--glass-border);
  scroll-snap-align: start;
}

/* Add overlay for mobile menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.menu-overlay.active {
  display: block;
}