/* = RESET & BASE = */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  font-family:'Inter',sans-serif;
  background: linear-gradient(120deg,#fff,#ebfefe 85%);
  color:#222;
  line-height:1.6;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;display:block;border-radius:10px}

/* Modern neon font headings */
h1,h2,h3{
  font-family:'Poppins',sans-serif;
  letter-spacing:0.06em;
  text-shadow:0 2px 8px #00fff76d;
}

/* Hero heading with glowing neon serif */
.hero h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  text-shadow:0 0 24px #7cf9f2a8;
}

a { cursor: pointer; }
ul { list-style: none; }

:root{
  --primary:grayscale;    /* neon cyan */
  --accent:#00fff7;     /* neon magenta */
  --light-bg:#fff;
  --card-bg: rgba(255,255,255,0.92);
  --card-glass: rgba(255,255,255,0.18);
  --glass-border: rgba(233,72,255,0.24);
  --neon-glow: 0 0 12px #00fff7, 0 0 24px;
  --nav-bg: rgba(250,250,255,0.86);
  --dark-text:#1c1c1c;
}

/* ===== NAV / HEADER ===== */
header {
  background: var(--nav-bg);
  color: #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px grayscale45;
  border-bottom: 2px solid var(--accent);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: #fff;
  box-shadow: 0 4px 35px #00fff74d;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
nav .logo h1 {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 1.7px;
  user-select: none;
  font-variant: small-caps;
  color: var(--accent);
  text-shadow: var(--neon-glow);
}
nav ul {
  display: flex;
  font-weight: 600;
  letter-spacing: 0.07em;
}
nav ul li {
  margin-left: 28px;
  transition: transform 0.2s ease;
  position: relative;
}
nav ul li:hover {
  transform: translateY(-2px) scale(1.05);
}
nav ul li a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s ease, box-shadow 0.3s;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg,var(--primary),var(--accent));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.33s cubic-bezier(.68,-0.55,.27,1.55);
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0px 8px 22px #00fff76a;
  border-radius: 10px;
  min-width: 220px;
  padding: 10px 0;
  z-index: 999;
  border: 1.5px solid var(--accent);
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--dark-text);
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.3s, box-shadow 0.3s;
}
.dropdown-menu li a:hover {
  background: linear-gradient(90deg,#f6faff,#e0f8fc 100%);
  color: var(--primary);
  box-shadow: 0 0 16px var(--primary);
}
.dropdown:hover .dropdown-menu {
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--accent);
  transition: color 0.2s;
}
.menu-toggle:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  nav {
    padding: 12px 10px;
  }
  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 18px 0;
    box-shadow: 0 4px 18px #f64dff25;
    border-top: 2.5px solid var(--primary);
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    margin: 14px 0;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
    border: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding: 12px;
  }
}

/* ========================
   HERO SECTION
======================== */
.hero {
  padding: 110px 20px 130px;
  text-align:center;
  background: 
    linear-gradient(90deg,rgba(245,255,255,0.97) 70%,rgba(254,255,255,0.8) 100%),
    url('https://images.unsplash.com/photo-1558655146-d09347e92766?auto=format&fit=crop&w=1600&q=80') center/cover fixed no-repeat;
  color:#13c5c3;
  position: relative;
  box-shadow: 0 0 24px #00fff76b;
  animation: fade-in 1.1s cubic-bezier(.33,1.02,.54,.97) both;
}
.hero h2 {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero p {
  font-size:1.28em;
  max-width:650px;
  margin:auto;
  margin-bottom:40px;
  color: #222;
  font-weight: 500;
}
.btn{
  display:inline-block;
  background: linear-gradient(90deg,var(--primary),var(--accent) 85%);
  color: var(--dark-text);
  padding: 18px 46px;
  border-radius: 36px;
  font-weight: 700;
  font-size: 1.08em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 6px 26px #f64dff55;
  border:2px solid var(--primary);
}
.btn:hover{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 36px #00fff7a2,0 0 20px #f64dff6d;
  transform: translateY(-3px) scale(1.04);
}

/* Fade-in for all sections */
section {
  padding: 82px 24px 82px;
  max-width: 1200px;
  margin: auto;
  animation: fade-in 1.4s cubic-bezier(.42,1.52,.58,.94) both;
  user-select:none;
}

@keyframes fade-in {
  0%{opacity:0;transform:translateY(36px);}
  100%{opacity:1;transform:translateY(0);}
}

h2 {
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 30px;
  color: var(--accent);
  letter-spacing: 0.08em;
  user-select:none;
  text-shadow: 0 2px 10px #00fff786;
}

p,a,ol{
  max-width: 750px;
  margin: auto;
  font-size: 1.16em;
  color: #222;
  line-height: 1.7;
}
.services, .portfolio, .demo-gallery, .testimonials, .partners {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-top: 22px;
}
.card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border-radius: 18px;
  padding: 38px 24px 30px;
  border: 2px solid var(--glass-border);
  color: #2d2d2d;
  box-shadow: 0 8px 35px #00fff722;
  flex: 1 1 320px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.28s, box-shadow 0.26s;
  position: relative;
  user-select:none;
}
.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 18px 50px var(--accent),0 0 45px var(--primary);
  border-color: var(--primary);
  cursor: default;
}
.card h3 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: 1.9em;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px var(--primary);
}
.card p {
  font-size: 1.08em;
  color: #555;
  line-height: 1.6;
}
.card i {
  font-size: 3.6em;
  color: var(--primary);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 6px var(--primary));
}
.card img {
  margin-top: 12px;
}

