/* About Page Special Styles */

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, #050505 0%, #0a0a1a 50%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(11, 61, 145, 0.15) 0%, transparent 50%);
}

.radar-sweep {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(0, 191, 255, 0.3);
  animation: radar 8s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-sweep::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 191, 255, 0.2), transparent);
  top: 0;
  left: 50%;
  animation: sweep 4s linear infinite;
  transform-origin: left center;
}

@keyframes radar {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* About Content Section */
.about-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0f 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* About Cards */
.about-card {
  background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
  border: 1px solid var(--primary-blue);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--laser-blue);
  box-shadow: 
    0 10px 30px rgba(0, 191, 255, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(90deg, rgba(11, 61, 145, 0.3) 0%, transparent 100%);
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-blue), var(--comm-blue));
  border-radius: 10px;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(11, 61, 145, 0.4);
}

.about-card .section-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.3rem;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--laser-blue), var(--comm-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-body {
  padding: 1.5rem;
}

.card-body p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.card-body p:last-child {
  margin-bottom: 0;
}

/* Contact Card Special Style */
.contact-card {
  border-color: var(--signal-orange);
}

.contact-card .card-header {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.2) 0%, transparent 100%);
  border-bottom-color: rgba(255, 140, 0, 0.3);
}

.contact-card .card-icon {
  background: linear-gradient(145deg, var(--signal-orange), #ff6b00);
}

.contact-card .section-title {
  background: linear-gradient(90deg, var(--signal-orange), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(145deg, var(--alert-red), #b91030);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: linear-gradient(145deg, #b91030, var(--alert-red));
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.contact-link i {
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    min-height: 250px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .about-card .section-title {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-body p {
    font-size: 0.9rem;
    text-align: left;
  }
}

/* Add some animation to cards on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-card {
  animation: fadeInUp 0.6s ease forwards;
}

.about-card:nth-child(2) {
  animation-delay: 0.1s;
}

.about-card:nth-child(3) {
  animation-delay: 0.2s;
}

.about-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Glowing effect for cards */
.about-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-blue), var(--laser-blue), var(--comm-blue));
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover::before {
  opacity: 0.5;
}
