/* ===========================
   CSS VARIABLES & ROOT STYLES
   =========================== */
:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;

  --blue-1: #0ea5e9;
  --blue-2: #2563eb;
  --blue-3: #1e3a8a;

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.1);

  --glow-blue: rgba(37, 99, 235, 0.6);

  --transition-speed: 0.3s;
  --transition-smooth: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  left: var(--cursor-x);
  top: var(--cursor-y);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  z-index: 1000;
  box-shadow: 0 0 20px var(--glow-blue);
  animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 30px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: filter var(--transition-speed);
}

.logo-img:hover {
  filter: brightness(1.2);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.nav-toggle:hover {
  color: var(--blue-1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-speed);
  position: relative;
}

.nav-menu a:hover {
  color: var(--blue-1);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-1) 0%, var(--blue-2) 100%);
  transition: width var(--transition-speed);
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
  transition:
    transform var(--transition-speed),
    box-shadow var(--transition-speed);
  box-shadow: 0 0 20px var(--glow-blue);
}

.btn-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--glow-blue);
}

/* ===========================
   MAIN CONTENT
   =========================== */
.main-content {
  padding-top: 110px;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

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

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  color: white;
  box-shadow: 0 0 30px var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--glow-blue);
}

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

.btn-secondary:hover {
  background: var(--blue-1);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--glow-blue);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* ===========================
   HERO VISUAL SECTION
   =========================== */
.hero-visual {
  position: relative;
  height: 500px;
  z-index: 1;
}

.floating-card {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--blue-1);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  font-size: 2.5rem;
}

.floating-card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
  animation:
    float 6s ease-in-out infinite,
    slideInRight 1s ease-out forwards;
}

.floating-card-2 {
  top: 150px;
  right: 0;
  animation-delay: 1s;
  animation:
    float 6s ease-in-out infinite,
    slideInRight 1s ease-out 0.1s forwards;
}

.floating-card-3 {
  bottom: 0;
  left: 50px;
  animation-delay: 2s;
  animation:
    float 6s ease-in-out infinite,
    slideInRight 1s ease-out 0.2s forwards;
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===========================
   BACKGROUND BLOBS
   =========================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  top: 0;
  right: -200px;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue-1) 100%);
  bottom: 100px;
  left: -100px;
  animation: blobFloat 7s ease-in-out infinite reverse;
}

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

/* ===========================
   SECTION STYLES
   =========================== */
section {
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ===========================
   GLASSMORPHISM EFFECT
   =========================== */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 15px;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  transition: all var(--transition-speed);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 165, 233, 0.1),
    transparent
  );
  transition: left 0.6s;
  z-index: 0;
}

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

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 3rem;
  color: var(--blue-1);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--blue-1);
  box-shadow: 0 20px 40px var(--glow-blue);
}

/* ===========================
   PROCESS SECTION - TIMELINE
   =========================== */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--blue-1) 0%,
    var(--blue-2) 50%,
    transparent 100%
  );
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
}

.timeline-item {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  animation: slideInTimeline 0.6s ease-out forwards;
}

.timeline-item:nth-child(odd) {
  direction: rtl;
}

.timeline-item:nth-child(odd) > * {
  direction: ltr;
}

.timeline-item:nth-child(1) {
  animation-delay: 0s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.15s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.45s;
}

.timeline-item:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  display: flex;
  justify-content: center;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 30px var(--glow-blue);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px var(--glow-blue);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 50px var(--glow-blue);
    transform: scale(1.1);
  }
}

.timeline-content {
  padding: 30px 25px;
}

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

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: 50px 1fr;
    gap: 20px;
  }

  .timeline-item:nth-child(odd) {
    direction: ltr;
  }

  .timeline-marker {
    justify-content: flex-start;
  }
}

/* ===========================
   PROCESS SECTION FLOATING LOGOS
   =========================== */
.process {
  position: relative;
  overflow: hidden;
}

.floating-logo {
  position: absolute;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.3));
}

.logo-left-1 {
  left: 20%;
  top: 15%;
  animation: floatUp 5s ease-in-out infinite;
}

.logo-left-2 {
  left: 15%;
  bottom: 25%;
  animation: floatUp 6s ease-in-out infinite reverse;
  animation-delay: 0.5s;
}

.logo-left-3 {
  left: 10%;
  bottom: 55%;
  animation: floatUp 6s ease-in-out infinite reverse;
  animation-delay: 0.5s;
}

.logo-right-1 {
  right: 25%;
  top: 25%;
  animation: floatDown 5.5s ease-in-out infinite;
  animation-delay: 0.3s;
}
.logo-right-2 {
  right: 15%;
  top: 45%;
  animation: floatDown 5.5s ease-in-out infinite;
  animation-delay: 0.3s;
}
.logo-right-3 {
  right: 22%;
  top: 78%;
  animation: floatDown 5.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes floatDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(30px);
  }
}

