/* Reset styles using Bootstrap utility classes where possible */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #0d1b2a;
  color: #ccc;
}

body.dark-mode {
  background-color: #0d1b2a;
  color: #ccc;
}

/* Navbar using Bootstrap */
.navbar {
  background-color: #0a192f !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand img.site-logo:hover {
  transform: scale(1.05);
}

.nav-link {
  color: #fff !important;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #00aaff !important;
}

/* Hero Section */
.hero {
  background: url('../images/bg.png') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-content {
  max-width: 700px;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 10px;
  animation: fadeIn 1.5s;
}

body.dark-mode .hero {
  background: url('../images/bg-dark.png') center/cover no-repeat;
}

.cta-button {
  margin-top: 15px;
  padding: 12px 25px;
  background: #00aaff;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #0077cc;
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 60px 40px;
  background: #1b263b;
  color: #fff;
  text-align: center;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.service-item {
  background: #112240;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

footer {
  text-align: center;
  padding: 20px;
  background: #0a192f;
  color: #fff;
  margin-top: 20px;
}

/* About Us */
.hero-section h2, .hero-section p {
  animation: fadeIn 1.5s ease-out;
  color: #fff;
}

/* Timeline */
.timeline-step {
  display: flex;
  align-items: flex-start;
  background: #112240;
  border-left: 6px solid #0077cc;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #0077cc;
  min-width: 40px;
}

.step-content h3 {
  color: #0077cc;
}

.step-content p {
  color: #fff;
}

/* Map */
#map {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

body.dark-mode #map {
  border: 1px solid #444;
}

/* Core Values */
.values-section ul,
.why-choose-us-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

.values-section li,
.why-choose-us-section li {
  background: #112240;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s;
}

.values-section li:hover,
.why-choose-us-section li:hover {
  transform: scale(1.05);
}

.values-section li strong,
.why-choose-us-section li strong {
  font-size: 1.2rem;
  color: #00aaff;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
  background: #0a192f;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.faq {
  background: #1b263b;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.faq h3 {
  font-size: 1.8rem;
  color: #00aaff;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.faq p {
  font-size: 1.2rem;
  margin-top: 10px;
  padding: 10px;
  background: #12263f;
  border-radius: 5px;
  display: none;
  transition: all 0.3s ease-in-out;
}

.faq.active p {
  display: block;
}

/* Contact Form */
.contact-container {
  max-width: 550px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 1.8rem;
  color: #222;
  font-weight: 600;
}

.contact-form .form-control:focus {
  border-color: #2979ff;
  box-shadow: 0 0 0 2px rgba(41, 121, 255, 0.2);
}

.contact-form label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeInAnimation 1.5s forwards;
}

@keyframes fadeInAnimation {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in {
  transform: translateX(-100%);
  opacity: 0;
  animation: slideInAnimation 1s forwards;
}

@keyframes slideInAnimation {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Process Section */
.process-section {
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  margin-top: 2rem;
}

.process-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.process-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #555;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  color: #0a3d62;
}

.step p {
  margin: 0;
  color: #333;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Timeline Section */
.process-timeline-section {
  padding: 3rem 1rem;
  background: #1b263b;
  border-radius: 16px;
}

.process-timeline-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.timeline-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fff;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #112240;
  border-left: 6px solid #0077cc;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #0077cc;
  min-width: 40px;
}

.step-content h3 {
  margin: 0;
  color: #0077cc;
}

.step-content p {
  margin-top: 0.5rem;
  color: #fff;
}

@media (max-width: 768px) {
  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 0.5rem;
  }
}

/* Expertise Card Hover */
.expertise-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Blog Images Styling */
article img {
  width: auto;
  max-width: 500px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 170, 255, 0.2);
  border-radius: 8px;
  display: block;
  margin: 20px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(0, 170, 255, 0.4);
}

/* Cyber Slogan Bar */
.cyber-slogan-bar {
  width: 100%;
  background-color: #0a192f;
  border-top: 1px solid #00ffe1;
  border-bottom: 1px solid #00ffe1;
  padding: 5px 15px;
  overflow: hidden;
}

.cyber-slogan-container {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #00ffe1;
}

.cyber-slogan {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typewriter 4s steps(40, end) forwards, glitch 2s infinite;
}

.cyber-cursor {
  animation: blink 1s step-start infinite;
  color: #00ffe1;
  margin-left: 5px;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes glitch {
  0% { text-shadow: 2px 2px #ff0055, -2px -2px #00ffe1; }
  25% { text-shadow: -2px 2px #00ffe1, 2px -2px #ff0055; }
  50% { text-shadow: 2px -2px #ff0055, -2px 2px #00ffe1; }
  75% { text-shadow: -1px 1px #00ffe1, 1px -1px #ff0055; }
  100% { text-shadow: 1px 1px #ff0055, -1px -1px #00ffe1; }
}


