/* =========================================
   JIYAXO G TECHNO PVT LTD
   PREMIUM DEFENCE WEBSITE CSS
========================================= */

/* GOOGLE FONT */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&display=swap");

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* ROOT COLORS */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --bg-dark: #050816;
  --bg-card: #0f172a;
  --text-light: #ffffff;
  --text-gray: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* BODY */
body {
  font-family: "Orbitron", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* SECTION SPACING */
section {
  padding: 100px 0;
}

/* TITLES */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  max-width: 800px;
  margin: auto;
  margin-bottom: 70px;
  line-height: 1.8;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* HEADER */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 4px;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: -8px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  height: 120vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.95)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
}

.badge {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  color: #60a5fa;
}

.hero-content h1 {
  font-size: 5rem;
  text-transform: uppercase;
}

.hero-content span {
  color: #2563eb;
}

.hero-content p {
  color: #94a3b8;
  margin-top: 30px;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn:hover {
  transform: translateY(-5px);
}

.section-tag {
  color: #2563eb;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: #2563eb;
}

.card p {
  color: #94a3b8;
  line-height: 1.8;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.4s ease;
  cursor: pointer;
}

/* ICON */
.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: 0.4s ease;
}

/* TITLE */
.feature-card h3 {
  font-size: 1.3rem;
  line-height: 1.5;
  transition: 0.4s ease;
}

/* PARAGRAPH HIDDEN */
.feature-card p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    max-height 0.5s ease,
    transform 0.4s ease;

  color: var(--text-gray);
  margin-top: 15px;
  line-height: 1.8;
}

/* HOVER EFFECT */
.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--glow);
}

/* SHOW P ONLY ON HOVER */
.feature-card:hover p {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
}

/* OPTIONAL ICON ANIMATION */
.feature-card:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table td:first-child {
  color: white;
  width: 40%;
  font-weight: 700;
}

.spec-table td:last-child {
  color: #94a3b8;
}

.dark-section {
  background: #020617;
}

.section-desc {
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.8;
}

.advantage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.advantage-pill {
  border: 1px solid #2563eb;
  padding: 18px 25px;
  color: #60a5fa;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: 0.3s;
}

.advantage-pill:hover {
  background: #2563eb;
  color: white;
}

/* FOOTER */
footer {
  background: #020617;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-section h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  line-height: 2;
  transition: 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-media {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-media img {
  transition: 0.3s ease;
}

.social-media img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #2563eb);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
}

/* GLOW EFFECT */
.glow {
  box-shadow: var(--glow);
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    /* margin-top: 150px; */
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    /* margin-top: 150px; */
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 80px 0;
  }

  .card {
    padding: 30px;
  }
}

@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 2rem;
    /* margin-top: 150px; */
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }
}



  .logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.logo-frame .side {
  width: 100%;       /* line length */
  height: 20px;       /* line thickness */
  background: #fbff00;  /* line color */
}

.logo-frame .logo-center {
  margin: 0 10px;    /* spacing between lines and logo */
}

.logo-frame img {
  width: 140px;       /* logo size */
  height: auto;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .grid-2,
  .grid-4,
  .spec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
