@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: #f1f1f1;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #2F77F1;
}
a:hover {
  color: #4e9dff;
}

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  height: 48px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-link {
  color: #fff;
  font-weight: 600;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #2F77F1;
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}
#particles-js {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-content {
  z-index: 2;
}
.hero-content h1 {
  font-size: 8.5rem;
  color: #2F77F1;
  margin-bottom: 7rem;
}


.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  padding: 12px 28px;
  font-size: 1rem;
  background: #2F77F1;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.cta-button:hover {
  background: #1a5ed6;
}

/* -- MAIN CONTENT STYLES BELOW -- */

main {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
section {
  margin-bottom: 80px;
  background: #111;
  border-radius: 12px;
  padding: 60px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2.3rem;
  color: #2F77F1;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}
p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 24px;
  color: #ddd;
}

#about {
  text-align: center;
  margin-bottom: 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.about-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(47, 119, 241, 0.15);
}
.about-card i {
  font-size: 2.2rem;
  color: #2F77F1;
  margin-bottom: 15px;
}
.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.about-card p {
  font-size: 1rem;
  color: #ccc;
}



/* SERVICES GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: #1a1a1a;
  padding: 32px 22px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(47,119,241,0.15);
  color: #ccc;
}
.card i {
  font-size: 2.2rem;
  color: #2F77F1;
  margin-bottom: 14px;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  background: #222;
  box-shadow: 0 6px 30px rgba(47,119,241,0.2);
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 30px 10px;
  max-width: 400px; /* Mobile screenshot size */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.project-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9 / 18;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.project-slide img:hover {
  transform: scale(1.015);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2F77F1;
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}



/* CONTACT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 6px;
  background: #1e1e1e;
  border: 1px solid #444;
  color: white;
}
.contact-form button {
  background: #2F77F1;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}
.contact-form button:hover {
  background: #1a5ed6;
}
.success-message {
  color: #7ed957;
  text-align: center;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #000;
  color: #aaa;
  padding: 30px 20px;
  text-align: center;
}

.footer-socials {
  margin-bottom: 12px;
}

.footer-socials a {
  color: #aaa;
  margin: 0 10px;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #2F77F1;
}
 .footer-socials a svg {
  fill: #aaa;
  transition: fill 0.3s;
}

.footer-socials a:hover svg {
  fill: #2F77F1;
}


@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 5.2rem;
  }
  .carousel-track img {
    max-height: 300px;
  }
  section {
    padding: 40px 20px;
  }
}
.founder-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #121212;
  border-radius: 12px;
}
.founder-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2F77F1;
  transition: transform 0.3s ease;
}
.founder-img:hover {
  transform: scale(1.05);
}
.founder-info {
  flex: 1;
  min-width: 260px;
  color: #eee;
}
.founder-info h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #f1f1f1;
}
.founder-info .title {
  font-weight: 600;
  color: #aaa;
  margin-bottom: 10px;
}
.founder-info .bio {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #ccc;
}
.founder-info .more-bio {
  display: none;
  color: #aaa;
  font-size: 0.95rem;
}
.founder-container:hover .more-bio {
  display: block;
  animation: fadeInUp 0.8s ease;
}
.social-icons {
  margin-top: 12px;
}
.social-icons a {
  color: #2F77F1;
  margin-right: 12px;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #4e9dff;
}
.signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 2rem;
  margin-top: 14px;
  color: #2F77F1;
  animation: signIn 1.8s ease-out forwards;
  opacity: 0;
}

@keyframes signIn {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #111;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    display: flex;
  }
}

#toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.toast {
  background: #1e1e1e;
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadein 0.5s ease, fadeout 0.5s ease 3s;
}

.toast.success { border-left: 4px solid #7ed957; }
.toast.error { border-left: 4px solid red; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(-10px); }
}


.animated-text {
  font-size: 1.1rem;
  color: #ccc;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #2F77F1;
  width: 0;
  animation: typing 3s steps(40, end) forwards, blink 0.75s step-end infinite;
  margin: 10px 0;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}
