/* = RESET & BASE = */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  font-family:'Inter',sans-serif;
  /* New professional gradient + tech image overlay */
  background:
    linear-gradient(145deg, rgba(34,38,47,0.9), rgba(58,65,83,0.92)),
    url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80') center/cover fixed no-repeat;
  background-attachment: fixed;
  color:#2d2d2d;
  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}

/* Beautiful fonts for headings */
h1,h2,h3{
  font-family:'Poppins',sans-serif;
  letter-spacing:0.05em;
  text-shadow:0 2px 6px rgba(0,0,0,0.25);
}

/* Special elegant serif for hero heading */
.hero h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

a { cursor: pointer; }
ul { list-style: none; }

/* Color Palette */
:root{
  --primary:#e9685d; /* coral */
  --secondary:#5E4AE3; /* purple */
  --accent:#00fff7; /* neon cyan */
  --light-bg:#faf7f4;
  --dark-text:#2d2d2d;
  --glass-bg: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.3);
}

/* ===== NAV / HEADER ===== */
header {
  background: rgba(43, 61, 91, 0.92); /* semi-transparent deep navy */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: rgba(43, 61, 91, 0.98); /* darker on scroll */
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
nav .logo h1 {
  margin: 0;
  font-size: 1.9em;
  font-weight: 700;
  letter-spacing: 1.4px;
  user-select: none;
  font-variant: small-caps;
  color: var(--accent);
}
/* Navigation links */
nav ul {
  display: flex;
  list-style: none;
  user-select: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}
nav ul li {
  margin-left: 24px;
  transition: transform 0.2s ease;
  position: relative;
}
nav ul li:hover {
  transform: translateY(-1px);
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color 0.3s ease;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}
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: rgba(43, 61, 91, 0.98);
  box-shadow: 0px 6px 14px rgba(0,0,0,0.25);
  border-radius: 8px;
  min-width: 200px;
  padding: 8px 0;
  z-index: 999;
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-menu li a:hover {
  background: var(--accent);
  color: #fff;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  color: #fff;
}
.menu-toggle:hover {
  color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }
  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background: rgba(43, 61, 91, 0.98);
    border-radius: 0 0 12px 12px;
    padding: 18px 0;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    margin: 12px 0;
    text-align: center;
  }
  .menu-toggle {
    display: block;
  }

  /* Mobile dropdown styles */
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding: 10px;
  }
}


    /* =========================
    /* ===== HERO ===== */
