/* Global Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #002e5b; /* Solid hero-blending color */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-header h1 {
  font-size: 1.5rem;
  color: #fff;
}

.site-header nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #002e5b, #005f99);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #ffd700;
  color: #002e5b;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #005f99;
}

/* Insights Section */
.insights {
  padding: 4rem 0;
  background: #fff;
}

.insights h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.insights ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.insights a {
  display: block;
  padding: 1rem;
  background: #eef6fc;
  border-radius: 6px;
  color: #005f99;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
.site-footer {
  background: #002e5b;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* Animation Section */
.animation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
  position: relative;
  width: 300px;
  margin: 1rem auto;
}

.logo-circle {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: pulse 3s infinite ease-in-out;
  transform: scale(0.5);
  opacity: 0;
}

.circle1 {
  width: 200px;
  height: 200px;
  border-color: #0077cc;
  animation-delay: 0s;
}

.circle2 {
  width: 230px;
  height: 230px;
  border-color: #333;
  animation-delay: 1s;
}

.circle3 {
  width: 260px;
  height: 260px;
  border-color: #ccc;
  animation-delay: 2s;
}

.logo-img {
  width: 220px; /* or larger */
  max-width: 90%; /* optional for responsiveness */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Responsive Tweaks */
@media (max-width: 1200px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

/* Special Style for Adaptive Testing Card */
.highlight-card {
  position: relative;
  border: 2px solid #ffd700;
  background-color: #fffef5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Top-right Icon Inside Card */
.card-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 1;
}