@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  /* Premium Color Palette */
  --primary-bg: #0a0e27;
  --secondary-bg: #0f1729;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148, 163, 184, 0.1);
  --card-bg: rgba(15, 23, 41, 0.5);
  --card-border: rgba(59, 130, 246, 0.1);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--primary-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;

  /* HIDE THE DEFAULT SYSTEM CURSOR */
  cursor: none;
}

/* Show default cursor on touch devices */
@media (pointer: coarse) {
  body {
    cursor: auto !important;
  }
}

/* --- Smooth Cursor Follower --- */

#cursor-dot,
#cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
  /* Crucial: lets clicks pass through */
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {

  #cursor-dot,
  #cursor-outline {
    display: none !important;
  }
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.6), 0 0 25px rgba(59, 130, 246, 0.4);
}

#cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(59, 130, 246, 0.6);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* State: Hovering over interactive elements */
body.hovering #cursor-outline {
  width: 50px;
  height: 50px;
  background-color: rgba(59, 130, 246, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

body.hovering #cursor-dot {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(6, 182, 212, 0.6);
}

/* ===================== HEADER ===================== */
.premium-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 2.4rem;
  color: var(--accent-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.nav-link {
  font-size: 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.nav-link-cta {
  font-size: 1.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Mobile Menu Button - Hidden on desktop */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  min-height: 100vh;
  padding-top: 12rem;
  padding-bottom: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('hero-bg.png') center/cover;
  opacity: 0.3;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.15), transparent 50%);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 2.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 4rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  margin-bottom: 6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3.2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3.2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Hero Social */
.hero-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 4rem;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-btn:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn:hover i {
  color: white;
}

.social-btn i {
  transition: all 0.3s ease;
}


/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  animation: fadeIn 1s ease 0.3s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
  top: 10%;
  left: 5%;
  animation: float 3s ease-in-out infinite;
}

.card-2 {
  top: 45%;
  right: 10%;
  animation: float 3s ease-in-out infinite 0.5s;
}

