/* =========================================================================
   Global Variables
   ========================================================================= */
:root {
  /* Colors - Theme: Neon Purple + Charcoal */
  --bg-color: #0F0F14;
  /* --bg-primary */
  --surface-color: #1A1A22;
  /* --bg-secondary */
  --surface-border: rgba(255, 255, 255, 0.05);
  /* Soft border for glassmorphism */

  --text-primary: #F5F5F5;
  --text-secondary: #A0A0B0;

  /* Accents */
  --accent-primary: #B026FF;
  /* Neon Purple */
  --accent-secondary: #FF2E88;
  /* Pink-Magenta */

  --gradient-accent: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --gradient-hover: linear-gradient(135deg, #d369ff 0%, #ff6dae 100%);

  /* Border Glow */
  --border-glow: rgba(176, 38, 255, 0.4);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-glow: 0 0 20px var(--border-glow);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* =========================================================================
   Base Resets
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image:
    linear-gradient(rgba(176, 38, 255, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(176, 38, 255, 0.05) 2px, transparent 2px);
  background-size: 30px 30px;
  background-position: -2px -2px;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background AI Shapes */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-primary);
}

.shape-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--accent-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #a0a5b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* =========================================================================
   Utility Classes
   ========================================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

/* =========================================================================
   Navigation
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: padding var(--transition-normal), background var(--transition-normal), backdrop-filter var(--transition-normal);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i {
  color: var(--accent-secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-normal);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5xl;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  /* max-width: 800px; */
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* =========================================================================
   Services Section (Bouncy Cards React Recreation)
   ========================================================================= */
.bouncy-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .bouncy-cards-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .bouncy-card-narrow {
    grid-column: span 4;
  }

  .bouncy-card-wide {
    grid-column: span 8;
  }
}

.bouncy-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  cursor: pointer;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.bouncy-card:hover {
  transform: scale(0.95) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(167, 167, 167, 0.84);
}

.card-content {
  position: relative;
  z-index: 2;
}

.bouncy-drawer {
  position: absolute;
  bottom: 0px;
  left: 1rem;
  right: 1rem;
  top: 150px;
  transform: translateY(4rem);
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1.5rem 1rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border-color: rgba(167, 167, 167, 0.84);

}

.bouncy-card:hover .bouncy-drawer {
  transform: translateY(1.5rem) rotate(2deg);
  border-color: rgba(167, 167, 167, 0.84);

}

.drawer-violet {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #eef2ff;
  border-color: rgba(167, 167, 167, 0.84);

}

.drawer-amber {
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  color: #fff7ed;
}

.drawer-green {
  background: linear-gradient(135deg, #4ade80, #34d399);
  color: #ecfdf5;
}

.drawer-pink {
  background: linear-gradient(135deg, #f472b6, #f87171);
  color: #fef2f2;
}

.bouncy-drawer span {
  font-weight: 600;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-color: rgba(167, 167, 167, 0.84);

}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.bouncy-card:hover .service-icon {
  transform: scale(1.1);
}

/* =========================================================================
   Projects Preview
   ========================================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(167, 167, 167, 0.84);

}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.project-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  color: var(--accent-secondary);
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.swiper-container {
  width: 100%;
  padding-bottom: 3rem;
  margin-top: 3rem;
  overflow: hidden;
  /* Added per Swiper docs */
}

.testimonial-card {
  padding: 2.5rem;
  text-align: left;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-secondary);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: var(--text-secondary);
}

.swiper-pagination-bullet-active {
  background: var(--accent-secondary);
}

/* =========================================================================
   Orbiting Circles (Tech Stack)
   ========================================================================= */
.orbiting-circles-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 0 auto 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 80px;
  height: 80px;
  background: var(--surface-color);
  border: 1px solid var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-primary);
  z-index: 10;
  box-shadow: var(--shadow-glow);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.379);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.orbit-inner {
  width: 250px;
  height: 250px;
  animation: spin 15s linear infinite;
}

.orbit-outer {
  width: 420px;
  height: 420px;
  animation: spin-reverse 25s linear infinite;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius)));
}

.orbit-inner .orbit-item {
  --radius: 125px;
}

.orbit-outer .orbit-item {
  --radius: 210px;
}

/* Wrapper reverses the static angle so the icon starts upright */
.orbit-icon-wrapper {
  position: absolute;
  transform: rotate(calc(-1 * var(--angle)));
}

