/* Mezokuru Portfolio - Hybrid Neomorphic Styles */

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

:root {
  --bg-dark: #0a0e27;
  --bg-card: #151b3d;
  --bg-light: #1e2749;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent: #ffd166;
  --accent-2: #f093fb;
  --accent-3: #667eea;
  --shadow-light: rgba(255, 255, 255, 0.05);
  --shadow-dark: rgba(0, 0, 0, 0.5);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 209, 102, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
  animation: bgPulse 15s ease infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  opacity: 0.5;
}

/* Neomorphic Elements */
.neo-card {
  background: var(--bg-card);
  border-radius: 30px;
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.neo-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    20px 20px 40px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border-color: rgba(255, 209, 102, 0.3);
}

.neo-inset {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 
    inset 8px 8px 16px var(--shadow-dark),
    inset -8px -8px 16px var(--shadow-light);
  padding: 2rem;
}

.neo-button {
  background: var(--bg-card);
  border: 2px solid rgba(255, 209, 102, 0.3);
  border-radius: 50px;
  padding: 1.2rem 3rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.neo-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.2), transparent);
  transition: left 0.5s ease;
}

.neo-button:hover::before {
  left: 100%;
}

.neo-button:hover {
  border-color: var(--accent);
  box-shadow: 
    0 10px 30px rgba(255, 209, 102, 0.3),
    inset 0 0 20px rgba(255, 209, 102, 0.1);
  transform: translateY(-3px);
}

.neo-button:active {
  transform: translateY(0);
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Header */
header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 3rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Floating shapes with neomorphic style */
.hero-visual {
  position: relative;
  height: 600px;
}

.floating-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.shape-1 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.4;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  opacity: 0.4;
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
  border-radius: 50%;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  opacity: 0.4;
  top: 50%;
  right: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(5deg); }
  66% { transform: translateY(-15px) rotate(-5deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-secondary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll 2s ease infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 6rem 0;
}

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

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Section styling */
section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 4rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.accent-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 1rem 0 3rem 0;
  border-radius: 2px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-visual {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 25px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -5px -5px 15px var(--shadow-light);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-card:hover .project-visual {
  transform: translateY(-10px);
  box-shadow: 
    20px 20px 40px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.project-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover .project-visual::before {
  opacity: 0;
}

.project-emoji {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.project-content {
  padding: 0 1rem;
}

.project-type {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
  font-family: 'Space Grotesk', sans-serif;
}

.project-content h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.project-tag {
  padding: 0.6rem 1.2rem;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.project-tag:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: gap 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.project-link:hover {
  gap: 1rem;
}

/* Featured project - full width */
.project-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem;
  margin-bottom: 3rem;
}

.project-featured .project-visual {
  height: 500px;
  margin-bottom: 0;
}

/* Carousel Styles */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.skill-item {
  flex-shrink: 0;
  text-align: center;
  padding: 2.5rem 2rem;
  min-width: 180px;
  background: var(--bg-card);
  border-radius: 25px;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
  border-color: rgba(255, 209, 102, 0.3);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--bg-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
  transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.1);
  box-shadow: 
    inset 8px 8px 16px var(--shadow-dark),
    inset -8px -8px 16px var(--shadow-light);
}

.skill-name {
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
}

/* Contact */
.contact {
  text-align: center;
  padding: 6rem 3rem;
  margin: 4rem 0;
}

.contact h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.contact p {
  color: var(--text-secondary);
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sidebar-form {
  background: var(--bg-card);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-form h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.sidebar-form input,
.sidebar-form textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.sidebar-form input:focus,
.sidebar-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light),
    0 0 0 2px rgba(255, 209, 102, 0.2);
}

.sidebar-form textarea {
  min-height: 120px;
  resize: vertical;
}

.sidebar-form button {
  width: 100%;
  margin-top: 0.5rem;
}

/* Contact card link hover effects */
#contact a[href^="mailto"],
#contact a[href^="tel"],
#contact a[href^="https://github"],
#contact a[href^="https://wa.me"],
#contact a[href^="https://www.facebook"] {
  position: relative;
}

#contact a[href^="mailto"]:hover,
#contact a[href^="tel"]:hover,
#contact a[href^="https://github"]:hover,
#contact a[href^="https://wa.me"]:hover,
#contact a[href^="https://www.facebook"]:hover {
  gap: 1rem;
}

#contact a[href^="mailto"]:hover::after,
#contact a[href^="tel"]:hover::after,
#contact a[href^="https://github"]:hover::after,
#contact a[href^="https://wa.me"]:hover::after,
#contact a[href^="https://www.facebook"]:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* Custom cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  mix-blend-mode: difference;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Image Modal */
#imageModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  padding: 20px;
  overflow: auto;
}

