@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #050816;
  color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 88%;
  max-width: 1200px;
  margin: auto;
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: #4ade80;
}

/* Menu & Mega Menu */
.menu {
  display: flex;
  align-items: center;
}

.menu-item-wrapper {
  position: relative;
  padding: 26px 0;
}

.menu a.menu-link {
  margin-left: 28px;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a.menu-link:hover {
  color: #ffffff;
}

/* Mega Menu container */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 720px;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.menu-item-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mega menu left column (Articles) */
.mega-articles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-title {
  font-size: 13px;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.mega-article-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mega-article-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mega-article-img {
  width: 70px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1e293b;
}

.mega-article-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-article-info p {
  font-size: 12px;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mega menu right column (CTA / Contact) */
.mega-cta {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-cta-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 15px;
}

.mega-cta-info {
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.8;
}

.mega-cta-info strong {
  color: #4ade80;
}

.btn-mini {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #03110a;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: 0.25s;
}

.btn-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.25), transparent 35%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.3), transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  font-size: 14px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(90deg, #4ade80, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #cbd5e1;
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  color: #03110a;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(34, 197, 94, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Dashboard screen demo */
.dashboard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.screen {
  background: #0f172a;
  border-radius: 20px;
  padding: 24px;
}

.screen-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #334155;
}

.card-line {
  height: 14px;
  border-radius: 8px;
  background: #1e293b;
  margin-bottom: 14px;
}

.card-line.big {
  height: 80px;
  background: linear-gradient(90deg, #1e293b, #0ea5e9);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
}

.mini-card strong {
  display: block;
  color: #4ade80;
  font-size: 24px;
  margin-bottom: 5px;
}

/* Sections general */
section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-title p {
  color: #94a3b8;
  font-size: 17px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px;
  transition: 0.25s;
}

.service:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.45);
}

.service .icon {
  font-size: 38px;
  margin-bottom: 18px;
}

.service h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service p {
  color: #94a3b8;
  font-size: 15px;
}

/* Process */
.process {
  background: #07111f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  background: #0f172a;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 10px;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #4ade80;
  color: #03110a;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 18px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: #94a3b8;
}

/* About Us */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-box {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.14), rgba(59, 130, 246, 0.13));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 36px;
}

.about-box p {
  color: #cbd5e1;
  margin-bottom: 16px;
}

.list {
  display: grid;
  gap: 14px;
}

.list div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
  border-radius: 16px;
  color: #cbd5e1;
}

/* Contact request Form (Integrated in Contact Section) */
.contact {
  background:
    radial-gradient(circle at center, rgba(74, 222, 128, 0.18), transparent 40%),
    #050816;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 960px;
  margin: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.contact-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.contact-info p {
  color: #cbd5e1;
  margin-bottom: 24px;
  font-size: 16px;
}

.info {
  line-height: 1.8;
  color: #cbd5e1;
}

.info strong {
  color: #ffffff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: all 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4ade80;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
}

.form-group select option {
  background: #0f172a;
  color: #ffffff;
}

.contact-form button {
  margin-top: 10px;
}

/* AJAX Message styles */
.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: block;
}

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

/* Post detail page style */
.post-detail-header {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.1), transparent);
}

.post-meta {
  color: #4ade80;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.post-detail-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.post-summary {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 30px;
}

.post-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #cbd5e1;
  font-size: 17px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 24px;
  color: #ffffff;
  margin: 35px 0 15px;
  font-weight: 700;
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 30px;
  transition: 0.2s;
}

.back-to-home:hover {
  transform: translateX(-4px);
}

/* Footer */
footer {
  padding: 40px 0;
  background: #030712;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #94a3b8;
}

footer strong {
  color: white;
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

footer p {
  font-size: 14px;
  margin-bottom: 6px;
}

/* 2 Column Layout for Post and Service details */
.detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  margin-top: 20px;
  align-items: start;
}

.detail-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 100px;
}

.detail-sidebar h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
  color: #4ade80;
}

.detail-sidebar-info {
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 14px;
  color: #cbd5e1;
}

.detail-sidebar-info strong {
  color: #ffffff;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 10px;
  transition: all 0.3s linear;
}

/* Responsive Styling */
@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .hero-grid,
  .about-grid,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  .menu {
    display: flex !important;
    position: fixed;
    top: 76px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 76px);
    background: #090d22;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 15px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .menu.active {
    right: 0;
  }

  .menu-item-wrapper {
    width: 100%;
    padding: 10px 0;
  }

  .menu a.menu-link {
    margin-left: 0;
    font-size: 18px;
    width: 100%;
  }

  /* Mega menu for mobile */
  .mega-menu {
    position: static;
    width: 100% !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 0 0 10px;
    display: none;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .menu-item-wrapper:hover .mega-menu,
  .menu-item-wrapper.active .mega-menu {
    display: grid;
  }

  .mega-cta {
    display: none;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 42px;
  }

  .step {
    margin: 10px 0;
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 75px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-title h2,
  .contact-info h2 {
    font-size: 30px;
  }

  .contact-grid {
    padding: 24px;
  }
  
  .post-detail-title {
    font-size: 32px;
  }
}
