/* Basic Reset & Fonts */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f1f3d;
  color: white;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background layers styling */
#animated-gradient,
#pattern-layer,
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

/* Animated Gradient Background */
#animated-gradient {
  background: linear-gradient(270deg, #1e3a8a, #2563eb, #60a5fa, #3b82f6);
  background-size: 800% 800%;
  animation: gradientAnimation 25s ease infinite;
  filter: brightness(1.2);
  opacity: 0.45;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Pattern Layer with subtle shapes */
#pattern-layer {
  background-image: radial-gradient(
      circle,
      rgba(255 255 255 / 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(circle, rgba(255 255 255 / 0.04) 1px, transparent 1px);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
  opacity: 0.07;
  filter: brightness(1);
  mix-blend-mode: soft-light;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #003366;
  color: white;
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* Header */
header {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0 0 0 / 0.35);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  margin-right: 1rem;
  user-select: none;
}

h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: white;
  margin: 0;
  flex-grow: 1;
}

.hit {
  color: #e63946; /* red accent */
}

/* Navigation */
nav a {
  color: #a8c0ff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a:focus {
  background-color: #2563eb;
  color: white;
  outline: none;
}

nav a.active,
nav a[aria-current="page"] {
  background-color: #e63946;
  color: white;
  font-weight: 700;
}

/* Main Content */
main {
  max-width: 1080px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  background: rgba(0 0 0 / 0.35);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgb(0 0 0 / 0.4);
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #60a5fa;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #dbeafe;
}

/* Services Grid */
.services-grid.expanded-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.service-card {
  background-color: rgba(255 255 255 / 0.05);
  border: 1px solid rgba(255 255 255 / 0.15);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  color: white;
  box-shadow: 0 0 10px rgba(0 0 0 / 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0 170 255 / 0.7);
  outline: none;
}

.service-icon {
  font-size: 2.5rem;
  color: #00aaff; /* bright blue */
  margin-bottom: 0.75rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
}

.service-card p {
  font-size: 1rem;
  color: #cfd8dc;
  margin: 0;
  line-height: 1.4;
}

/* Pricing Section */
.pricing {
  background: rgba(0 0 0 / 0.25);
  border-radius: 12px;
  margin: 2rem 0 1rem;
  padding: 1.5rem 1.5rem 1.2rem;
  color: #cbd5e1;
  box-shadow: 0 0 8px rgba(0 0 0 / 0.2);
}

.pricing h3 {
  margin-top: 0;
  color: #60a5fa;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.pricing ul {
  list-style: disc inside;
  padding-left: 0;
  margin: 0 0 0.8rem 0;
}

.pricing li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

/* Button styles */
.btn-primary {
  display: inline-block;
  background-color: #00aaff;
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1.2rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0 170 255 / 0.7);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0077cc;
  outline: none;
  box-shadow: 0 7px 25px rgba(0 110 180 / 0.9);
}

/* Why Us Section */
.why-us {
  background: rgba(0 0 0 / 0.35);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  margin-top: 3rem;
  box-shadow: 0 8px 15px rgb(0 0 0 / 0.4);
}

.why-us h2 {
  color: #60a5fa;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-us ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.why-us li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #dbeafe;
}

/* Testimonials Section */
.testimonials {
  background: rgba(0 0 0 / 0.25);
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgb(0 0 0 / 0.4);
}

.testimonials h2 {
  color: #60a5fa;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: center;
}

.testimonial {
  flex: 1 1 280px;
  background: rgba(255 255 255 / 0.07);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 0 10px rgba(0 0 0 / 0.25);
  color: #e0e7ff;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover,
.testimonial:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0 170 255 / 0.8);
  outline: none;
}

.testimonial p {
  margin: 0 0 0.7rem;
  font-style: italic;
}

.testimonial strong {
  color: #00aaff;
}

/* Footer */
footer {
  background-color: rgba(0 0 0 / 0.6);
  padding: 1.5rem 2rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
  user-select: none;
  box-shadow: inset 0 1px 3px rgb(255 255 255 / 0.1);
  position: relative;
  z-index: 2;
}

.social-links {
  margin-bottom: 0.7rem;
}

.social-links a {
  color: #60a5fa;
  margin: 0 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: #e63946;
  outline: none;
}

.footer-link {
  color: #a0aec0;
  text-decoration: underline;
  margin: 0 0.3rem;
}

.footer-link:hover,
.footer-link:focus {
  color: #60a5fa;
  outline: none;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    margin: 0.5rem 0.8rem;
  }
  .testimonial-list {
    flex-direction: column;
  }
}

