/* Reset and base styles */
.is-hidden { display: none !important; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Ensure proper scroll offset for fixed header */
section[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: 'Exo 2', 'Inter', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Back to Top: show/hide + transitions */
.back-to-top {
  opacity: 0.9;
  transform: translateY(-50%) translateX(0); /* base transform */
  transition: opacity .25s ease, background .3s, transform .25s ease;
  z-index: 10000; /* above cards & video modal backdrop */
}
.back-to-top.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px); /* slide off edge a bit */
}

/* Mobile: change to bottom-right pill/fab for better tapping */
@media (max-width: 768px) {
  .back-to-top {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    right: 16px;
    bottom: 16px;
    top: auto;
    transform: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    letter-spacing: 1.5px;
  }
}




/* Custom Cursor */
* {
  cursor: none;
}

.cursor {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  background: transparent;
}

.cursor-follower {
  position: fixed;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.1s ease;
  background: transparent;
}

.cursor.hover {
  transform: scale(1.2);
  border-color: #ffffff;
}

.cursor-follower.hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/*.cursor.nav-hover {*/
/*  transform: scale(2.0);*/
/*  border-color: #ffffff;*/
/*  border-width: 3px;*/
/*}*/

/*.cursor-follower.nav-hover {*/
/*  transform: scale(1.8);*/
/*  border-color: rgba(255, 255, 255, 0.7);*/
/*  border-width: 2px;*/
/*}*/


/* Background video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.4;
}

/* Dark overlay for better text readability */
#bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 100, 255, 0.3);
  z-index: 1000;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;  
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column; /* stack tagline over brand name */
  line-height: 1.05;
  margin-left:10px;
}

/* Top line */
.brand .tagline {
  font-size: 25px;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Bottom line (smaller) */
.brand .brand-name {
  font-family: 'Orbitron', monospace;
  font-weight: 400;
  font-size: 10px;     /* smaller than tagline */
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top:6px;
}

.brand .logo {
  height: 75px;
    width: 75px;
}

.brand span {
  color: #ffffff;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a[href="#works"] {
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

nav a[href="#works"]:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
}

nav a:hover {
  color: #00ffff;
}

/* Removed underline effect for navigation links */

.admin-btn {
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: #00ffff !important;
  border: 2px solid #00ffff;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  box-shadow: 
    0 0 10px #00ffff,
    inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.admin-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.admin-btn:hover::before {
  left: 100%;
}

.admin-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 0 20px #00ffff,
    0 0 40px #00ffff,
    0 8px 20px rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
}

.admin-btn::after {
  display: none;
}

/* Main content */
main {
  margin-top: 80px;
}

/* Hero section */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(77, 166, 255, 0.1) 100%);
  border-radius: 20px;
  margin: 2rem 0;
  min-height: 55vh;
  padding-bottom:-5%!important;
  display: flex;
  align-items: center;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #00ffff;
  box-shadow: 
    0 0 10px #00ffff,
    0 0 20px #00ffff,
    inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.btn-primary::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-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 0 20px #00ffff,
    0 0 40px #00ffff,
    0 0 60px #00ffff,
    inset 0 0 30px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #0066ff;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #4da6ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary:hover {
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.3);
  border-color: #4da6ff;
}

.btn-secondary:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}

.title {
  font-family: 'Orbitron', monospace;
  font-size: 4.5rem;
  font-weight: 900;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 4px;
  /*margin-bottom: 1.5rem;*/
  line-height: 1.1;
  position: relative;
}

@keyframes glow-pulse {
  from {
    text-shadow: 
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 40px #00ffff,
      0 0 80px #00ffff,
      0 0 120px #00ffff;
  }
  to {
    text-shadow: 
      0 0 5px #00ffff,
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 40px #00ffff,
      0 0 60px #00ffff;
  }
}

.subtitle {
 font-size: 18px;
    color: #ffffff;
    margin-bottom: 2.5rem;
     max-width: 1400px; 
    /* margin-left: auto; */
    /* margin-right: auto; */
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    letter-spacing: 0.8px;
    line-height: 1.6;
}

/* Filters */
.filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.chip {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.chip:hover::before {
  left: 100%;
}

.chip:hover,
.chip.active {
  background: transparent;
  color: #00ffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
  border-color: #00ffff;
}

.chip:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

/* Banner section */
.banner-section {
  background: 
    linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%),
    rgba(0, 0, 0, 0.3);
  padding: 3rem 0;
  margin: 2rem 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.1),
    inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #00ffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb .separator {
  color: #666;
  font-weight: 300;
}

.breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

