* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #333;
  --light-bg: #f8fafc;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links a {
  margin-left: 2.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  margin-right: 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.primary-btn, .secondary-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
}

.secondary-btn {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.primary-btn:hover, .secondary-btn:hover {
  transform: translateY(-3px);
}

section {
  padding: 6rem 5%;
}

.solutions, .about, .contact {
  max-width: 1400px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.solution-card {
  background: linear-gradient(145deg, #ffffff, #f5f7ff);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.solution-card:nth-child(1) { border-top: 4px solid #3b82f6; }
.solution-card:nth-child(2) { border-top: 4px solid #22c55e; }
.solution-card:nth-child(3) { border-top: 4px solid #ef4444; }
.solution-card:nth-child(4) { border-top: 4px solid #8b5cf6; }
.solution-card:nth-child(5) { border-top: 4px solid #f59e0b; }
.solution-card:nth-child(6) { border-top: 4px solid #06b6d4; }

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.2);
  background: #ffffff;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover::before {
  opacity: 1;
}

.service-features {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
  padding-left: 1rem;
}

.service-features li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
  position: relative;
}

.service-features li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.team-member .role {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0.5rem 0;
}

.team-member .achievements {
  font-size: 0.9rem;
  color: #666;
  margin: 0.25rem 0;
  text-align: left;
}

.solution-card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-block;
}

.solution-card:nth-child(1) i { color: #3b82f6; background: #eff6ff; }
.solution-card:nth-child(2) i { color: #22c55e; background: #f0fdf4; }
.solution-card:nth-child(3) i { color: #ef4444; background: #fef2f2; }
.solution-card:nth-child(4) i { color: #8b5cf6; background: #f5f3ff; }
.solution-card:nth-child(5) i { color: #f59e0b; background: #fffbeb; }
.solution-card:nth-child(6) i { color: #06b6d4; background: #ecfeff; }

.solution-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.about {
  background: var(--light-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #4a5568;
}

.about-content p:last-of-type {
  margin-bottom: 2.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.contact-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-info {
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, #ffffff, #f5f7ff);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(37, 99, 235, 0.1);
  width: 100%;
}

.info-item {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.info-item .contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.info-item:hover .contact-icon {
  transform: scale(1.1);
  background: var(--primary-color);
  color: white;
}

.info-item p {
  line-height: 2;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

input, textarea {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* Team and Testimonials Sections */
.team, .testimonials {
  background: var(--light-bg);
}

.role {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0.5rem 0;
}


.testimonials .solution-card {
  text-align: left;
}

.testimonials .solution-card p {
  font-style: italic;
  margin: 1rem 0;
  line-height: 1.6;
}

.testimonials .solution-card .role {
  font-style: normal;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  background: white; /* Changed background to match presumed Professional Services style */
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.team-member i {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  transition: transform 0.3s;
}

.team-member:hover i {
  transform: scale(1.1);
}

.team-member::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s;
}

.team-member:hover::after {
  opacity: 1;
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Cases Section */
.cases {
  background: var(--light-bg);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--primary-color);
}

.case-card p {
  padding: 0 1.5rem;
}

.case-card ul {
  padding: 1rem 2.5rem 1.5rem;
}

/* Testimonials Section -  Styles largely inherited from above */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.author h4 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

footer {
  background: #1e293b;
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
}

.footer-section a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 0.5rem 0;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-image {
  flex: 1;
  max-width: 800px;
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.hero-image img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  section {
    padding: 4rem 2rem;
  }
}