#imageModal img {
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 400px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
  .project-content h3 { font-size: 1.5rem; }
  .neo-card { padding: 1.5rem; }
  .cursor, .cursor-follower { display: none; }
}


/* Templates Page Specific Styles */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.template-card {
  position: relative;
  overflow: hidden;
}

.template-preview {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.template-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

.template-card:hover .template-preview::before {
  opacity: 0;
}

.template-content {
  padding: 2rem;
}

.template-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.template-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: 15px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.download-btn {
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border: 2px solid rgba(255, 209, 102, 0.2);
  border-radius: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.download-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.cta-section {
  text-align: center;
  padding: 4rem 3rem;
  margin: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.05), rgba(240, 147, 251, 0.05));
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.license-box {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 25px;
  border-left: 4px solid var(--accent);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.license-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.license-box ul {
  color: var(--text-secondary);
  line-height: 2;
  list-style: none;
  padding: 0;
}

.license-box li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.license-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.license-box a:hover {
  text-decoration: underline;
}

/* Resources Page Specific Styles */
.category-title {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 2rem;
  color: var(--accent);
}

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

.resource-card {
  background: var(--bg-card);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    15px 15px 30px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light);
  border-color: rgba(255, 209, 102, 0.3);
}

.resource-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--bg-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
  transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
  transform: scale(1.1);
  color: var(--accent-2);
}

.resource-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.resource-card p {
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

.back-section {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: 25px;
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Common page styles */
main {
  padding: 6rem 0;
}


/* Contact Form Inputs */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light),
    0 0 0 2px rgba(255, 209, 102, 0.2);
}

#contactForm textarea {
  min-height: 120px;
  resize: vertical;
}

/* Contact Method Cards Enhancement */
.contact-method-card {
  position: relative;
  overflow: hidden;
}

.contact-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.6s ease;
}

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

/* Service Checkbox Hover Effects */
#contactForm label:has(input[type="checkbox"]) {
  cursor: pointer;
}

#contactForm label:has(input[type="checkbox"]):hover {
  background: var(--bg-card);
  border: 1px solid rgba(255, 209, 102, 0.2);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

#contactForm label:has(input[type="checkbox"]:checked) {
  background: var(--bg-card);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: var(--text-primary);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
}

/* Footer Link Hover Effects */
footer a:hover {
  color: var(--accent) !important;
}

footer a[style*="width:45px"]:hover {
  transform: translateY(-5px);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

/* Social Icon Hover in Contact Cards */
.contact-method-card a[style*="width:50px"]:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  color: var(--accent-2) !important;
}

/* CTA Banner Animation */
.neo-card[style*="rgba(102,126,234,0.15)"] {
  position: relative;
  overflow: hidden;
}

.neo-card[style*="rgba(102,126,234,0.15)"]::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,209,102,0.1) 0%, transparent 70%);
  animation: rotateBg 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Grid Adjustments for Contact Form */
@media (max-width: 768px) {
  #contactForm div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  #contactForm div[style*="grid-template-columns:repeat(auto-fit, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 
    0 8px 20px rgba(37, 211, 102, 0.4),
    0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 
    0 12px 30px rgba(37, 211, 102, 0.5),
    0 6px 15px rgba(0, 0, 0, 0.4);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 
      0 8px 20px rgba(37, 211, 102, 0.4),
      0 4px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 
      0 8px 30px rgba(37, 211, 102, 0.6),
      0 4px 15px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }
}

/* WhatsApp Chat Modal */
.whatsapp-chat-modal {
  position: fixed;
  bottom: 110px;
  left: 30px;
  width: 380px;
  max-width: calc(100vw - 60px);
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-chat-modal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.whatsapp-chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.whatsapp-chat-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  padding: 1.5rem;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.whatsapp-chat-header button:hover {
  color: white;
}

.whatsapp-chat-body {
  padding: 2rem 1.5rem;
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  background: var(--bg-dark);
}

.whatsapp-message-bubble {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: 0 15px 15px 15px;
  max-width: 85%;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -2px -2px 4px var(--shadow-light);
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.5rem;
  text-align: right;
}

.whatsapp-chat-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-card);
  border-radius: 0 0 20px 20px;
}