.banner-title {
  font-family: 'Orbitron', monospace;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner-subtitle {
  font-size: 1.3rem;
  color: #cccccc;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  font-size: 1.3rem;
  color: #cccccc;
  max-width: 1200px;
  margin: -10px auto;
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Work section */
.work-section {
  padding: 4rem 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.card img,
.card video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card video {
  cursor: pointer;
}

.card video:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.card h3 {
  color: #ffffff;
  margin: 1rem 0 0.5rem 0;
  font-size: 1.1rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Card h3 styles removed since we're not showing titles */

.placeholder-media {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
  border: 2px dashed rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* (modal styles removed) */
/* Video modal (minimal) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 12000;
}

.modal-overlay.active { display: block; }

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1000px);
  max-height: 90vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 12001;
}

.modal-content video { width: 100%; height: auto; max-height: 85vh; display: block; }

.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

body.modal-open { overflow: hidden; }

.placeholder-media:hover {
  border-color: rgba(0, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.placeholder-media p {
  color: #00ffff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Work description styles removed since we're not showing descriptions */

/* Services */
.services {
  padding: 4rem 0;
  text-align: center;
}

.services h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #00ffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #00ffff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mission section */
.mission {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  margin: 2rem 0;
}

.mission h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 3rem;
  text-align: center;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
}

.mission-content h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mission-content p {
  margin-bottom: 1.5rem;
  color: #cccccc;
  line-height: 1.8;
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.why-choose {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(0, 102, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature h4 {
  color: #4da6ff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.services-overview,
.it-security {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(77, 166, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(77, 166, 255, 0.2);
}

.company-details {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item strong {
  color: #4da6ff;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  margin: 2rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h3 {
  color: #00ffff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4da6ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/* Contact form submit button */
.contact-form button[type="submit"] {
  background: linear-gradient(45deg, #4da6ff, #4da6ff);
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.contact-form button[type="submit"]::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;
}

.contact-form button[type="submit"]:hover::before {
  left: 100%;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
  background: linear-gradient(45deg, #0052cc, #3399ff);
}

.contact-form button[type="submit"]:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #cccccc;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  color: #00ffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00ffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  font-size: 0.9rem;
}

/* Additional button animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Special animation classes for buttons */
.btn-pulse {
  animation: pulse 2s infinite;
}

.btn-bounce:hover {
  animation: bounce 1s;
}

.btn-shake:hover {
  animation: shake 0.5s;
}

/* Floating animation for hero buttons */
.hero-cta .btn-primary {
  animation: float 3s ease-in-out infinite;
}

.hero-cta .btn-secondary {
  animation: float 3s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Glow effect for active states */
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.6), 0 0 40px rgba(0, 102, 255, 0.4);
}

/* Utility classes */
.muted {
  color: #666;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;   /* <-- causes logo + nav to stack/center */
    gap: 1rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .filters {
    gap: 0.5rem;
  }
  
  .chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Hide video background on mobile for better performance */
  #bg-video {
    display: none;
  }
  
  /* Add fallback background for mobile */
  body {
    background: linear-gradient(135deg, #000000 0%, #0a0a1a 50%, #001122 100%);
  }
}

.card h3 {
  color: #ffffff;
  margin: 1rem 0 0.5rem 0;
  font-size: 16px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}


/* Show custom cursor only on devices with a fine pointer (desktop/mouse) */
@media (pointer: fine) and (hover: hover) {
  * { cursor: none; }               /* hide system cursor only on desktop */
  .cursor, .cursor-follower { display: block; }
}

/* On touch devices, keep normal cursor and hide the custom elements */
@media (pointer: coarse), (hover: none) {
  .cursor, .cursor-follower { display: none !important; }
}

/* Header sizing on large screens */
.site-header { padding: 0.9rem 0; }
nav.site-nav { display: flex; gap: 2rem; align-items: center; }

.nav-toggle {
  display: none;
  width: 65px;
  height: 46px;
  border: none;
  background: transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;                 /* space between bars */
  cursor: pointer;
}

.nav-toggle .bar {
    width: 38px;
    height: 5px;
  background: #00ffff;      /* cyan color to match theme */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate into X when open */
.nav-toggle.is-open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}



@media (max-width:992px){ .nav-toggle{ display:inline-flex; } }
.nav-toggle.is-open .bar:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2){ opacity:0; }
.nav-toggle.is-open .bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }


/* Mobile panel (closed by default) */
.site-nav {
  transition: transform .28s ease, opacity .2s ease;
}

/* <= 992px: switch to drawer nav */
@media (max-width: 992px) {
  .site-header .container{
    flex-direction:row;        /* ensure left-right, not column */
    gap:0;
    padding-inline:16px;
  }
   .brand .logo {
    height: 100px; /* smaller for phones */
    width: 100px;
  }
  .brand .tagline { font-size: 30px; }
  .brand .brand-name { font-size: 15px; }

   .nav-toggle {
    display: flex;
    margin-left: auto; /* keep it on the right */
  }
  .mission-content h3{
      font-size:18px;
  }

  .site-nav{
    position:fixed; top:90px; left:0; right:0;
    font-size:18px;
    background:rgba(0,0,0,.96);
    display:flex; flex-direction:column;
    gap:6px; padding:12px 18px 24px;
    transform:translateY(-16px); opacity:0; pointer-events:none;
    transition:transform .28s ease, opacity .2s ease;
  }
  .site-nav.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
}
  .site-nav a {
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 10px;
  }
  .site-nav a:active { background: rgba(255,255,255,0.06); }

  /* Open state */
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Burger -> X animation */
  .nav-toggle.is-open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* Section spacing & text sizes for small screens */
@media (max-width: 768px) {
  main { margin-top: 64px; }                 /* shorter header on mobile */
  
  .services {
    margin-top: -12%!important;
    text-align: justify;
}
  
  .hero {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(77, 166, 255, 0.1) 100%);
  border-radius: 20px;
  margin: 2rem 0;
  min-height: 50vh!important;
  display: flex;
  align-items: center;
}
  .title { font-size: 2.2rem; letter-spacing: 2px; }
  .subtitle { font-size: 1rem; margin-left: 0; margin-right: 0; }

  .section-header h2 { font-size: 20px!important; margin-top:-2%; }
  .section-header p { 
      font-size: 18px; 
      
  }
  .subtitle{
      font-size:18px;
      text-align:justify;
  }

  .brand { gap: 8px; }
  .brand .tagline { font-size: 35px; }
  .brand .brand-name { font-size: 15px; }
}

/* Grids tightening */
@media (max-width: 1024px) and (min-width: 769px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .work-section {
    margin-top:-14%;
}
.hero{
    padding-bottom: 6%;
    padding-top: 24%;
    margin-bottom: 12%;
}
.service {
    text-align:justify!important;
    padding-top:6%!important;
    padding-bottom:-3%;
}
.mission {
    text-align:justify!important;
    margin-top:-2%!important;
}
 
  .work-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .card img, .card video { height: 210px; }
  .contact-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .filters { gap: 0.5rem; }
  .chip { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
  .banner-title { font-size: 1.8rem; }
  .banner-subtitle { font-size: 0.95rem; }
  .footer-content, .footer-links { grid-template-columns: 1fr; }
}

/* Increase tap targets a bit */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary { width: 100%; max-width: 420px; }
  nav a[href="#works"] { transform: none; box-shadow: none; } /* avoid jump on tap */
}

/* default: desktop shows split paras, mobile merged */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; text-align:justify;font-size: 18px!important}
  .subtitle { margin-top: 0; }
}

/* ==== Back-to-Top • Progress Ring ==== */
.top-btn{
  position: fixed; bottom: 28px; right: 28px;
  width: 55px; height: 55px; border-radius: 50%;
  display: none;                    /* shown via JS */
  place-items: center;              /* center arrow */
  font: 800 24px/1 'Orbitron', sans-serif;
  color: #ffffff; text-decoration: none;
  z-index: 2147483647;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, opacity .2s ease;
}

.top-btn--progress{
  background: radial-gradient(circle at 50% 50%, #0b1c2e 62%, transparent 63%);
  box-shadow: 0 0 18px rgba(0,229,255,.35);
  position: fixed;
}

/* Progress ring using conic-gradient; --p set from JS */
.top-btn--progress::before{
  content:""; position:absolute; inset:-4px; border-radius:50%;
  background: conic-gradient(#00eaff var(--p,0%), rgba(255,255,255,.12) 0);
  /* cut out the center to form a ring */
  -webkit-mask: radial-gradient(farthest-side, transparent 72%, #000 73%);
          mask: radial-gradient(farthest-side, transparent 80%, #000 73%);
  box-shadow: 0 0 24px rgba(0,229,255,.25);
}

.top-btn:hover{ transform: translateY(-6px) scale(1.05); filter: drop-shadow(0 0 10px #00eaff); }

/* Optional: subtle bob */
@media (prefers-reduced-motion: no-preference){
  .top-btn{ animation: topBob 3s ease-in-out infinite; }
  @keyframes topBob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-4px) } }
}

/* Make sure any old .back-to-top styles don’t win */
.back-to-top{ display:none !important; }


/* ===== Movies / Posters Slider (full CSS) =============================== */

/* Section frame */
.movies-section{          /* match site bg */
  padding:3rem 0 2.25rem;
  text-align:center;
  overflow:visible;         /* let OUTER arrows show beyond the slider */
}

.movies-title{
  font-family:'Orbitron',sans-serif;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#fff;
  font-size:1.6rem;
  margin:0 0 1.6rem;
}

/* Viewport: positioning context for arrows & fades */
.movies-viewport{
  position:relative;
  max-width:1200px;         /* optional – keep in line with your .container */
  margin-inline:auto;
  padding-inline:4px;       /* tiny inset so fades sit flush */
}

/* The ONLY scrolling element */
.movies-slider{
  position:relative;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -ms-overflow-style:none;  /* IE/old Edge */
  scrollbar-width:none;     /* Firefox */
}
.movies-slider::-webkit-scrollbar{ display:none; } /* WebKit */

/* Track and items */
.movie-track{
  display:flex;
  gap:20px;                 /* ← keep in sync with any JS `gap` */
  padding:2px 4px 10px;
  width:max-content;        /* grow to fit all items */
}

.movie-track a{ display:block; }

.movie-track img{
  width:220px;
  height:320px;
  object-fit:cover;
  border-radius:14px;
  user-select:none;
  pointer-events:auto;
  box-shadow:0 10px 22px rgba(0,0,0,.45);
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
  will-change:transform;
}

.movie-track img:hover{
  transform:translateY(-3px) scale(1.035);
  box-shadow:0 16px 32px rgba(0,0,0,.55);
  filter:saturate(1.05);
}

/* ===== OUTER arrows ================================================ */
/* We translate on X so the circles sit OUTSIDE the viewport edges */
.mv-arrow{
  position:absolute;
  top:50%;
  transform:translate(var(--x), -50%);
  width:48px; height:48px;
  border:none; border-radius:50%;
  display:grid; place-items:center;
  color:#fff;
  background: radial-gradient(circle at 30% 30%, #00c6ff, #0077ff 72%);
  box-shadow:0 0 16px rgba(0,198,255,.55);
  cursor:pointer;
  z-index:5;
  opacity:.95;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.mv-left  { left:0;  --x:-130%; }  /* push outside (tweak % as you like) */
.mv-right { right:0; --x: 130%; }

.mv-arrow:hover{
  transform:translate(var(--x), -50%) scale(1.08);
  box-shadow:0 0 20px rgba(0,234,255,.9);
  opacity:1;
}

.mv-arrow:focus-visible{
  outline:2px solid #00eaff;
  outline-offset:4px;
}

/* Optional SVG/character size inside arrow */
.mv-arrow > svg,
.mv-arrow > span{
  font-size:18px;
  line-height:1;
  pointer-events:none;
}

/* ===== Edge fades (nice visual mask at the ends) ==================== */
.mv-fade{
  position:absolute; top:0; bottom:0;
  width:90px;
  pointer-events:none;
  z-index:4;
}
.mv-fade-left  { left:0;  background:linear-gradient(90deg,  rgba(0,0,0,.85), rgba(0,0,0,0)); }
.mv-fade-right { right:0; background:linear-gradient(270deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }

/* ===== Dragging feedback (optional; add/remove .is-dragging in JS) == */
.movies-slider.is-dragging{ cursor:grabbing; }
.movies-slider.is-dragging .movie-track img{ pointer-events:none; }

/* ===== Responsive ==================================================== */
@media (max-width: 1024px){
  .movie-track img{ width:190px; height:276px; }
  .mv-arrow{ width:44px; height:44px; }
  .mv-left  { --x:-120%; }
  .mv-right { --x: 120%; }
  .mv-fade{ width:80px; }
}

@media (max-width: 768px){
  .movies-title{ font-size:1.2rem; letter-spacing:.16em; }
  .movie-track{ gap:16px; }
  .movie-track img{ width:150px; height:210px; border-radius:12px; }
  .mv-arrow{ width:40px; height:40px; }
  .mv-left  { --x:-95%;  }          /* bring arrows closer on small screens */
  .mv-right { --x: 95%;  }
  .mv-fade{ width:58px; }
}

@media (max-width: 420px){
  .movie-track img{ width:138px; height:192px; }
  .mv-arrow{ width:36px; height:36px; }
  .mv-left  { --x:-90%; }
  .mv-right { --x: 90%; }
}



/* --- Mission / Social links --- */
.social-links {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.social-links h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .4px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.social-btn .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* IMDb (yellow on dark) */
.social-imdb {
  background: linear-gradient(135deg, #f5c518 0%, #b7940f 100%);
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.2);
}

/* LinkedIn (brand blue) */
.social-linkedin {
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.15), 0 6px 18px rgba(0,0,0,.35);
  filter: brightness(1.02);
}

/* Mobile */
@media (max-width: 768px) {
  .social-btn { width: 100%; justify-content: center; }
}