#about p{
  max-width: 850px;
  margin: auto;
  font-weight: 500;
  font-size: 1.13em;
  color: #222;
  user-select:none;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials {
  gap: 38px;
  margin-top: 38px;
}
.testimonial-card {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 28px 30px;
  border: 2px solid var(--glass-border);
  color: #2d2d2d;
  max-width: 430px;
  text-align: left;
  box-shadow: 0 10px 33px #00fff71a;
  transition: transform 0.26s, box-shadow 0.2s;
  user-select:none;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 15px 55px var(--primary), 0 0 19px var(--primary);
  border-color: var(--primary);
  transform: translateY(-10px) scale(1.01);
}
.testimonial-quote {
  font-style: italic;
  font-size: 1.13em;
  margin-bottom: 16px;
  color: #444;
}
.testimonial-author {
  font-weight: 700;
  color: var(--accent);
  user-select:none;
}

/* =========================
   PARTNERS LOGOS
========================= */
.partners {
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.partner-logo {
  transition: all 0.3s ease;
  width: 122px;
  height: 82px;
  object-fit: contain;
  user-select:none;
  filter: drop-shadow(0 0 12px var(--accent));
}
.partner-logo:hover {
  filter: drop-shadow(0 0 20px var(--primary));
  opacity: 1;
  transform: scale(1.13);
  cursor: pointer;
}

/* =========================
   CONTACT FORM
========================= */
form input, form textarea, form select {
  width: 100%;
  padding: 17px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 2px solid var(--glass-border);
  font-size: 1.1em;
  transition: border-color 0.26s;
  resize: vertical;
  font-family: inherit;
  box-shadow: 0 3px 18px #00fff71c;
  user-select:none;
  background: linear-gradient(90deg,#fff 85%,#f2e7fc 100%);
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 13px var(--primary);
}
form button {
  width: 100%;
  background: var(--accent);
  border: none;
  padding: 17px;
  color: #fff;
  font-weight: 700;
  font-size: 1.13em;
  border-radius: 30px;
  cursor: pointer;
  user-select:none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px var(--accent);
  transition: background 0.26s, box-shadow 0.26s;
}
form button:hover {
  background: var(--primary);
  box-shadow: 0 20px 50px var(--primary);
}

/* =========================
   FOOTER
========================= */
footer {
  background: #fff;
  color: var(--accent);
  text-align: center;
  padding: 26px 18px;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.09em;
  user-select:none;
  box-shadow: 0 -3px 24px var(--primary);
}

.hidden { display: none !important; }

/* Scroll bar custom styling */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg,var(--primary),var(--accent));
  border-radius: 11px;
  border: 4px solid #fff;
  background-clip: content-box;
}
::-webkit-scrollbar-track {
  background: #f3f4f7;
  border-radius: 11px;
}

/* Responsive Adjustments */
@media(max-width: 960px) {
  .services, .portfolio, .demo-gallery, .testimonials, .partners {
    justify-content: center;
  }
  .card {
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 22px;
  }
  nav {
    padding: 16px 9px;
  }
  .hero {
    padding: 74px 11px 98px;
    font-size: 15px;
  }
  .hero h2 {
    font-size: 2.35em;
  }
}
@media(max-width: 480px) {
  .hero h2 {
    font-size: 2em;
  }
  nav ul li {
    margin-left: 0;
  }
  nav ul li a {
    font-size: 1em;
  }
  .btn {
    padding: 13px 29px;
    font-size: 1.01em;
  }
}

/* Social icons, neon and white theme */
.social-handles {
  margin: 2.2rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}
.social-handles a {
  color: var(--accent);
  background: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  box-shadow: 0 4px 13px #00fff70f;
  transition: background 0.2s, color 0.2s, transform 0.17s, box-shadow 0.19s;
  border: 1.7px solid #eef4fb;
  text-decoration: none;
}
.social-handles a:hover,
.social-handles a:focus {
  background: linear-gradient(120deg,#f2e7fc 70%,grayscale 100%);
  color: #bfbfbf;
  transform: translateY(-2px) scale(1.10);
  box-shadow: 0 10px 36px #00fff769;
  border-color: var(--primary);
}
.social-handles i {
  pointer-events: none;
}

/* Typewriter section with neon accent border */
@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--accent); }
}
.typewriter-container {
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
#typewriter {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1.5em;
  width: 100%;
  max-width: 370px;
  display: block;
  line-height: 1.4;
  text-align: center;
  border-bottom: 2.5px solid var(--primary);
  animation: blink 1s infinite;
}

/* Section landing animation for all prominent sections (add '.fade-in' to other elements as needed) */
.fade-in { animation: fade-in 1.3s cubic-bezier(.42,1.52,.58,.94) both; }
.neon-blink {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-variant: small-caps;
  user-select: none;
  transition: color 0.3s ease;
  text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent), 0 0 20px var(--accent);
  animation: blinkNeon 1.2s infinite alternate;
}

@keyframes blinkNeon {
  0% {
    opacity: 1;
    text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent), 0 0 20px var(--accent);
  }
  100% {
    opacity: 0.4;
    text-shadow: none;
  }
}
.section-observe {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity .8s cubic-bezier(.45,1,.45,1), transform .8s cubic-bezier(.45,1,.45,1);
}
.section-observe.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