/* ===========================
   WHY US SECTION
   =========================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-us-card {
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.why-us-icon {
  font-size: 3rem;
  color: var(--blue-1);
  margin-bottom: 20px;
}

.why-us-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.why-us-card p {
  color: var(--text-secondary);
}

.why-us-card:hover {
  transform: translateY(-10px);
  border-color: var(--blue-1);
  box-shadow: 0 20px 40px var(--glow-blue);
}

/* ===========================
   RESULTS / IMPACT SECTION
   =========================== */
.results {
  padding: 100px 20px;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

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

.results-number-wrapper {
  margin-bottom: 40px;
}

.results-number {
  font-size: clamp(60px, 15vw, 100px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--glow-blue);
  filter: drop-shadow(0 0 20px var(--glow-blue));
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.numbers-count {
  display: inline-block;
}

.numbers-suffix {
  font-size: 0.4em;
  letter-spacing: 2px;
  margin-left: 8px;
}

.results-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.results-subtext {
  font-size: 1.1rem;
  color: var(--blue-1);
  margin-bottom: 25px;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.results-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes numberGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px var(--glow-blue));
  }
  50% {
    filter: drop-shadow(0 0 40px var(--glow-blue));
  }
}

@media (max-width: 768px) {
  .results {
    padding: 60px 20px;
  }

  .results-number {
    font-size: 50px;
  }

  .results-heading {
    font-size: 1.8rem;
  }

  .results-subtext {
    font-size: 1rem;
  }

  .results-description {
    font-size: 0.95rem;
  }
}

/* ===========================
   THUMBNAILS SCROLL MOVEMENT SECTION
   =========================== */
.thumbnails-section {
  padding: 100px 20px;
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.scroll-movement-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.item-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.movement-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid var(--border-light);
  opacity: 0;
  filter: brightness(0.8);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.movement-item:hover {
  opacity: 1;
  filter: brightness(1);
  border-color: var(--blue-1);
  box-shadow: 0 0 30px var(--glow-blue);
  transform: translateY(-10px) !important;
}

/* Left column: items enter from bottom-left */
.column-left .movement-item {
  animation: slideInBottomLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.column-left .movement-item:nth-child(1) {
  animation-delay: 0.1s;
}

.column-left .movement-item:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes slideInBottomLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Center column: items enter from top */
.column-center .movement-item {
  animation: slideInTop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.column-center .movement-item:nth-child(1) {
  animation-delay: 0.2s;
}

.column-center .movement-item:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right column: items enter from top-right */
.column-right .movement-item {
  animation: slideInTopRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.column-right .movement-item:nth-child(1) {
  animation-delay: 0.3s;
}

.column-right .movement-item:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes slideInTopRight {
  from {
    opacity: 0;
    transform: translateX(80px) translateY(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Pause initial animations until scroll */
.thumbnails-section:not(.animate-scroll) .movement-item {
  animation-play-state: paused;
}

.thumbnails-section.animate-scroll .movement-item {
  animation-play-state: running;
}

@media (max-width: 1024px) {
  .scroll-movement-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .thumbnails-section {
    padding: 60px 20px;
  }

  .scroll-movement-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .movement-item {
    aspect-ratio: 16 / 9;
  }
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  group: "portfolio";
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.05);
}

.portfolio-item:hover {
  transform: scale(1.3);
  z-index: 99;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.3) 0%,
    rgba(37, 99, 235, 0.3) 100%
  ); */
  opacity: 0;
  transition: opacity var(--transition-speed);
  z-index: 10;
}

.portfolio-item:hover::before {
  opacity: 1;
}

/* ===========================
   VIDEO CONTROLS
   =========================== */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-speed);
  font-size: 1.2rem;
  z-index: 20;
}

.video-mute-btn:hover {
  background: var(--blue-1);
  box-shadow: 0 0 15px var(--glow-blue);
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-video {
  transform: scale(1.12);
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.15) 0%,
    rgba(37, 99, 235, 0.15) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: blobFloat 8s ease-in-out infinite;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--blue-1);
  transition: all var(--transition-speed);
  font-size: 1.3rem;
}

.footer-links a:hover {
  background: var(--blue-1);
  color: white;
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===========================
   SCROLL REVEAL ANIMATION
   =========================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  animation: revealOnScroll 0.8s ease-out forwards;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 12px 12px;
    margin-top: 8px;
  }

  .nav-menu.active {
    max-height: 400px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    justify-content: center;
  }

  section {
    padding: 60px 20px;
  }

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

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 20px;
  }
  .hero-title {
    font-size: 1.8rem;
  }

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

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

  .floating-card {
    width: 120px;
    height: 120px;
    font-size: 0.85rem;
  }

  .floating-card i {
    font-size: 2rem;
  }

  .floating-logo {
    display: none;
  }
  body::before {
    display: none;
  }
}

/* ===========================
   SMOOTH SCROLLING
   =========================== */
@supports (scroll-behavior: smooth) {
  html {
    scroll-behavior: smooth;
  }
}

/* ===========================
   CUSTOM CURSOR
   =========================== */
:root {
  --cursor-x: 0;
  --cursor-y: 0;
}

* {
  cursor: none;
}

a,
button,
.portfolio-item,
.service-card,
.why-us-card,
.video-mute-btn {
  cursor: pointer;
}

/* ===========================
   RIPPLE EFFECT
   =========================== */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
