@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');

:root {
    --matte-black: #141622;
    --deep-grey: #181a24;
    --card-bg: #23243a;
    --primary: #8137ee;
    --accent: #a084fd;
    --navbar-bg: #181a24;
    --navbar-text: #fff;
    --navbar-hover: #a084fd;
    --footer-bg: #181a24;
    --footer-text: #a084fd;
    --button-bg: #8137ee;
    --button-hover-bg: #ffffff;
    --button-text: #fff;
    --button-hover-text: #181a24;
    --shadow: 0 8px 32px rgba(160,132,253,0.16);
    --glow: 0 0 16px #8137ee80;
}

* {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* iOS Safari & Chrome */
  -webkit-touch-callout: none;                /* Prevents callout (like save image) */
}

a, img {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none;
}

body {
    margin: 0;
    padding-top: 80px; /* Adjust based on navbar height */
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--matte-black);
    color: #ffffff;
    min-height: 100vh;
    box-sizing: border-box;
    width: 100%;
}
a:focus, a:active, button:focus, button:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}
img, a {
  user-select: none;
  -webkit-user-drag: none;
}

/* Navbar Base */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(24, 26, 36, 1); /* Solid at the top */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* On scroll */
header.scrolled {
  background: rgba(24, 26, 36, 0.8); /* Slightly transparent */
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

header .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 3vw;
 
    box-sizing: border-box;
}

nav .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
nav .nav-links li a {
    color: var(--navbar-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.11rem;
    letter-spacing: 0.03em;
    padding-bottom: 2px;
    transition: color .15s;
}
nav .nav-links li a:hover,
nav .nav-links li a:active {
    color: var(--navbar-hover);
    border-bottom: 3px solid var(--navbar-hover);
    text-shadow: var(--glow);
}

@media (max-width: 900px) {
    header .container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    nav .nav-links {
        gap: 18px;
        flex-wrap: wrap;
    }
}

.hero {
  
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 720px;
  background: linear-gradient(120deg, #1a1d2b 0%, #8137ee 100%);
  padding: 5px 6vw 32px 6vw;
  box-sizing: border-box;
  gap: 54px;
}


.hero-content {
  flex: 1;
  color: #fff;
  z-index: 1;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  line-height: 1.13;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 28px;
  color: #dcd0f7;
}

.cta-button {
  display: inline-block;
  padding: 16px 34px;
  font-size: 1.09rem;
  background: #8137ee;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 1px 10px #a084fd88;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: none;
  transition: background .19s, color .18s;
}
.cta-button:hover {
  background: #a084fd;
  color: #181a24;
  box-shadow: 0 0 18px #8137ee99;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-image img {
  max-width: 380px;
  width: 83%;
  min-width: 180px;
  object-fit: contain;
  transition: max-width .25s, width .25s;
}

/* Responsive styles for hero section */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 32px 3vw 16px 3vw;
    gap: 24px;
    min-height: 320px;
  }
  .hero-content {
    max-width: 99vw;
    min-width: 0;
    margin: 0 auto;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .hero-image {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .hero-image img {
    max-width: 260px;
    min-width: 120px;
    width: 80vw;
  }
  .cta-button {
    padding: 13px 21px;
    font-size: 1.01rem;
  }
}
@media (max-width: 500px) {
  .hero {
    padding: 18px 1.5vw 10px 1.5vw;
    gap: 14px;
  }
  .hero-content h1 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  .hero-content p {
    font-size: 0.93rem;
    margin-bottom: 12px;
  }
  .hero-image img {
    max-width: 170px;
    min-width: 60px;
    width: 85vw;
  }
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(34px);}
    to   { opacity: 1; transform: translateY(0);}
}
.hero-content h1 {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: var(--glow);
    letter-spacing: 0.02em;
}
.hero-content p {
    font-size: 1.29rem;
    font-weight: 500;
    margin-bottom: 29px;
    color: #dfdcf6;
}
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.14rem;
    background: 00000000;
    color: var(--button-text);
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 1px 12px var(--accent), var(--glow);
    transition: background .18s, color .15s;
    border: none;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.cta-button:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 0 18px #ffffff;
}
.hero-image img {
    max-width: 1000px;
}

footer {
    background: var(--footer-bg);
    text-align: center;
    padding: 28px;
    font-size: 1rem;
    color: var(--footer-text);
    width: 100%;
    letter-spacing: 0.07em;
    margin-top: 32px;
    box-shadow: 0 -2px 16px #8137ee1a;
}

