
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
 
  --bg-main: #0B1120;
  --bg-card: rgba(30, 41, 59, 0.5);
  --primary: #06b6d4; 
  --primary-hover: #0891b2;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  
  /* Effects */
  --font-family: 'Poppins', sans-serif;
  --border-radius: 16px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-family);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}


h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
}


.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  background-color: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #000;
  box-shadow: var(--glow-shadow);
  transform: translateY(-3px);
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(11, 17, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


.hero-section {
  padding: 180px 5% 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  letter-spacing: -2px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.hero-image img {
  width: 450px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.2;
  z-index: 1;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.services-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card, .why-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-card:hover, .why-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
  background: rgba(30, 41, 59, 0.8);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-card h3 i {
  color: var(--primary);
  font-size: 2rem;
}

.service-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.service-list li i {
  color: var(--primary);
}

.why-card {
  text-align: center;
}

.why-icon {
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: #000;
  box-shadow: var(--glow-shadow);
  transform: scale(1.1) rotate(5deg);
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.project-img-wrapper {
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.project-tech {
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 25px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.project-link {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-link:hover {
  color: var(--primary);
  gap: 15px; 
}


.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #fff;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.contact-form button {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px;
  border-radius: 12px;
  margin-top: 10px;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-status {
  font-size: 0.9rem;
  padding: 14px 18px;
  border-radius: 12px;
  display: none;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =========================================
   9. Footer
   ========================================= */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: rgba(11, 17, 32, 0.9);
  padding: 60px 5% 40px;
  text-align: center;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
}

.footer-logo span {
  color: var(--primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: var(--glow-shadow);
  transform: translateY(-5px);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}


@media screen and (max-width: 992px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 60px;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    margin: 0 auto 40px auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image::before {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
    padding: 20px 5%;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  html {
    scroll-padding-top: 140px;
  }

  .section {
    padding: 80px 5%;
  }

  .hero-section {
    padding-top: 180px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-image img {
    width: 300px;
  }

  .contact-form {
    padding: 30px 20px;
  }
}