.whatsapp-chat-footer textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  resize: none;
  margin-bottom: 1rem;
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transition: all 0.3s ease;
}

.whatsapp-chat-footer textarea:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light),
    0 0 0 2px rgba(37, 211, 102, 0.2);
}

.whatsapp-chat-footer textarea::placeholder {
  color: var(--text-secondary);
}

.whatsapp-send-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-send-btn:active {
  transform: translateY(0);
}

/* Update floating button to be a button element */
.whatsapp-float {
  border: none;
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-chat-modal {
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    bottom: 90px;
    width: calc(100vw - 40px);
  }
  
  .whatsapp-chat-modal.active {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  
  .whatsapp-chat-body {
    max-height: 250px;
  }
}

/* Scrollbar styling for chat body */
.whatsapp-chat-body::-webkit-scrollbar {
  width: 6px;
}

.whatsapp-chat-body::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

.whatsapp-chat-body::-webkit-scrollbar-thumb {
  background: var(--bg-light);
  border-radius: 3px;
}

.whatsapp-chat-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Featured Project Carousel */
.featured-carousel {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  cursor: pointer;
}

.carousel-image.active {
  opacity: 1;
  pointer-events: all;
  cursor: zoom-in;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 209, 102, 0.3);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    4px 4px 12px rgba(0, 0, 0, 0.5),
    -2px -2px 8px rgba(255, 255, 255, 0.05);
}

.carousel-nav:hover {
  background: rgba(10, 14, 39, 0.95);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 
    6px 6px 16px rgba(0, 0, 0, 0.6),
    -3px -3px 10px rgba(255, 255, 255, 0.08);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Dots Indicator */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(10, 14, 39, 0.6);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dot:hover {
  background: rgba(255, 209, 102, 0.5);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  border-color: rgba(255, 209, 102, 0.3);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

/* Image Counter */
.carousel-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.carousel-counter #currentSlide {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Responsive Carousel */
@media (max-width: 768px) {
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  .carousel-dots {
    padding: 8px 16px;
    gap: 8px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  .carousel-counter {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Prevent carousel from triggering on project card hover */
.project-featured:hover .featured-carousel {
  transform: none;
}

/* About Page Portrait Styling */
.about-portrait {
  position: relative;
  transition: all 0.4s ease;
}

.about-portrait:hover {
  transform: translateY(-5px);
  box-shadow: 
    20px 20px 40px var(--shadow-dark),
    -15px -15px 30px var(--shadow-light),
    0 0 30px rgba(255, 209, 102, 0.2);
}

.about-portrait img {
  transition: all 0.4s ease;
  filter: brightness(1);
}

.about-portrait:hover img {
  filter: brightness(1.05);
  transform: scale(1.02);
}

/* Anime/Manga style accent effects */
.about-portrait::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    var(--accent) 0%, 
    var(--accent-2) 25%, 
    var(--accent-3) 50%, 
    var(--accent-2) 75%, 
    var(--accent) 100%);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.about-portrait:hover::before {
  opacity: 0.6;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Responsive adjustments for portrait */
@media (max-width: 1024px) {
  .about-portrait {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .about-portrait {
    height: 400px;
    margin-bottom: 2rem;
  }
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border-radius: 15px;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    10px 10px 30px var(--shadow-dark),
    -5px -5px 15px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 0.5rem);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
}

.nav-dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav-dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(255, 209, 102, 0.05);
  padding-left: 2rem;
}

.nav-dropdown-menu a:hover::before {
  width: calc(100% - 3rem);
}

.nav-dropdown-menu a::after {
  content: none;
}

/* Mobile Navigation Dropdown */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  /* Mobile menu toggle button (add this if needed) */
  .mobile-menu-toggle {
    display: block;
    background: transparent;
    border: 2px solid rgba(255, 209, 102, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: rgba(255, 209, 102, 0.1);
  }
}

/* Ensure dropdown works on touch devices */
@media (hover: none) {
  .nav-dropdown-toggle {
    pointer-events: none;
  }
  
  .nav-dropdown-menu {
    pointer-events: all;
  }
}

/* Active state for dropdown (mobile/click) */
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 0.5rem);
}

.nav-dropdown.active .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

/* Smooth animation for dropdown arrow */
.nav-dropdown-toggle i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo with Tagline */
.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo div:first-child {
    font-size: 1.4rem !important;
  }
  
  .logo div:last-child {
    font-size: 0.6rem !important;
  }
}
