body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111827;
  color: #e8eaed;
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  src: url('/webfonts/fa-solid-900.woff2') format('woff2'),
       url('/webfonts/fa-solid-900.woff') format('woff'),
       url('/webfonts/fa-solid-900.ttf') format('truetype');
}


/* Navbar */
.navbar {
  height: 40px;
  background-color: #111827;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  margin-top: -10px;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #e8eaed;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #60a5fa;
}

.nav-logo img{
  height: 3.5rem;
  width: 5rem;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to bottom right, #1f2937, #111827);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header h3 {
  font-weight: 400;
  color: #9ca3af;
}



/* Explore Section Professional Cards */
.explore-section {
  background-color: #111827; /* darker panel so cards pop */
  padding: 60px 20px;
  color: #d8d6d6;            /* overall light text color */
}

.explore-section h2 {
  color: #e6eef8;
  font-size: 2.2rem;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* Service card layout */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Card visual */
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
 
}

/* Hover lift */
.service-card:hover{
     transform: scale(1.05);
    box-shadow:  0px 15px 10px  blue;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
/* Icon */
.service-card i {
  font-size: 34px;
  color: #60a5fa; /* soft blue accent */
  margin-bottom: 8px;
  display: inline-block;
}

/* Title */
.service-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 6px;
  font-weight: 600;
  line-height: 1.2;
}

/* Description */
.service-card p {
  color: #cbd5e1;     /* softer readable gray */
  font-size: 0.95rem;
  margin: 0 0 10px;
  line-height: 1.5;
  flex: 1;            /* make descriptions take available vertical space */
}

/* Tech tags container */
.service-card > div, .tech-list {
  margin-top: 6px;
}

/* Individual tech tag */
.service-tech {
  display: inline-block;
  background: rgba(255,255,255,0.03);
  color: #d1d5db;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin: 4px 6px 0 0;
  border: 1px solid rgba(255,255,255,0.03);
}

/* 'Coming Soon' highlight (if used inline) */
.service-card .service-tech.coming {
  background: linear-gradient(90deg,#f6d365,#fda085);
  color: #111827;
  font-weight: 700;
  border: none;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .explore-section h2 { font-size: 1.6rem; }
  .service-card { padding: 18px; }
  .service-card i { font-size: 28px; }
  .service-card h3 { font-size: 1rem; }
  .service-tech { font-size: 0.78rem; padding: 5px 8px; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card:hover, .explore-grid { transition: none; transform: none; }
}

/* Portfolio section */
.portfolio-section {
  background-color: #0f172a;
  padding: 60px 20px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.portfolio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Explore Grid */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.explore-card {
  background: #2d2f33;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Feature Section */
.about-section {
  display: flex;
  flex-direction: column; /* Stacks the header and content vertically */
  align-items: center;    /* Horizontally centers the content */
  padding: 60px 20px;
  background-color: #111827;
}

/* Styles for the top text part */
.about-header {
  text-align: center;
  margin-bottom: 50px; /* Space between text and the content below */
  max-width: 800px;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-header .about-intro {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* This wrapper arranges the cards and image side-by-side */
.about-content-wrapper {
  display: flex;
  flex-wrap: wrap; /* Allows items to stack on smaller screens */
  justify-content: center;
  align-items: center; /* Vertically aligns the cards and image */
  gap: 40px;
  width: 100%;
}

/* Wrapper for the three cards */
.about-grid-wrapper {
  flex: 2 1 500px; /* Allows cards to take more space */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr; /* Cards will stack vertically within this container */
  gap: 20px;
}

.about-card {
  background: #1f2937;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #fff;
}

.about-card p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Wrapper for the image */
.about-image-wrapper {
  flex: 1 1 400px; /* Allows image to take up remaining space */
  text-align: center;
}

.about-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive adjustments for the new layout */
@media (max-width: 992px) {
  .about-content-wrapper {
    flex-direction: column; /* Stack cards and image on tablets and mobile */
  }
}
@media (max-width: 768px) {
  .feature-section {
    flex-direction: column;
    text-align: center;
  }
  .feature-image {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
}

.portfolio-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;  display: block;
}

/* Footer */
footer {
  background: #111827;
  padding: 40px 20px;
  color: #9ca3af;
}

.logo-img{
    height: 100px;
    width: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #fff;
  /* font-size: 1.3rem; */
  margin-bottom: 10px; 
  /* margin-left: 13px; */
}
.footer-section #follow {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-left: 8px;
  /* margin: center; */
}

.footer-section ul {
    padding-left: 0;
    list-style: none;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}
.footer-section a:hover {
  color: #fff;
}

/* Update the footer section for vertical icons */
/* Update the footer section to ensure horizontal icon layout */
.footer-section .social-icons {
  
  display: flex;       /* Use flexbox to arrange items */
  flex-direction: row;
  gap: 15px;           /* Add some space between the icons */
  align-items: center; /* Vertically aligns the icons nicely */
  margin-top: 10px;    /* Adds a little space below the "Follow Us On" title */
}

.social-icons a {
  /* You can keep this rule as it is, or add more styling */
  font-size: 1.5rem;
}
.copyright {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #374151;
  padding-top: 10px;
}
/*sticky shadow visible */

.shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

/* Rainbow Text Effect */
.rainbow-text {
  background: linear-gradient(90deg, #ff7e79, #ffd479, #d4ff79, #79ffd4, #79b7ff, #d479ff, #ff79b7);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease-in-out infinite;
  background-size: 300% 100%;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  .header h1 {
    font-size: 2rem;
  }
  .header h3 {
    font-size: 1.2rem;
  }
  .feature-section {
    flex-direction: column;
  }
  .feature-content {
    text-align: center;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    text-align: center;
    justify-content: center;
  }
}

/* Scroll to Top Button Styles */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #1f2937;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}
#scrollTopBtn:hover {
  background-color: #374151;
}

@media (max-width: 768px) {
  /* Hide the regular nav menu */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Adjust based on your navbar height */
    left: 0;
    background-color: #111827;
    z-index: 999;
    padding: 1rem 0;
  }

  /* Show the menu when the active class is added by JavaScript */
  .nav-menu.active {
    display: flex;
  }

  /* Style the vertical menu items */
  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-list li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  /* Display the hamburger icon */
  .hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
  }

  /* Style the bars of the hamburger icon */
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #e8eaed;
  }

  /* Adjustments for the logo on mobile */
  .nav-logo img {
    height: 40px;
    width: 40px;
  }
}