.orbit-icon {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: all var(--transition-short);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Icon counter-rotates against the ring turning to stay upright continuously */
.orbit-inner .orbit-icon-wrapper {
  animation: spin-reverse 15s linear infinite;
}

.orbit-outer .orbit-icon-wrapper {
  animation: spin 25s linear infinite;
}

.orbit-icon:hover {
  transform: scale(1.2);
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Brand Colors */
.orbit-icon .fa-html5 {
  color: #e34f26;
}

.orbit-icon .fa-css3-alt {
  color: #1572b6;
}

.orbit-icon .fa-js {
  color: #f7df1e;
}

.orbit-icon .fa-node-js {
  color: #339933;
}

.orbit-icon .fa-python {
  color: #3776ab;
}

.orbit-icon .fa-brain {
  color: #10a37f;
}

/* OpenAI */
.orbit-icon .fa-robot {
  color: #d97757;
}

/* Claude */
.orbit-icon .fa-sparkles {
  color: #4285f4;
}

/* Gemini */
.orbit-icon .fa-gemini {
  color: #4285f4;
}

.orbit-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-short);
  white-space: nowrap;
  font-family: var(--font-body);
}

.orbit-icon:hover .orbit-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

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

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

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

/* =========================================================================
   Call To Action (CTA) Section
   ========================================================================= */
.cta-inner {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(to right, rgba(138, 43, 226, 0.1), rgba(0, 240, 255, 0.1));
  border: 1px solid var(--accent-primary);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
  z-index: 0;
}

.cta-inner>* {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--surface-border);
  background: #090c10;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--gradient-accent);
  color: #fff;
  transform: translateY(-3px);
}

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

/* =========================================================================
   About Page Specifics
   ========================================================================= */
.about-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
}

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

}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--surface-border);
  border-left: 2px solid rgba(255, 255, 255, 0.379);

}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 16px;
  top: 0;

  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 10px var(--accent-secondary);
}

.timeline-date {
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.skill-bar {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-progress-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.187);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-accent);
  width: 0;
  /* Animated via JS */
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* =========================================================================
   Projects Page Specifics
   ========================================================================= */
.page-header {
  padding-top: 120px;
  padding-bottom: 4rem;
  text-align: center;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-short);
}

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

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-content {
  width: 90%;
  max-width: 800px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(50px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-primary);
}

.modal-body {
  padding: 2rem;
}

.modal-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

/* =========================================================================
   Blog Page Specifics
   ========================================================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.featured-post {
  margin-bottom: 3rem;
}

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

.blog-card {
  padding: 1.5rem;
}

.blog-meta {
  color: var(--accent-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sidebar-widget {
  margin-bottom: 3rem;
}

.search-box {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--surface-border);
}

.search-box input {
  background: none;
  border: none;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  padding: 0.5rem;
}

.category-list li {
  margin-bottom: 1rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.category-list a:hover {
  color: var(--accent-secondary);
  padding-left: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  transition: all var(--transition-fast);
}

.page-num.active,
.page-num:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* =========================================================================
   Contact Page Specifics
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-secondary);
}

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-secondary);
}

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

.form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.form-control:focus~.form-label,
.form-control:not(:placeholder-shown)~.form-label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  background: var(--bg-color);
  padding: 0 5px;
  color: var(--accent-secondary);
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--surface-border);
  margin-top: 3rem;
}

/* =========================================================================
   Special Hero (Floating Icons)
   ========================================================================= */
.special-hero {
  /* background-color: #1a1a1a; */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.special-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.silver-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a0a5b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.floating-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.special-hero-content {
  position: relative;
  z-index: 2;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  animation: floating 6s ease-in-out infinite;
}

.icon-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  color: #61dafb;
}

.icon-2 {
  top: 60%;
  left: 10%;
  animation-delay: 1s;
  color: #339933;
}

.icon-3 {
  top: 15%;
  right: 15%;
  animation-delay: 2s;
  color: #3776AB;
}

.icon-4 {
  top: 70%;
  right: 12%;
  animation-delay: 0.5s;
  color: #f29111;
}

.icon-5 {
  top: 80%;
  left: 30%;
  animation-delay: 1.5s;
  color: #ff00ff;
}

.icon-6 {
  top: 30%;
  right: 30%;
  animation-delay: 2.5s;
  color: #ff9900;
}

@keyframes floating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.special-btn-outline {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.special-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* =========================================================================
   Media Queries
   ========================================================================= */
@media (max-width: 992px) {

  .blog-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: right var(--transition-normal);
  }

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

  .hamburger {
    display: block;
    z-index: 1050;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .special-hero {
    min-height: auto;
    padding: 120px 0 80px 0;
  }

  .silver-gradient-text {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .floating-icon:hover,
  .floating-icon:active {
    animation-play-state: paused;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.2) rotate(15deg) !important;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-dot {
    left: 6px;
  }

  .timeline-item {
    padding-left: 40px;
  }
}