:root {
  --primary-color: #00d1ff;
  --secondary-color: #c51111;
  --bg-gradient: linear-gradient(135deg, #0f0c29, #1d2b64, #000000);
  --text-color: #e0e0e0;
  --card-bg: rgba(255, 255, 255, 0.1);
  --heading-color: #00d1ff; 
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1523755231516-e43fd2e8dca5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  opacity: 0.2;
  filter: blur(3px);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  z-index: -1;
}

.hero-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.info {max-width: 700px;margin: 0 auto;}
section {padding: 100px 20px;}
section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 calc(33% - 30px);
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.service-item:hover {transform: translateY(-10px);background: rgba(255,255,255,0.15);}
.service-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-item h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-item p {font-size: 1rem;line-height: 1.6;}
.portfolio .projects {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  width: calc(33.333% - 30px);
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.project-item:hover {transform: translateY(-10px);background: rgba(255,255,255,0.15);}
.project-item img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.project-item h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cosmic-journey {
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 150px 20px;
}

.cosmic-journey::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.cosmic-journey h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cosmic-journey p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 calc(45% - 30px);
  font-style: italic;
  position: relative;
}

.testimonial-item::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: var(--primary-color);
}

.testimonial-item p {margin-bottom: 15px;line-height: 1.6;}
.testimonial-item span {
  display: block;
  text-align: right;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  color: var(--primary-color);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input, .contact textarea {
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: rgba(255,255,255,0.2);
  color: var(--text-color);
  font-size: 1.1rem;
  outline: none;
}

.contact input::placeholder, .contact textarea::placeholder {color: #ccc;}
.about {padding: 100px 20px;background: none;}
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {flex: 1 1 40%;max-width: 500px;}
.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.about-text {
  flex: 1 1 50%;
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-text h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.about-text p {margin-bottom: 15px;text-align: justify;}
.about-text ul {list-style: disc;margin-left: 20px;}
.contact button {
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: var(--primary-color);
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {background: var(--secondary-color);}
.fire-text {
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(45deg, #FF0000, #FFA500, #FFFF00, #FFA500, #FF0000);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fire 5s ease-in-out infinite;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.8), 0 0 16px rgba(255, 165, 0, 0.6), 0 0 24px rgba(255, 255, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-content h2, .about-text h2 {font-size: 20px;}
  .fire-text {font-size: 30px !important;}
  .hero-content p, .project-item p, .about-text ul, .about-text p {font-size: 15px;}
  .service-item, .project-item {flex: 1 1 calc(50% - 30px);width: auto;}
  .testimonial-item {flex: 1 1 100%;}
  .hero {background-attachment: scroll;padding: 40px 10px;}
  .about-container {flex-direction: column;gap: 20px;}
}

@media (max-width: 768px) {
  .service-item, .project-item {flex: 1 1 calc(50% - 30px);width: auto;}
  .testimonial-item {flex: 1 1 100%;}
}

@media (max-width: 480px) {
  .service-item, .project-item {flex: 1 1 100%;}
  header {padding: 10px 5px;}
  .about-text, .about-image {max-width: 100%;}
  .contact form {padding: 20px;}
  .project-item img {width: 70%;}
  .project-item h3 {font-size: 18px;}
}