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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #eaeaea;
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
}



.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Default nav (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex: 1;
}

/* Default nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex: 1;  /* push contact button to the right */
}

.nav-links a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
  color: rgb(173, 172, 172);
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.6);
}



/* Contact button (always on right) */
.contact-btn {
  background: #fff;
  color: #111 !important;
  font-weight: bold;
  border-radius: 25px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */






  color: #fff;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.shiny-text {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(
    90deg,
    #fff,
    #888989,
    #fff
  );
  background-size: 200% auto;
  color: #fff; /* fallback */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shine 3s linear infinite;
}

/* Shimmer animation */
@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}


.hero p {
  font-size: 1.2rem;
  color: #ccc;
}

.getInTouchCta{
  margin-top: 2rem;
  text-align: center;
}

.hero .btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-radius: 999px;
  background: #fff;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Sections */
section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00c6ff;
}

p {
  color: #aaa;
}

.about {
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */



}

.glass-heading {
  display: inline-block;
  font-size: 1rem;             /* smaller size */
  font-weight: 400;            /* normal (not bold) */
  padding: 0.4rem 1.2rem;
  border-radius: 50px;         /* pill/cylinder */

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  color: whitesmoke;
  margin-bottom: 1rem;
  letter-spacing: 1px;         /* optional: adds a clean modern look */
}

/* Big responsive heading */
.normal-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Outer glass cylinder */
.glass-cylinder {
  display: inline-block;
  padding: 0.4rem; /* space for glass border around button */
  border-radius: 999px; /* pill shape */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); */
}

/* Inner button */
.inner-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-radius: 999px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hover effects */
.inner-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08); /* frosted look */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;  /* rounded corners */
  overflow: hidden;
   /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
  /* transition: transform 0.3s, box-shadow 0.3s; */
}

.glass-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border: none;
}

.text-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.text-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 400;
}

.text-card p {
  font-size: 1rem;
  color: #ccc;
}


/* Services & Work */
.services {
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}

.service-list, .portfolio {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.service, .project {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  color: #fff;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover, .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 198, 255, 0.3);
}

/* Work Section */

.work-section {
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

   text-align: center;
   padding: 4rem 2rem;
}

.work-scroll {
  display: flex;
  gap: 2rem;
  margin: 3rem auto 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 1.5rem;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);

  justify-content: center;   /* <-- center cards inside container */
  align-items: center;       /* vertical centering if heights vary */
  scroll-padding-inline: 2rem;/* better snap offsets on small screens */
}


.work-scroll::-webkit-scrollbar {
  height: 8px;
}
.work-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.work-card {
  flex: 0 0 300px;           /* card width */
  scroll-snap-align: center; /* <-- snap to center */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;

  text-decoration: none; /* if it's an <a> */
  color: inherit;
  display: flex;
  flex-direction: column;

  margin: 0 auto; /* keep the card centered when the row has extra space */
}


.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.work-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.work-card p {
  font-size: 1rem;
  color: #ccc;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 198, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .work-card {
    flex: 0 0 90%;
    max-width: 90%;
    margin: 0;                 /* remove auto margin so layout is consistent */
  }

  /* container padding-left/right = (100% - cardWidth) / 2  -> centers cards */
  .work-scroll {
    justify-content: flex-start;          /* items flow from the left inside the padded area */
    padding-inline: 5%;                   /* (100% - 90%) / 2 = 5% -> centers snap */
    scroll-padding-inline: 5%;
    gap: 1rem;                            /* reduce gap a touch on small screens */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* scroll snap alignment center so each card snaps to the center of the viewport */
  .work-card {
    scroll-snap-align: center;
  }

  /* images slightly taller on mobile if you want them closer to desktop look */
  .work-card img {
    height: calc(90vw * 0.45); /* approx 40-45% of viewport width */
    object-fit: cover;
  }
  
  /* reduce box shadow so it feels lighter on a small screen */
  .work-card {
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  }
}

/* Contact */
.contact {
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.contact p {
  color: #ccc;
  font-size: 1.1rem;
}

/* -------------------
   Contact Section
------------------- */
.contact-section {
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}

/* Glass box around the form */
.contact-glass-box {
  margin: 3rem auto 0;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Form inputs */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 8px rgba(0,198,255,0.3);
}

/* Submit button */
.contact-btn-form {
  background: #fff;
  color: #111;
  font-weight: bold;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-btn-form:hover {
  background: rgba(255,255,255,0.8);
}

/* Success popup */
.form-success-popup {
  display: none;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-radius: 25px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-success-popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-glass-box {
    padding: 1.5rem;
  }

  .contact-section h1 {
    font-size: 1.6rem;
  }

  .contact-section p {
    font-size: 0.95rem;
  }
}




/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #0b0b0b;
  color: #666;
  border-top: 1px solid #222;
}

/* ========================
   RESPONSIVE STYLES
   ======================== */

   /* Desktop-only padding */
@media (min-width: 992px) {

  .normal-heading {
    font-size: 3.5rem;
    font-weight: 500;
  }

  .normal-text {
    font-size: 1.2rem;
  }

  .normal-heading,
  .normal-text {
    padding: 0 23rem;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .service, .project {
    width: 200px;
    padding: 1.5rem;
  }
}

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

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    gap: 1rem;
    display: none; /* hidden by default */
  }

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

   .contact-btn {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .glass-card {
    width: 95%;          /* almost full width on mobile */
    max-width: 420px;    /* slightly bigger */
    height: 280px;       /* same as desktop height */
    margin: 0 auto 0.5rem auto;  /* spacing between cards */
  }

  .text-card h3 {
    font-size: 1.4rem;
  }

  .text-card p {
    font-size: 1rem;
  }


  .service-list, .portfolio {
    flex-direction: column;
    align-items: center;
  }
}
