@media (max-width: 768px) {
  .nav-desktop-toggle,
  .nav-desktop-admin {
    display: none !important;
  }
  .nav-mobile-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 20px 0 0 0;
    border-top: 1px solid rgba(0,255,255,0.08);
    padding-top: 15px;
  }
  .nav-mobile-toggle {
    display: inline-block !important;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
  }
  .nav-mobile-admin {
    display: inline-block !important;
    font-size: 1.5rem;
    color: var(--cyan);
    padding: 0 10px;
  }
  .mobile-menu {
    position: absolute;
    top: 30px;
    right: 20px;
    margin-bottom: 0;
    z-index: 1002;
  }
}
@media (min-width: 769px) {
  .nav-mobile-icons,
  .nav-mobile-toggle,
  .nav-mobile-admin {
    display: none !important;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }
  .logo {
    justify-content: center;
    margin: 0 auto 10px auto;
    display: flex;
    width: 100%;
  }
  nav {
    display: none;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    gap: 0;
  }
  nav.show {
    display: flex !important;
  }
  nav a {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0,255,255,0.08);
  }
  .mobile-menu {
    align-self: flex-end;
    margin-bottom: 10px;
  }
  .cta-button {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 768px) {
  .nav-contact-desktop {
    display: none !important;
  }
  .nav-contact-mobile {
    display: block !important;
    width: 100%;
    margin: 0;
    text-align: center;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
  }
}
@media (min-width: 769px) {
  .nav-contact-mobile {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .service-card h3,
  .service-card p {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .features-grid {
    justify-items: center;
    text-align: center;
  }
  .service-features {
    text-align: center;
    padding-left: 0;
  }
  .service-features li {
    justify-content: center;
    text-align: center;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --text-light: #f5f5f5;
  --text-muted: #b0b0b0;
  --cyan: #00ffff;
  --purple: #8000ff;
  --magenta: #ff00ff;
  --gold: #ffd700;
}

body.light-mode {
  --bg-dark: #f5f5f5;
  --bg-darker: #e8e8e8;
  --text-light: #1a1a1a;
  --text-muted: #555555;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(225deg, rgba(128, 0, 255, 0.08) 0%, transparent 50%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.5);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.glass-dark {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #00ffff 0%, #8000ff 50%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.glow-purple {
  box-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
}

.smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  }
}

/* Header / Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.15);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  animation: slideDown 0.5s ease-out;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 20px;
  height: 180px;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-light);
  cursor: pointer;
}

.logo-image {
  height: 220px;
  width: auto;
  object-fit: contain;
}

.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

body.light-mode .logo-light {
  display: block;
}

body.light-mode .logo-dark {
  display: none;
}

.logo-badge {
  width: 28px;
  height: 28px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--cyan);
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--cyan);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.cta-button {
  padding: 10px 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
  color: var(--cyan);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-button:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0;
  box-sizing: border-box;
}

.mobile-menu span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--cyan);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--cyan);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transform: rotate(20deg) scale(1.05);
}

.admin-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--cyan);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.admin-button:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transform: scale(1.05);
}

body.light-mode .admin-button {
  border-color: rgba(0, 100, 100, 0.3);
  background: rgba(0, 150, 150, 0.08);
  color: #0089a0;
}

body.light-mode .admin-button:hover {
  background: rgba(0, 150, 150, 0.15);
  box-shadow: 0 0 20px rgba(0, 150, 150, 0.2);
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode .toggle-icon {
  transform: rotate(180deg);
}

body.light-mode header {
  background: rgba(245, 245, 245, 0.2);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 100, 100, 0.1);
}

body.light-mode .theme-toggle {
  border-color: rgba(0, 100, 100, 0.3);
  background: rgba(0, 150, 150, 0.08);
  color: #00a0a0;
}

body.light-mode .theme-toggle:hover {
  background: rgba(0, 150, 150, 0.15);
}

body.light-mode .cta-button {
  border-color: rgba(0, 100, 100, 0.3);
  background: rgba(0, 150, 150, 0.08);
  color: #00a0a0;
}

body.light-mode .cta-button:hover {
  background: rgba(0, 150, 150, 0.15);
  box-shadow: 0 0 20px rgba(0, 150, 150, 0.2);
}

body.light-mode .logo-badge {
  background: rgba(0, 150, 150, 0.08);
  border-color: rgba(0, 150, 150, 0.3);
  color: #00a0a0;
}

body.light-mode .mobile-menu {
  background: rgba(0, 150, 150, 0.08);
  border-color: rgba(0, 150, 150, 0.2);
}

.mobile-menu span {
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: all 0.3s;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(128, 0, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite 1s;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--cyan);
}

h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin: 20px 0;
  font-weight: 700;
}

.hero-content h1 {
  background: linear-gradient(135deg, #00ffff 0%, #8000ff 50%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 20px 0 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0 60px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 15px 35px;
  background: linear-gradient(135deg, #00ffff, #0099cc);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
  padding: 15px 35px;
  background: rgba(0, 255, 255, 0.05);
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 60px;
  padding: 40px 0;
}

.stat {
  text-align: center;
  padding: 20px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Sections */
section {
  padding: 80px 20px;
}

section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* About Section */
#about {
  background: linear-gradient(180deg, transparent, rgba(0, 255, 255, 0.02));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature {
  padding: 20px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.feature:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature h4 {
  margin-bottom: 10px;
  color: var(--text-light);
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services Section */
#services {
  background: linear-gradient(180deg, transparent, rgba(128, 0, 255, 0.02));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.1s; }
.service-card:nth-child(5) { animation-delay: 0.2s; }
.service-card:nth-child(6) { animation-delay: 0.3s; }

.service-card:hover {
  background: rgba(0, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  text-align: center;
  width: 100%;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-features li {
  padding: 5px 0;
  padding-left: 0;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

/* Projects Section */
#projects {
  background: linear-gradient(180deg, transparent, rgba(255, 0, 255, 0.02));
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  max-width: 100%;
}

@media (min-width: 1400px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  display: flex;
  flex-direction: column;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.1s; }
.project-card:nth-child(5) { animation-delay: 0.2s; }
.project-card:nth-child(6) { animation-delay: 0.3s; }

.project-card:hover {
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
}

.project-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(128, 0, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.project-image img {
  filter: brightness(0.70) contrast(1.15);
  transition: filter 0.3s;
}

.project-card:hover .project-image img {
  filter: brightness(0.80) contrast(1.15);
}

body.light-mode .project-image img {
  filter: brightness(1) contrast(1);
}

body.light-mode .project-card:hover .project-image img {
  filter: brightness(1.05) contrast(1);
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

body.light-mode .project-category {
  background: rgba(230, 245, 245, 0.8);
  border-color: rgba(0, 100, 100, 0.3);
  color: #0089a0;
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.project-details {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  font-size: 0.85rem;
}

.project-detail {
  display: flex;
  flex-direction: column;
}

.project-detail-label {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.project-detail-value {
  color: var(--cyan);
  font-weight: 600;
}

body.light-mode .project-detail-value {
  color: #0089a0;
}

/* Contact Section */
#contact {
  background: linear-gradient(180deg, transparent, rgba(0, 255, 255, 0.02));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item:hover {
  border-color: rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.05);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-light);
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00ffff, #0099cc);
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(5, 5, 5, 1));
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  padding: 60px 20px 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  font-size: 1.5rem;
  color: var(--cyan);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Light Mode Additional Styles */
body.light-mode {
  background: #f5f5f5;
  background-image:
    linear-gradient(135deg, rgba(0, 150, 150, 0.12) 0%, transparent 50%),
    linear-gradient(225deg, rgba(100, 0, 150, 0.12) 0%, transparent 50%);
}

body.light-mode ::-webkit-scrollbar-track {
  background: #f5f5f5;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: rgba(0, 150, 150, 0.3);
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 150, 150, 0.5);
}

body.light-mode nav a {
  color: #555555;
}

body.light-mode nav a:hover {
  color: #00a0a0;
}

body.light-mode nav a::after {
  background: linear-gradient(90deg, #00a0a0, #0080a0);
}

body.light-mode .glass {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 100, 100, 0.2);
}

body.light-mode .glass-dark {
  background: rgba(240, 240, 240, 0.8);
  border-color: rgba(0, 100, 100, 0.2);
}

body.light-mode #hero::before {
  background: radial-gradient(circle, rgba(0, 150, 150, 0.08) 0%, transparent 70%);
}

body.light-mode #hero::after {
  background: radial-gradient(circle, rgba(100, 0, 150, 0.08) 0%, transparent 70%);
}

body.light-mode .hero-badge {
  background: rgba(0, 150, 150, 0.08);
  border-color: rgba(0, 150, 150, 0.3);
  color: #00a0a0;
}

body.light-mode .hero-content h1 {
  background: linear-gradient(135deg, #00a0a0, #0080a0, #006080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .btn-primary {
  background: rgba(0, 150, 150, 0.1);
  border-color: rgba(0, 150, 150, 0.3);
  color: #00a0a0;
}

body.light-mode .btn-primary:hover {
  background: rgba(0, 150, 150, 0.2);
  box-shadow: 0 0 20px rgba(0, 150, 150, 0.2);
}

body.light-mode .btn-secondary {
  background: transparent;
  border-color: rgba(0, 150, 150, 0.3);
  color: #00a0a0;
}

body.light-mode .btn-secondary:hover {
  background: rgba(0, 150, 150, 0.05);
  border-color: rgba(0, 150, 150, 0.5);
}

body.light-mode .stats-item {
  border-color: rgba(0, 100, 100, 0.1);
}

body.light-mode .stats-number {
  color: #00a0a0;
}

body.light-mode section {
  border-color: rgba(0, 100, 100, 0.1);
}

body.light-mode section h2 {
  background: linear-gradient(135deg, #00a0a0, #0080a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .feature-card,
body.light-mode .service-card,
body.light-mode .project-card,
body.light-mode .contact-card {
  background: rgba(230, 245, 245, 0.8);
  border-color: rgba(0, 100, 100, 0.2);
}

body.light-mode .feature-card:hover,
body.light-mode .service-card:hover,
body.light-mode .project-card:hover,
body.light-mode .contact-card:hover {
  background: rgba(220, 240, 245, 1);
  border-color: rgba(0, 150, 150, 0.4);
}

body.light-mode .feature {
  background: rgba(230, 245, 245, 0.8);
  border-color: rgba(0, 100, 100, 0.2);
}

body.light-mode .feature:hover {
  background: rgba(220, 240, 245, 1);
  border-color: rgba(0, 150, 150, 0.4);
}

body.light-mode .stat {
  background: rgba(230, 245, 245, 0.8);
  border-color: rgba(0, 100, 100, 0.2);
}

body.light-mode .stat-number {
  background: linear-gradient(135deg, #0089a0, #006080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .feature-icon,
body.light-mode .service-icon {
  color: #00a0a0;
}

body.light-mode .category-badge {
  background: rgba(0, 150, 150, 0.1);
  border-color: rgba(0, 150, 150, 0.3);
  color: #00a0a0;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
  background: #ffffff;
  border: 1px solid rgba(0, 100, 100, 0.3);
  color: #1a1a1a;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
  color: #999999;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
  border-color: rgba(0, 150, 150, 0.5);
  background: #ffffff;
}

body.light-mode .contact-form {
  background: transparent;
  border: 2px solid rgba(0, 100, 100, 0.3);
}

body.light-mode footer {
  background: linear-gradient(180deg, rgba(240, 240, 240, 0.8), rgba(245, 245, 245, 1));
  border-top-color: rgba(0, 100, 100, 0.1);
}

body.light-mode .contact-item {
  background: #ffffff;
  border: 2px solid rgba(0, 100, 100, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  header .container {
    padding: 1rem 20px;
  }

  .logo span {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-column: span 1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  section {
    padding: 50px 15px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(0, 255, 255, 0.4);
  border-radius: 12px;
  padding: 40px;
  z-index: 9999;
  animation: modalSlideIn 0.3s ease-out;
  min-width: 300px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
  pointer-events: none;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.success-modal h3 {
  color: var(--cyan);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.success-modal p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

.success-modal-icon {
  font-size: 3rem;
  color: var(--cyan);
  margin-bottom: 15px;
  animation: modalCheck 0.6s ease-out;
}

@keyframes modalCheck {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.light-mode .success-modal {
  background: rgba(245, 245, 245, 0.95);
  border-color: rgba(0, 150, 150, 0.4);
  box-shadow: 0 20px 60px rgba(0, 150, 150, 0.2);
}

body.light-mode .success-modal h3 {
  color: #00a0a0;
}

body.light-mode .success-modal p {
  color: #1a1a1a;
}

body.light-mode .success-modal-icon {
  color: #00a0a0;
}