.service-icon-inline {
  color: #00aaff;
  margin-right: 0.5rem;
  font-size: 1.4rem;
  vertical-align: middle;
}

a.linkedin-link {
  display: inline-block;
  background-color: #000000; /* black */
  color: white;
  padding: 6px 12px;          /* reduced padding */
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;          /* slightly smaller font */
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

a.linkedin-link:hover,
a.linkedin-link:focus {
  background-color: #ffffff; /* white on hover */
  color: #000000;            /* ensure text is readable on white bg */
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

.contact-info {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  padding: 1.5rem 2rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.contact-info h2 {
  color: #60a5fa;
  margin-bottom: 1rem;
}

.contact-info p,
.contact-info label {
  color: #dbeafe;
}

.contact-info input,
.contact-info textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.contact-info input:focus,
.contact-info textarea:focus {
  outline: 2px solid #60a5fa;
  background-color: #f0f8ff;
  color: #000;
}

.contact-info button.btn-primary {
  display: inline-block;
  width: auto;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-block;
  background-color: #2563eb; /* bright blue */
  color: white;
  padding: 6px 16px;          /* smaller padding */
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;          /* smaller font size */
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #1e40af; /* darker blue on hover */
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.8);
  outline: none;
  color: white;
}

.services-page {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.intro-text {
  font-size: 1.1rem;
  color: #d1d5db;
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h2 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.centered-cta {
  text-align: center;
  margin-top: 3rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.tile {
  background-color: #1e293b;
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Services Grid with 3 Columns */
.services-grid.expanded-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* space between cards */
  margin-top: 1rem;
  padding: 0 1rem;
}

/* Individual Service Card Styling */
.service-card {
  background: rgba(255, 255, 255, 0.1); /* subtle translucent background */
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  outline-offset: 4px;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

/* Icons inside Service Cards */
.service-icon-inline {
  color: #1e90ff; /* Example accent color */
  margin-right: 0.5rem;
  font-size: 1.25rem;
  vertical-align: middle;
}

/* Headings inside Service Cards */
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

/* Paragraph inside Service Cards */
.service-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #ddd;
}

/* Responsive fallback for smaller screens */
@media (max-width: 900px) {
  .services-grid.expanded-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid.expanded-services {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
}

/* FAQ Container to center and limit width */
.faq-container {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

/* Each FAQ item box */
.faq-item {
  background-color: rgba(30, 50, 90, 0.85); /* semi-transparent navy blue */
  color: #e0e7ff; /* light blueish text */
  border-radius: 12px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 40, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Subtle hover/focus effect */
.faq-item:hover,
.faq-item:focus-within {
  background-color: rgba(45, 70, 130, 0.95);
  box-shadow: 0 8px 25px rgba(0, 100, 255, 0.5);
  outline: none;
}

/* FAQ question */
.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  color: #a8c0ff; /* light blue accent */
  font-weight: 700;
  line-height: 1.3;
}

/* FAQ answer paragraph */
.faq-item p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #d0d8ff;
}

/* FAQ links - easier to read */
.faq-item a {
  font-weight: 600;
  color: #ffffff; /* slightly brighter, softer blue */
  text-decoration: underline;
  text-shadow: 0 0 3px rgba(130, 177, 255, 0.7);
  transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.2s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

/* Hover and focus effect for links */
.faq-item a:hover,
.faq-item a:focus {
  color: #f55a5a; /* soft red accent */
  background-color: rgba(230, 57, 70, 0.15);
  text-shadow: 0 0 5px rgba(245, 90, 90, 0.9);
  outline: none;
}

.cta-button {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #005fa3;
  outline: none;
}

.blog-post {
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  color: #dbeafe;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.blog-post-title {
  color: #60a5fa;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.blog-post-date {
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.blog-post p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.blog-post ul,
.blog-post ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.blog-post ul li,
.blog-post ol li {
  margin-bottom: 0.5rem;
}

.blog-post a {
  color: #60a5fa;
  text-decoration: underline;
  font-weight: 600;
}

.blog-post a:hover,
.blog-post a:focus {
  color: #e63946;
  outline: none;
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}

.consultation-cta {
  font-size: 1.1rem;
  color: #dbeafe;
  text-align: center;
  margin-top: 2rem;
}

.consultation-cta a {
  color: #00aaff;
  font-weight: 700;
  text-decoration: none;
}

.consultation-cta a:hover,
.consultation-cta a:focus {
  color: #e63946;
  text-decoration: underline;
  outline: none;
}

.content {
  padding: 1rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}
