/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: radial-gradient(circle at top, #1f2937, #020617);
  color: white;
  overflow-x: hidden;
}

/* NAVBAR (COMMON FOR ALL PAGES) */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
}

nav h2 {
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #3b82f6;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px;
  padding: 60px;
  border-radius: 25px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(59,130,246,0.2);
}

.hero-left {
  width: 50%;
}

.hero-left p {
  color: #94a3b8;
}

.hero-left h1 {
  font-size: 45px;
  margin: 15px 0;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

/* IMAGE */
.hero-right img {
  width: 450px;
  border-radius: 20px;
  transition: 0.4s;
}

.hero-right img:hover {
  transform: scale(1.05);
}

/* HEADER TITLES */
.header, .hero-title {
  text-align: center;
  margin-top: 40px;
}

.header h1, .hero-title h1 {
  font-size: 40px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

/* BUTTON (COMMON) */
.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  color: white;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(59,130,246,0.5);
  margin: 14px;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(59,130,246,0.8);
}

/* SERVICES GRID */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 50px;
}

/* CARD (COMMON) */
.card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  padding: 25px;
  border-radius: 20px;
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(59,130,246,0.4);
}

.card h2 {
  color: #3b82f6;
  font-size: 28px;
}

.card h3 {
  margin: 10px 0;
}

.card p {
  color: #94a3b8;
}

/* ABOUT SECTION */
.container {
  display: flex;
  gap: 40px;
  padding: 50px;
  align-items: center;
}

.text {
  width: 50%;
}

.text p {
  color: #94a3b8;
  margin-top: 15px;
}

.image img {
  width: 400px;
  border-radius: 20px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  padding: 40px;
}

.feature {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.feature:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  transform: translateY(-5px);
}

/* CONTACT FORM */
.contact-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
  text-align: center;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* CTA */
.cta {
  text-align: center;
  margin: 50px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .hero-left, .hero-right {
    width: 100%;
  }

  .hero-right img {
    width: 100%;
    margin-top: 20px;
  }

  .container {
    flex-direction: column;
  }
}

/* TABLET VIEW */
@media (max-width: 992px) {
  nav {
    padding: 20px 30px;
  }

  .hero {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }

  .hero-left, 
  .hero-right {
    width: 100%;
  }

  .hero-right img {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
  }

  .container {
    flex-direction: column;
    text-align: center;
  }

  .text {
    width: 100%;
  }

  .image img {
    width: 100%;
    max-width: 400px;
  }

  .services {
    padding: 30px;
    gap: 20px;
  }
}


/* MOBILE VIEW */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .hero {
    margin: 15px;
    padding: 25px;
  }

  .hero-left h1 {
    font-size: 28px;
  }

  .header h1,
  .hero-title h1 {
    font-size: 28px;
  }

  .services {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .container {
    padding: 20px;
  }

  .contact-container {
    margin: 40px 15px;
    padding: 25px;
  }

  input, textarea {
    padding: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .image img {
    width: 100%;
  }
}

/* FOOTER */
.footer {
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-top: 2px solid rgba(59,130,246,0.3);
}

/* CONTAINER */
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* BRAND */
.footer-brand h2 {
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 10px;
}

/* LINKS */
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-links h3,
.footer-social h3 {
  margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
  text-decoration: none;
  color: #94a3b8;
  margin: 5px 0;
  transition: 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}