:root {
  --primary-color: #51f4d3;
  --secondary-color: #01d9ae;
  --dark-bg: #0a0a0a;
  --light-text: #ffffff;
  --gray-text: #b3b3b3;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  min-height: 100vh;
  line-height: 1.6;
}

button {
  cursor: pointer;
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(76, 0, 255, 0.1), rgba(0, 255, 204, 0.1), rgba(255, 0, 128, 0.1));
  filter: blur(100px);
  z-index: -1;
  animation: backgroundMove 15s ease infinite;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5% 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-logo a {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  margin-left: 2rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links .dropdown {
  position: relative;
  display: inline-block;
}

.nav-links .dropbtn {
  cursor: pointer;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.95);
  min-width: 205px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
}

.nav-links .dropdown-content a {
  color: var(--light-text);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-size: 14px;
  margin-left: 0px;
}

.nav-links .dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
}

.nav-links .dropdown:hover .dropdown-content {
  display: block;
  list-style-type: none;
}


.dropdown-content .dropdown-column {
  display: flex;
  flex-direction: column;
  color: #333;
}

.quote-btn {
  margin-left: auto;
}

.quote-btn .btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-btn .btn-primary:hover {
  background-color: #0056b3;
}

/* Hero Section */
.hero {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  color: #fff;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: rotateBackground 20s linear infinite;
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
  z-index: 1;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease-in-out;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1;
}

.cta-buttons .btn {
  padding: 12px 25px;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-buttons .btn.primary {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  border: none;
}

.cta-buttons .btn.primary:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.cta-buttons .btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-buttons .btn.secondary:hover {
  background-color: #fff;
  color: var(--dark-bg);
  transform: scale(1.1);
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 20px;
  margin-top: 50px;
  z-index: 1;
}

.tech-icon {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.2);
  color: var(--secondary-color);
}

/* Background Animation */
@keyframes rotateBackground {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Tech Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tech-icon {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.2);
  color: var(--secondary-color);
}

/* Services Section */
.services-preview {
  text-align: center;
  padding: 50px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Why Us Section */
.why-us {
  text-align: center;
  padding: 50px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.9);
  padding: 4rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-text);
}

.footer-section p i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--gray-text);
  font-size: 1.5rem;
  transition: var(--transition);
}

social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Add hover effect to contact information */
.footer-section p:hover {
  color: var(--light-text);
}

.footer-section p:hover i {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes backgroundMove {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-10%, -10%) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes smoothFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtlePulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Apply smooth fade-in to sections */
.section {
  animation: smoothFadeIn 1s ease-out;
}

/* Portfolio Page Styles */
.portfolio-page {
  padding: 120px 5% 60px;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg,
      var(--primary-color),
      var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(0, 255, 204, 0.1),
      rgba(77, 77, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-content {
  position: relative;
  z-index: 1;
}

.portfolio-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.portfolio-content p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tags span {
  background: rgba(0, 255, 204, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.portfolio-item .btn {
  display: inline-block;
  margin-top: auto;
}

/* Client Testimonials */
.client-testimonials {
  text-align: center;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.02);
  /* Subtle background */
  margin: 2rem 0;
}

.client-testimonials h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--light-text);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

.client-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-card h4 {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 5px;
}

.client-position {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Contact Page Styles */
.contact-page {
  padding: 120px 5% 60px;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg,
      var(--primary-color),
      var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-header p {
  color: var(--gray-text);
  font-size: 1.2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin: 3rem 0;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--light-text);
}

.contact-card a {
  color: var(--gray-text);
  text-decoration: none;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--light-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Map Section */
.map-section {
  margin: 4rem 0;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}


/* Image loading and error handling */
.portfolio-image img,
.team-member img,
.client-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image img.loaded,
.team-member img.loaded,
.client-image.loaded {
  opacity: 1;
}

/* Image loading animation */
.portfolio-image::before,
.team-member::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  animation: loading 6.5s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Remove loading animation once image is loaded */
.loaded::before {
  display: none;
}

/* Team Member Image Loading Effects */
.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  animation: shimmer 1.5s infinite;
}

.team-member img {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member img.loaded {
  opacity: 1;
}

.team-member img.loaded~*::before {
  display: none;
}

/* Testimonial Card Loading Effects */
.testimonial-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  /* Sharper edges */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Polished shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  animation: shimmer 1.5s infinite;
}

.client-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-image.loaded {
  opacity: 1;
}

.client-image.loaded~*::before {
  display: none;
}

/* About Page Styles */
.about-page {
  padding: 120px 5% 60px;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-story {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.about-story h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-story p {
  color: var(--gray-text);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Values Section */
.values-section {
  margin: 5rem 0;
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.value-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  color: var (--light-text);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* Services Page Styles */
.services-page {
  padding: 120px 5% 60px;
}

.services-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.service-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.service-category:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.service-info {
  text-align: center;
}

.service-info i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-info h2 {
  color: var(--light-text);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-info p {
  color: var(--gray-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.service-features li {
  color: var(--light-text);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "→";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Process Section */
.process-section {
  max-width: 1200px;
  margin: 5rem auto;
  text-align: center;
}

.process-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: var(--light-text);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--gray-text);
  line-height: 1.6;
}


/* Default state for desktop */
.mobile-only {
  display: none;
}

.desktop-menu {
  display: flex;
}

.btn.quote {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 20px;
}

.tech-icon {
  opacity: 0;
  animation: bounceAnimation 1.2s ease-out forwards;
}

@keyframes bounceAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  30% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(5px);
  }

  70% {
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
  /* Show dropdown on hover for desktop */
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-content li a:hover {
  background-color: #f1f1f1;
}

/* Careers Preview Section */
.careers-preview {
  padding: 50px 20px;
  text-align: center;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.career-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

.career-card i {
  font-size: 2rem;
  color: #5cb85c;
  margin-bottom: 10px;
}

.career-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.career-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.career-card .btn {
  padding: 10px 20px;
  font-size: 1rem;
}

/* Why Join Us Section */
.why-join-us {
  background: #f4f7fa;
  padding: 50px 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: #5cb85c;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

/* Careers Page Styles */
.careers-preview {
  padding: 80px 5%;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.careers-preview h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.career-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.career-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.career-card h3 {
  font-size: 1.8rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.career-card p {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.career-card .btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary-color);
  color: var(--dark-bg);
  transition: var(--transition);
}

.career-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

/* Why Join Us Section */
.why-join-us {
  padding: 80px 5%;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.why-join-us h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  /* Sharper edges */
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Polished shadow */
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.8rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.feature p {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.no-openings {
  font-size: 1.2rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover,
.nav-links a:hover {
  color: var(--primary-color);
  transform: scale(1.1);
  transition: transform 0.3s ease, color 0.3s ease;
}