:root {
  --primary: #4a6cf7;
  --primary-dark: #3a5bd8;
  --primary-light: #eef2ff;
  --text-primary: #333333;
  --text-secondary: #6c757d;
  --body-bg: #f5f7fb;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --border-radius: 0.5rem;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--body-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
.main-header {
  background: var(--header-bg);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: var(--spacing-xl) 0;
  background: 
    linear-gradient(135deg, rgba(238, 242, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath fill='%234a6cf7' fill-opacity='0.1' d='M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 L1000,600 L0,600 Z'%3E%3C/path%3E%3Cpath fill='%234a6cf7' fill-opacity='0.07' d='M0,200 C150,300 350,100 500,200 C650,300 850,100 1000,200 L1000,600 L0,600 Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden; /* Ensure overflow is hidden */
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 200%; /* Make the background twice as wide */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28' width='56' height='28'%3E%3Cpath fill='%234a6cf7' fill-opacity='0.05' d='M56 26v2h-7.75c2.3-1.27 4.94-2 7.75-2zm-26 2a2 2 0 1 0-4 0h-4.09A25.98 25.98 0 0 0 0 16v-2c.67 0 1.34.02 2 .07V14a2 2 0 0 0-2-2v-2a4 4 0 0 1 3.98 3.6 28.09 28.09 0 0 1 2.8-3.86A8 8 0 0 0 0 6V4a9.99 9.99 0 0 1 8.17 4.23c.94-.95 1.96-1.83 3.03-2.63A13.98 13.98 0 0 0 0 0h7.75c2 1.1 3.73 2.63 5.1 4.45 1.12-.72 2.3-1.37 3.53-1.93A20.1 20.1 0 0 0 14.28 0h2.7c.45.56.88 1.14 1.29 1.74 1.3-.48 2.63-.87 4-1.15-.11-.2-.23-.4-.36-.59H26v.07a28.4 28.4 0 0 1 4 0V0h4.09l-.37.59c1.38.28 2.72.67 4.01 1.15.4-.6.84-1.18 1.3-1.74h2.69a20.1 20.1 0 0 0-2.1 2.52c1.23.56 2.41 1.2 3.54 1.93A16.08 16.08 0 0 1 48.25 0H56c-4.58 0-8.65 2.2-11.2 5.6 1.07.8 2.09 1.68 3.03 2.63A9.99 9.99 0 0 1 56 4v2a8 8 0 0 0-6.77 3.74c1.03 1.2 1.97 2.5 2.79 3.86A4 4 0 0 1 56 10v2a2 2 0 0 0-2 2.07 28.4 28.4 0 0 1 2-.07v2c-9.2 0-17.3 4.78-21.91 12H30zM7.75 28H0v-2c2.81 0 5.46.73 7.75 2zM56 20v2c-5.6 0-10.65 2.3-14.28 6h-2.7c4.04-4.89 10.15-8 16.98-8zm-39.03 8h-2.69C10.65 24.3 5.6 22 0 22v-2c6.83 0 12.94 3.11 16.97 8zm15.01-.4a28.09 28.09 0 0 1 2.8-3.86 8 8 0 0 0-13.55 0c1.03 1.2 1.97 2.5 2.79 3.86a4 4 0 0 1 7.96 0zm14.29-11.86c1.3-.48 2.63-.87 4-1.15a25.99 25.99 0 0 0-44.55 0c1.38.28 2.72.67 4.01 1.15a21.98 21.98 0 0 1 36.54 0z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: float 60s linear infinite;
}

.hero::after {
  animation-delay: -30s; /* Start halfway through for seamless transition */
}

@keyframes float {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Only move half the width */
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: var(--spacing-xl);
}

.hero-text {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: var(--spacing-xl) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  padding: 0 var(--spacing-xl);
}

.feature-card {
  background: var(--card-bg);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

/* Services Section */
.services {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.services-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.service-card {
  background: var(--card-bg);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 20px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.service-title {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.service-details {
  flex-grow: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: var(--spacing-md);
}

/* Service Button Styling */
.service-button {
  display: block;
  width: 80%;
  margin: 20px auto 0;
  padding: 10px 0;
  background-color: #4a6cf7;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-button:hover {
  background-color: #3a5bd9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

/* Enhanced More Services Section */
.more-services {
    margin-top: 60px;
    padding: 40px;
    background-color: #f8faff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.more-services h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.more-services h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a6cf7;
}

.expertise-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.expertise-area {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expertise-area:hover {
    transform: translateY(-5px);
}

.expertise-area i {
    font-size: 36px;
    color: #4a6cf7;
    margin-bottom: 15px;
}

.expertise-area h4 {
    margin-bottom: 10px;
    color: #2d3748;
}

.expertise-area p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.exclusive-services {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.exclusive-service {
    flex: 1;
    min-width: 280px;
    padding: 20px 25px;
    background-color: #eef2ff;
    border-left: 5px solid #4a6cf7;
    border-radius: 0 8px 8px 0;
}

.exclusive-service h4 {
    color: #4a6cf7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exclusive-service h4 i {
    font-size: 22px;
}

.services-cta {
    display: block;
    width: max-content;
    margin: 30px auto 0;
    padding: 14px 28px;
    background-color: #4a6cf7;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.services-cta:hover {
    background-color: #3a5bd9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

@media (max-width: 768px) {
    .expertise-grid, .exclusive-services {
        flex-direction: column;
    }
    
    .expertise-area, .exclusive-service {
        max-width: 100%;
    }
}

/* Expertise Button Styling */
.expertise-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    background-color: #eef2ff;
    color: #4a6cf7;
    border: 1px solid #4a6cf7;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expertise-button:hover {
    background-color: #4a6cf7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 108, 247, 0.2);
}

/* Capabilities List Styling */
.capabilities-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.capabilities-list li {
    background-color: #f5f7ff;
    border-left: 4px solid #4a6cf7;
    padding: 12px 20px;
    margin: 5px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 15px);
    min-width: 250px;
}

.capabilities-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #eef2ff;
}

.more-services {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #fafbff;
    border-radius: 8px;
}

/* Enhanced About Section */
.about {
    padding: 80px 20px;
    background-color: #f8faff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-size: 36px;
    color: #2d3748;
    margin-bottom: 15px;
}

.about-tagline {
    font-size: 18px;
    color: #4a6cf7;
    font-weight: 500;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.about-story {
    flex: 1;
    min-width: 300px;
}

.about-story h3 {
    margin: 25px 0 15px;
    color: #2d3748;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-story h3:first-child {
    margin-top: 0;
}

.about-story h3 i {
    color: #4a6cf7;
}

.about-story p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #4a5568;
}

.about-features {
    padding-left: 20px;
    margin-top: 15px;
}

.about-features li {
    margin-bottom: 12px;
    padding-left: 5px;
    line-height: 1.6;
}

.team-section {
    flex: 1;
    min-width: 300px;
}

.team-section h3 {
    margin-bottom: 25px;
    color: #2d3748;
    font-size: 22px;
    text-align: center;
}

.team-profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.profile-card {
    width: 280px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-header {
    text-align: center;
    padding: 25px 0;
    background-color: #eef2ff;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 3px 10px rgba(74, 108, 247, 0.2);
}

.profile-info {
    padding: 20px;
    text-align: center;
}

.profile-name {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    margin-bottom: 5px;
}

.profile-role {
    color: #4a6cf7;
    font-weight: 500;
    margin-bottom: 15px;
}

.profile-desc {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.profile-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eef2ff;
    color: #4a6cf7;
    transition: all 0.3s ease;
}

.profile-links a:hover {
    background-color: #4a6cf7;
    color: white;
}

.about-cta {
    text-align: center;
    margin-top: 30px;
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2d3748;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .profile-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Footer */
.footer {
  background: var(--card-bg);
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--primary-light);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: bold;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .capabilities-list li {
    flex: 0 0 100%;
  }
}