@media (max-width: 900px) {
    header .container {
        width: 100%;
        max-width: none;
        padding: 10px 4vw;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        box-sizing: border-box;
    }
    nav .nav-links {
        gap: 18px;
        flex-wrap: wrap;
    }
    .hero {
        flex-direction: column;
        text-align: center;
          padding-left: 6vw;
  padding-right: 6vw; 
        padding: 32px 4vw 25px 4vw;
        min-height: 340px;
        align-items: center;
        justify-content: center;
    }
    .hero-content, .hero-image {
        width: 100%;
        max-width: 400px;
        margin: 40px auto;
        display: block;
        text-align: center;
    }
    .hero-image {
        margin-top: 18px;
    }
    
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        padding: 18px 6vw;
    }
     .logo img {
        height: clamp(24px, 8vw, 36px);
        max-width: 110px;
    }
    .hero {
        padding: 25px 3vw 32px 3vw;
        min-height: 260px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 12px 19px;
        font-size: 1rem;
    }
    
}

.logo img {
  height: clamp(32px, 7vw, 48px); /* Scales logo, minimum 32px, max 48px */
  max-width: 270px;
  width: auto;
  display: block;
  transition: height 0.2s;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  outline: none;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: #a084fd;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s;
}

/* Show hamburger and hide nav-links on mobile */
@media (max-width: 768px) {
  nav .nav-links {
    position: absolute;
    top: 56px;
    right: 0;
    background: #181a24;
    flex-direction: column;
    width: 180px;
    padding: 16px 0 8px 0;
    box-shadow: 0 2px 14px #6336ed17;
    border-radius: 12px;
    display: none;
    opacity: 0;
    transition: opacity 0.22s;
    z-index: 1001;
  }
  nav .nav-links.open {
    display: flex;
    opacity: 1;
  }
  nav .nav-links li {
    margin: 8px 0;
    text-align: left;
    padding: 0 21px;
  }
  nav .nav-links li a {
    color: #fff;
    font-size: 1.09rem;
    border: none;
    text-shadow: 0 0 4px #8137ee6a;
  }
  .hamburger {
    display: flex;
    z-index: 1002;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
/* Hamburger animation when open */
.hamburger.open span:nth-child(1) {
  transform: rotate(33deg) translate(6px,6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-33deg) translate(6px,-6px);
}


footer {
    width: 100%;
    left: 0;
    right: 0;
    background: var(--footer-bg);
    text-align: center;
    padding: 28px 0;
    font-size: 1rem;
    color: var(--footer-text);
    letter-spacing: 0.07em;
    margin-top: 0;
    box-shadow: 0 -2px 16px #8137ee1a;
    box-sizing: border-box;
    position: relative;
}
@media (max-width: 600px) {
    footer {
        padding: 20px 0;
        font-size: 0.95rem;
    }
}

.services-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #141622;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5f5f5f;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #141622;
  color: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(129, 55, 238, 0.4);
}

.service-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 5px;
  filter: brightness(1.2);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #dcd0f7;
}

.service-btn {
  display: inline-block;
  background-color: #8137ee;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-btn:hover {
  background-color: #ffffff;
  color: #141622;
  transform: scale(1.05);
}

/* Responsive Layout */
@media screen and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 60px 15px;
  }
}

.blogs-section {
  background-color: #ffffff; /* dark background for contrast */
  padding: 80px 20px;
  text-align: center;
}

.blogs-section .section-title {
  font-size: 2.5rem;
  color: #000000;
  font-weight: 700;
  margin-bottom: 10px;
}

.blogs-section .section-subtitle {
  font-size: 1.1rem;
  color: #5f5f5f;
  margin-bottom: 50px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(129, 55, 238, 0.4);
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
  background: white;
}


.blog-content h3 {
  font-size: 1.2rem;
  color: #000000d8;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 15px;
}

.blog-btn {
  display: inline-block;
  background-color: #8137ee;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.blog-btn:hover {
  background-color: #000000;
  color: #ffffff;
  transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}

.testimonials-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-section .section-title {
  font-size: 2.5rem;
  color: #141622;
  margin-bottom: 10px;
  font-weight: 700;
}

.testimonials-section .section-subtitle {
  font-size: 1.1rem;
  color: #5f5f5f;
  margin-bottom: 50px;
}

/* Logos Carousel */
.logos-carousel {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.logos-carousel img {
  max-height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logos-carousel img:hover {
  filter: grayscale(0) drop-shadow(0 0 5px #8137ee);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: #141622;
  color: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(129, 55, 238, 0.4);
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #dcd0f7;
}

.testimonial-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.service-roadmap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-number {
  background: #8137ee;
  color: #ffffff;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p {
  margin: 0;
  font-size: 0.95rem;
  color: #141622;
}

