@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Orbitron:wght@400..900&family=Inter:opsz@14..32&display=swap&display=swap");

:root {
  --primary-color: #0d0d0d; /* Jet Black */
  --secondary-color: #1a1a1a; /* Charcoal Gray */
  --accent-color: #007bff; /* Electric Blue */
  --text-color: #ffffff; /* Pure White */
  --neon-glow: 0 0 15px rgba(0, 123, 255, 0.5);
  --brand-gradient: linear-gradient(
    270deg,
    var(--text-color) 0%,
    var(--accent-color) 100%
  );
  /* Additional */
  --background-color: var(--primary-color);
  --card-background: var(--secondary-color);
  --button-bg: var(--accent-color);
  --button-text: var(--text-color);
  --border-color: rgba(255, 255, 255, 0.1); /* Subtle borders */
}

/* Reset Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter";
}
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

button {
  background-color: var(--button-bg);
  color: var(--button-text);
  border: 1px solid var(--border-color);
}
section,
footer {
  padding: 0 5vw;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding-top: 62px;
}
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  text-shadow: var(--neon-glow) 2px 2px 5px;
  font-family: "Orbitron", sans-serif;
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  box-shadow: var(--neon-glow);
  margin-bottom: 20px;
}
.section-text {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 800px;
  margin-bottom: 4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  width: 100%;
}

.card {
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 123, 255, 0.5);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.card-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: "Orbitron", sans-serif;
}

.card-text {
  font-size: 1.1rem;
  color: #b3cfff;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-section {
    padding: 5rem 1rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}
.card-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

/* button  */
.cta-button,
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
  background: linear-gradient(90deg, #007bff, #00ffff);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover,
.cta-button:hover {
  transform: scale(1.1);
  box-shadow: var(--neon-glow);
}
/* Global Styles end*/
/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-bottom: 0;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.globe-container {
  position: absolute;
  width: min(80vw, 800px);
  height: min(80vw, 800px);
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.cta-button {
  padding: 1em 2em;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  background: var(--accent-color);
  border-radius: 50px;
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
  .globe-container {
    width: 100vw;
    height: 100vw;
  }
}

/* services */
.services-section {
  text-align: center;
  padding: 8rem 2rem;
}

.services-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  background: var(--brand-gradient);
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
  text-shadow: var(--neon-glow);
}

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

.service-card {
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 123, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(12px);
  position: relative;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--neon-glow);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
}

.service-text {
  font-size: 1.1rem;
  color: #b3d4ff;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  margin-top: 3rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
  background: linear-gradient(90deg, #007bff, #00ffff);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: var(--neon-glow);
}

@media (max-width: 768px) {
  .services-section {
    padding: 5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* projects */
.projects-section {
  text-align: center;
  padding: 8rem 2rem;
}
.projects-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
  text-shadow: var(--neon-glow);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.project-card {
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 123, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(12px);
  text-align: center;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--neon-glow);
}

.project-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
}
.project-text {
  font-size: 1.1rem;
  color: #b3d4ff;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
}

/* contact */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
  border-radius: 20px;
  border: var(--accent-color) 2px solid;
  background: var(--card-background);
  box-shadow: var(--neon-glow);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--card-background);
  color: var(--text-color);
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  resize: none;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.5);
}
.contact-text {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.social-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* Adds spacing between icons */
}

.social-icons a {
  color: var(--text-color);
  font-size: 4rem;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
}
.social-icons a i {
  color: var(--accent-color);
}
.social-icons a:hover i {
  color: #00ffff;
}

/* contact modal  */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.4s ease-in-out;
}

.modal-content {
  background: var(--card-background);
  color: var(--text-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 320px;
  position: relative;
  box-shadow: var(--neon-glow);
  border: 1px solid var(--border-color);
  animation: slideIn 0.3s ease-in-out;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-color);
  transition: color 0.2s ease-in-out;
}

.modal-close:hover {
  color: var(--accent-color);
  text-shadow: var(--neon-glow);
}

.modal-content h2 {
  margin: 10px 0;
  font-size: 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-content p {
  font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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