/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #0d1423, #0e1b33);
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 20, 40, 0.9);
  backdrop-filter: blur(8px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #d9e0f3;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #2ca8ff;
}

.contact-btn {
  background: #f28b30;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}

/* MENU TOGGLE (HAMBURGER) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO SECTION */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 60px 100px;
  overflow: hidden;
  min-height: 90vh;
}

/* Animated background */
.animated-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(44,168,255,0.15), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(242,139,48,0.15), transparent 50%),
              linear-gradient(135deg, #0d1423, #0e1b33);
  animation: bgMove 8s linear infinite alternate;
  z-index: 0;
}

@keyframes bgMove {
  0% { background-position: 0 0, 100% 100%, 0 0; }
  100% { background-position: 50px 30px, 70% 60%, 0 0; }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  z-index: 2;
  position: relative;
}

.hero-text {
  flex: 1;
  min-width: 320px;
}

.hero-text h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-text p {
  color: #b7c0d8;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 500px;
}

/* Button Styles */
.hero-buttons a {
  display: inline-block;
  margin-right: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: #2ca8ff;
  color: #fff;
}

.btn-outline {
  border: 2px solid #2ca8ff;
  color: #2ca8ff;
}

.btn-primary:hover {
  background: #1a89d9;
}

.btn-outline:hover {
  background: #2ca8ff;
  color: #fff;
}

/* HERO IMAGE */
.hero-image img {
  width: 480px;
  max-width: 100%;
  filter: drop-shadow(0px 0px 20px rgba(0, 150, 255, 0.3));
}

/* BLINKING TEXT EFFECTS */
.blink {
  animation: blinkColor 2s infinite alternate;
}
@keyframes blinkColor {
  0% { color: #2ca8ff; }
  50% { color: #f28b30; }
  100% { color: #fff; }
}

.color-shift {
  animation: colorShift 5s infinite alternate;
}
@keyframes colorShift {
  0% { color: #2ca8ff; }
  50% { color: #f28b30; }
  100% { color: #00ffc3; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .navbar {
    padding: 15px 30px;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(15, 20, 40, 0.95);
    position: absolute;
    top: 70px;
    right: 0;
    padding: 20px;
    width: 220px;
    border-radius: 8px;
  }

  .navbar ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 30px 80px;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 34px;
  }
}
/* ===== General ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1240px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #081f3f, #0b2f5f);
  color: #fff;
  padding: 100px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-buttons a {
  padding: 14px 32px;
  margin-right: 15px;
  font-weight: 600;
  border-radius: 30px;
}

.btn-primary {
  background-color: #00bfff;
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  border: 2px solid #00bfff;
  color: #00bfff;
  text-decoration: none;
}

/* ===== HERO IMAGE ===== */
.hero-image img {
  width: 100%;
  max-width: 550px;
}

/* ===== ABOUT ===== */
.about-defencecode {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.about-defencecode h2 {
  font-size: 2.4rem;
}

.about-defencecode p {
  font-size: 1.15rem;
  max-width: 760px;
  margin: auto;
}

/* ===== SERVICES ===== */
.services-defencecode {
  padding: 110px 0;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-card i {
  font-size: 42px;
  color: #00bfff;
  margin-bottom: 20px;
}

.service-card h5 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* ===== CTA ===== */
.defencecode-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, #00bfff, #0056ff);
}

.defencecode-cta h2 {
  font-size: 2.6rem;
}

.defencecode-cta p {
  font-size: 1.2rem;
}

/* ===== BENEFITS ===== */
.benefit-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.benefit-section i {
  font-size: 42px;
  margin-bottom: 15px;
}

.benefit-section h5 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* ===== PLANS ===== */
.plans-section {
  background-color: #081f3f;
  padding: 120px 0;
}

.plan-card {
  padding: 40px 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: auto;
  }
}