.card-3 {
  bottom: 10%;
  left: 15%;
  animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.card-icon {
  font-size: 3rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ===================== SERVICES SECTION ===================== */
.services-section {
  padding: 10rem 0;
  background: url('pattern-bg.png') center/cover;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  opacity: 0.95;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 8rem;
}

.section-badge {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.8rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.service-card.featured {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
}

.featured-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.service-icon-wrapper {
  margin-bottom: 2rem;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.service-card:hover .service-icon {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon-image {
  transform: scale(1.1) rotate(0deg);
}

.service-card:hover .service-icon-image img {
  transform: scale(1.05);
}

.service-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.service-description {
  font-size: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.service-features i {
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1.5rem;
}

/* ===================== PROJECTS PAGE ===================== */
.projects-hero {
  min-height: 50vh;
  padding-top: 15rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(59, 130, 246, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.projects-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top center, rgba(59, 130, 246, 0.15), transparent 70%);
}

.projects-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.projects-section {
  padding: 8rem 0 10rem;
  background: var(--primary-bg);
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Projects Controls */
.projects-controls {
  margin-bottom: 6rem;
}

.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.search-wrapper i {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.6rem;
}

.search-wrapper input {
  width: 100%;
  padding: 1.6rem 2rem 1.6rem 5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-size: 1.5rem;
  font-family: var(--font-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.search-wrapper input::placeholder {
  color: var(--text-muted);
}

.search-wrapper input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.category-filters {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 1rem 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: var(--font-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-color: transparent;
  color: white;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.project-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 0;
  min-height: 400px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-card-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(10, 14, 39, 0.3) 0%,
      rgba(10, 14, 39, 0.7) 60%,
      rgba(10, 14, 39, 0.95) 100%);
  transition: all 0.4s ease;
  z-index: 1;
}

.project-card-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  width: 100%;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 3;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to bottom,
      rgba(10, 14, 39, 0.4) 0%,
      rgba(10, 14, 39, 0.75) 60%,
      rgba(10, 14, 39, 0.98) 100%);
}

.project-category-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.3;
}

.project-description {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  font-size: 1.2rem;
  color: var(--accent-purple);
  font-weight: 500;
}

/* No Results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  text-align: center;
}

.no-results i {
  font-size: 6rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  opacity: 0.3;
}

.no-results h3 {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.no-results p {
  font-size: 1.6rem;
  color: var(--text-muted);
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  padding: 10rem 0;
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.contact-description {
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  gap: 4rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.info-item i {
  color: var(--accent-blue);
  font-size: 1.8rem;
}

.contact-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  margin: 0 auto 3rem;
  opacity: 0.3;
}

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

.social-label {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.social-links-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.contact-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-social-btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social-btn:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
}

.contact-social-btn:hover::before {
  opacity: 1;
}

.contact-social-btn:hover i {
  color: white;
  transform: scale(1.15) rotate(-5deg);
}

/* ===================== FOOTER ===================== */
.premium-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 8rem 0 3rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1;
}

.footer-logo .logo-icon {
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-tagline {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.footer-links a {
  font-size: 1.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 3rem;
}

.footer-legal a {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .header-container {
    padding: 0 2rem;
  }

  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }

  /* Hide desktop nav menu, show as mobile overlay */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 23, 41, 0.98);
    backdrop-filter: blur(20px);
    padding: 10rem 3rem 3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    transition: left 0.4s ease;
    z-index: 999;
    border-right: 1px solid var(--border-color);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
  }

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

  .nav-link {
    font-size: 1.8rem;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-link-cta {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
  }

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

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

  .hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .hero-container {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1.4rem 2.5rem;
    font-size: 1.5rem;
  }

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

  .services-section,
  .why-choose-section {
    padding: 6rem 0;
  }

  .services-container,
  .why-choose-container,
  .projects-container {
    padding: 0 2rem;
  }

  .section-title {
    font-size: 3.5rem;
  }

  .section-description {
    font-size: 1.6rem;
  }

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

  .service-card {
    padding: 2.5rem;
  }

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

  .category-filters {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.3rem;
  }

  .contact-section {
    padding: 6rem 0;
  }

  .contact-container {
    padding: 0 2rem;
  }

  .contact-title {
    font-size: 3.5rem;
  }

  .contact-description {
    font-size: 1.6rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 2rem;
  }

  .social-links-row {
    gap: 1.5rem;
  }

  .contact-social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  html {
    font-size: 52%;
  }

  .header-container {
    padding: 0 1.5rem;
  }

  .hero-section {
    padding-top: 9rem;
  }

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

  .section-title {
    font-size: 3rem;
  }

  .service-card {
    padding: 2rem;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

/* ===================== WHY CHOOSE ROVIX SECTION ===================== */
.why-choose-section {
  padding: 10rem 0;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  position: relative;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.testimonials-wrapper {
  margin-top: 6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

/* Image Stack */
.testimonial-images {
  position: relative;
  height: 500px;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-image-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9) rotateY(-10deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-image-card.active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  z-index: 10;
}

.testimonial-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content Side */
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0;
  min-height: 400px;
}

.content-wrapper {
  position: relative;
  flex: 1;
}

.testimonial-text-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.testimonial-text-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.testimonial-designation {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 2.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 90%;
}

/* Navigation Controls */
.testimonial-controls {
  display: flex;
  gap: 1.5rem;
  margin-top: 4rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: white;
  border-color: transparent;
  transform: scale(1.1);
}

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

.control-btn:hover i {
  transform: scale(1.1);
}

.prev-btn:hover i {
  transform: rotate(12deg);
}

.next-btn:hover i {
  transform: rotate(-12deg);
}

/* Responsive for Why Choose Section */
@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .testimonial-images {
    height: 400px;
  }

  .testimonial-title {
    font-size: 2.4rem;
  }

  .testimonial-quote {
    font-size: 1.6rem;
  }
}