/* ═══════════════════════════════════════════════════════════════
   style.css — VK Innovative Technologies
   Save this file as: style.css
   Link in HTML: <link rel="stylesheet" href="style.css"/>
═══════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES (Design Tokens) ── */
:root {
  --primary:  #0a0f2c;
  --accent:   #00d4ff;
  --accent2:  #7b2fff;
  --surface:  #111827;
  --card-bg:  #161e30;
  --text:     #e2e8f0;
  --muted:    #8899aa;
  --border:   rgba(0, 212, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--primary);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  background: rgba(230, 231, 235, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-vk   { color: var(--accent); }
.brand-rest { color: #fff; }

.navbar-nav .nav-link {
  color: var(--muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(0, 212, 255, 0.08);
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2300d4ff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-glow {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 212, 255, 0.5);
  color: #fff;
}

.btn-outline-glow {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 0.72rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-glow:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(123, 47, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0, 212, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Circuit grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Floating Chip Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chip-box {
  width: 260px;
  height: 260px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
  background: var(--card-bg);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.1), inset 0 0 40px rgba(123, 47, 255, 0.05);
}

.chip-icon {
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.9;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.orbit-dot:nth-child(2) { top: -5px; left: 50%; }
.orbit-dot:nth-child(3) { bottom: -5px; right: 30%; }
.orbit-dot:nth-child(4) {
  left: -5px;
  top: 40%;
  background: var(--accent2);
  box-shadow: 0 0 10px var(--accent2);
}

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

/* ════════════════════════════════════════
   SECTION GENERIC STYLES
════════════════════════════════════════ */
section {
  padding: 100px 0;
}

.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ════════════════════════════════════════
   STATS CARDS
════════════════════════════════════════ */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-num.stat-green  { color: #22c55e; }
.stat-num.stat-orange { color: #f97316; }

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* ════════════════════════════════════════
   CATEGORY CARDS
════════════════════════════════════════ */
#categories {
  background: var(--surface);
}

.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 212, 255, 0.12);
  color: inherit;
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.cat-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cat-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.cat-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
}

/* ════════════════════════════════════════
   PROJECT CARDS
════════════════════════════════════════ */
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.1);
}

.project-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.project-body {
  padding: 1.25rem;
}

.project-body h6 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.project-body p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  margin: 0;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin: 0.5rem 0.25rem 0 0;
  letter-spacing: 0.4px;
}

/* ════════════════════════════════════════
   FILTER TABS
════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

/*==============================
picture 
*/


/* ════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════ */
.about-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-check {
  font-size: 0.9rem;
}

/* ════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════ */
.contact-section {
  background: var(--surface);
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 0.7rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--muted) !important;
}

label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  display: block;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-newsletter-text {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-right: 0.5rem;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}

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

.footer-bottom p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ════════════════════════════════════════
   SCROLL TO TOP BUTTON
════════════════════════════════════════ */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

#scrollTop.visible { opacity: 1; }

#scrollTop:hover { transform: translateY(-3px); }

/* ════════════════════════════════════════
   COLOR UTILITY CLASSES
════════════════════════════════════════ */
.c-cyan   { color: var(--accent); }
.c-purple { color: var(--accent2); }
.c-green  { color: #22c55e; }
.c-orange { color: #f97316; }
.c-pink   { color: #ec4899; }

.bg-cyan   { background: rgba(0,   212, 255, 0.12); }
.bg-purple { background: rgba(123,  47, 255, 0.12); }
.bg-green  { background: rgba(34,  197,  94, 0.12); }
.bg-orange { background: rgba(249, 115,  22, 0.12); }
.bg-pink   { background: rgba(236,  72, 153, 0.12); }

.tag-cyan   { background: rgba(0,   212, 255, 0.12); color: var(--accent); }
.tag-purple { background: rgba(123,  47, 255, 0.12); color: var(--accent2); }
.tag-green  { background: rgba(34,  197,  94, 0.12); color: #22c55e; }
.tag-orange { background: rgba(249, 115,  22, 0.12); color: #f97316; }
.tag-pink   { background: rgba(236,  72, 153, 0.12); color: #ec4899; }

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  .chip-box {
    width: 200px;
    height: 200px;
  }

  section {
    padding: 70px 0;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .filter-tabs {
    gap: 0.35rem;
  }

  .filter-btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
  }
}




/* Navbar */
.navbar {
    padding: 8px 10px;
    background: #101038;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Logo */
.navbar-logo {
    width: 320px;      /* Adjust as needed */
    height: 100px;      /* Keeps aspect ratio */
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-logo {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 160px;
    }
}


/* Modal Background Overlay */
.custom-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(16, 16, 54, 0.6); /* Translucent dark blue overlay */
    align-items: center;
    justify-content: center;
}

/* Modal Box */
.modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

/* Top Corner Close Cross */
.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.close-btn:hover {
    color: #333;
}

/* Modal Elements styling */
.modal-thumb {
    font-size: 40px;
    margin-bottom: 15px;
}
.modal-description {
    font-size: 14px;
    color: #666;
    margin: 15px 0 25px 0;
    line-height: 1.5;
}

/* Button Layout */
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Buy Now Button */
.btn-buy {
    background-color: #00d4ff;
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-buy:hover {
    background-color: #00b2d6;
}

/* Bottom Close Button */
.btn-close {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-close:hover {
    background-color: #e2e2e2;
}

/* Quick Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.home1 {
    width: 300px;                  /* Set a fixed square width */
    height: 300px;                 /* Set the exact same height */
    object-fit: fill;             /* Prevents the image from stretching */
    border-radius: 50%;            /* Makes the image a perfect circle */
    border: 4px solid #00d2ff;     /* Glowing cyan border matching your theme */
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6); /* Adds a futuristic neon glow */
    display: block;                /* Clears surrounding inline spacing */
    
    /* NEW: Animation link */
    animation: moveSideToSide 4s ease-in-out infinite alternate;
}

/* NEW: Side-to-side transformation rules */
@keyframes moveSideToSide {
    0% {
        transform: translateX(-15px) /* Moves slightly left */
    }
    100% {
        transform: translateX(15px);  /* Moves slightly right */
    }
}
/* Tighten the main dropdown box container size */
.dropdown-menu {
    background-color: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* REMOVE EXTERNAL SIZE */
    min-width: auto !important; /* Forces the box to shrink-wrap around the text */
    padding-top: 4px !important;  /* Removes large empty space at the top */
    padding-bottom: 4px !important; /* Removes large empty space at the bottom */
}

/* Tighten the links inside the dropdown box */
.dropdown-item {
    color: #cbd5e1 !important;
    font-size: 14px;
    transition: all 0.2s ease;
    
    /* REMOVE INTERNAL EXTRAS */
    padding: 6px 16px !important; /* Brings the text closer together vertically */
}

/* Style changes when you hover mouse over an item */
.dropdown-item:hover {
    background-color: rgba(0, 229, 255, 0.1) !important;
    color: #00e5ff !important;
}

/* ════════════════════════════════════════
   MOBILE MENU TAP FIX
════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar {
    /* Forces mobile graphics processors to isolate the navbar layer */
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);
  }
  
  .navbar-toggler {
    position: relative;
    z-index: 1050 !important; /* Pushes the 3-line button above everything else */
    pointer-events: auto !important; /* Guarantees the touch registers on the button */
  }

  .navbar-collapse {
    position: relative;
    z-index: 1040 !important;
  }
}