.hero {
  padding: 100px 20px 120px;
  text-align:center;
  background:
    linear-gradient(120deg, rgba(47,55,75,0.85), rgba(79,111,173,0.8)),
    url('https://images.unsplash.com/photo-1558655146-d09347e92766?auto=format&fit=crop&w=1600&q=80') center/cover fixed no-repeat;
  color:#fff;
  position: relative;
}
.hero h2 {
  font-size: 3.1em;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero p {
  font-size:1.25em;
  max-width:650px;
  margin:auto;
  margin-bottom:32px;
}
.btn{
  display:inline-block;
  background: var(--accent);
  color: var(--dark-text);
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05em;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn:hover{
  background: #d6a832;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
    /* =========================
       SECTIONS COMMON
    ========================= */
    section {
      padding: 80px 20px 80px;
      max-width: 1200px;
      margin: auto;
      user-select:none;
    }
    h2 {
      text-align: center;
      font-size: 2.6em;
      margin-bottom: 24px;
      color: var(--primary);
      user-select:none;
      letter-spacing: 0.06em;
    }
    p,a,ol{
      max-width: 750px;
      margin: auto;
      font-size: 1.1em;
      color: white;
      line-height: 1.7;
    }
    /* Cards shared style */
    .services, .portfolio, .demo-gallery, .testimonials, .partners {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
      margin-top: 20px;
    }
    .card {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      border-radius: 14px;
      padding: 30px 20px 24px;
      border: 1.5px solid var(--glass-border);
      color: #fff;
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
      flex: 1 1 300px;
      max-width: 330px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      user-select:none;
    }
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 16px 40px rgba(0, 255, 255, 0.55);
      border-color: var(--accent);
      cursor: default;
    }
    .card h3 {
      margin-top: 14px;
      margin-bottom: 12px;
      font-size: 1.8em;
      font-weight: 700;
      color: #fff;
      text-shadow: 0 0 6px rgba(0, 255, 255, 0.7);
    }
    .card p {
      font-size: 1em;
      color: #e0e0e0;
      line-height: 1.5;
    }
    .card i {
      font-size: 3.6em;
      color: var(--accent);
      margin-bottom: 12px;
      filter: drop-shadow(0 0 4px var(--accent));
    }
    .card img {
      margin-top: 12px;
    }

    /* =========================
       ABOUT US
    ========================= */
    #about p{
      max-width: 850px;
      margin: auto;
      font-weight: 500;
      font-size: 1.15em;
      color: white;
      user-select:none;
    }

    /* =========================
       SERVICES SECTION (8 cards)
    ========================= */

    /* will add icons inside cards */

    /* =========================
       PORTFOLIO SECTION (8 projects)
    ========================= */

    /* =========================
       TESTIMONIALS (5 blocks)
    ========================= */

    .testimonials {
      gap: 36px;
      margin-top: 32px;
    }
    .testimonial-card {
      background: var(--glass-bg);
      backdrop-filter: blur(14px);
      border-radius: 20px;
      padding: 24px 26px;
      border: 1.5px solid var(--glass-border);
      color: #fff;
      max-width: 400px;
      text-align: left;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      user-select:none;
      position: relative;
    }
    .testimonial-card:hover {
      box-shadow: 0 14px 45px rgba(0, 255, 255, 0.55);
      border-color: var(--accent);
      transform: translateY(-8px);
    }
    .testimonial-quote {
      font-style: italic;
      font-size: 1.1em;
      margin-bottom: 14px;
      user-select:none;
    }
    .testimonial-author {
      font-weight: 700;
      color: var(--accent);
      user-select:none;
    }

    /* =========================
       PARTNERS LOGOS
    ========================= */
    .partners {
      justify-content: center;
      gap: 44px;
      margin-top: 40px;
      flex-wrap: wrap;
    }
    .partner-logo {

      transition: all 0.3s ease;
      width: 120px;
      height: 80px;
      object-fit: contain;
      user-select:none;
    }
    .partner-logo:hover {
      filter: none;
      opacity: 1;
      transform: scale(1.1);
      cursor: default;
    }

    /* =========================
       CONTACT FORM
    ========================= */
    form input, form textarea, form select {
      width: 100%;
      padding: 14px;
      margin-bottom: 16px;
      border-radius: 10px;
      border: 1.8px solid #ddd;
      font-size: 1.1em;
      transition: border-color 0.3s ease;
      resize: vertical;
      font-family: inherit;
      user-select:none;
    }
    form input:focus, form textarea:focus, form select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 8px var(--accent);
    }
    form button {
      width: 100%;
      background: var(--primary);
      border: none;
      padding: 16px;
      color: #fff;
      font-weight: 700;
      font-size: 1.1em;
      border-radius: 30px;
      cursor: pointer;
      user-select:none;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      box-shadow: 0 8px 20px rgba(233,104,93,0.5);
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    form button:hover {
      background: #ca594d;
      box-shadow: 0 12px 30px rgba(233,104,93,0.75);
    }

    /* =========================
       FOOTER
    ========================= */
    footer {
      background: rgba(43, 61, 91, 0.92);
      color: #fff;
      text-align: center;
      padding: 24px 16px;
      font-size: 0.9em;
      font-weight: 600;
      user-select:none;
      letter-spacing: 0.05em;
      box-shadow: inset 0 5px 15px rgba(0,0,0,0.2);
    }

    .hidden { display: none !important; }

    /* Scroll bar custom styling */
    ::-webkit-scrollbar {
      width: 10px;
      height: 10px;
    }
    ::-webkit-scrollbar-thumb {
      background-color: var(--accent);
      border-radius: 10px;
      border: 3px solid transparent;
      background-clip: content-box;
    }
    ::-webkit-scrollbar-track {
      background: #f0f0f0;
      border-radius: 10px;
    }
    

    /* Responsive Adjustments */
    @media(max-width: 960px) {
      .services, .portfolio, .demo-gallery, .testimonials, .partners {
        justify-content: center;
      }
      .card {
        max-width: 100%;
        flex-basis: 100%;
        margin-bottom: 20px;
      }
      nav {
        padding: 16px 24px;
      }
      .hero {
        padding: 70px 16px 90px;
        font-size: 14px;
      }
      .hero h2 {
        font-size: 2.6em;
      }
    }
    @media(max-width: 480px) {
      .hero h2 {
        font-size: 2.1em;
      }
      nav ul li {
        margin-left: 0;
      }
      nav ul li a {
        font-size: 0.95em;
      }
      .btn {
        padding: 12px 28px;
        font-size: 1em;
      }
    }
.social-handles {
  margin: 1.8rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.social-handles a {
  color: #538ee5;
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(115, 154, 255, 0.10);
  transition: background 0.2s, color 0.2s, transform 0.17s, box-shadow 0.2s;
  border: 1.3px solid #eef4fb;
  text-decoration: none;
}
.social-handles a:hover,
.social-handles a:focus {
  background: linear-gradient(90deg, #54a6ff 50%, #8cadff 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 24px #3a6eea38;
  border-color: #cbe2ff;
}
.social-handles i {
  pointer-events: none;
}



@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: black; }
}
.typewriter-container {
  max-width: 95vw;         /* Matches device width, allows for padding/margins */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#typewriter {
  white-space: pre-wrap;   /* Allows line breaks! */
  word-break: break-word;  /* Breaks long words if needed */
  font-size: 1.5em;
  width: 100%;
  max-width: 350px;        /* Or choose as fits your design—try 275px for extra-tiny screens */
  display: block;
  line-height: 1.4;
  text-align: center;
}






