/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0077cc;
  --secondary-color: #f0f8ff;
  --dark-color: #0f0f0f;
  --text-color: #333;
  --light-text: #fff;
  --gray-text: #6c757d;
  --green-card: #00e676;
  --red-card: #ff5252;
  --blue-card: #90caf9;
  --orange-card: #ffa726;
  --pink-card: #ffc0cb;
  --violet-card: #7f00ff;
  --success-color: #28a745;
  --border-color: #e9ecef;
  --shadow: 0 8px 16px rgba(0, 119, 204, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
}

section {
  padding: 100px 0;
}

.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.line {
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  margin-right: 15px;
  border-radius: 2px;
}

.section-label h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0;
  letter-spacing: 1px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  color: var(--light-text);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
}

/* Header Styles - Enhanced */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar .nav-links {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  position: relative;
}

.navbar .nav-links a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover {
  color: var(--primary-color);
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background-color: rgba(0, 119, 204, 0.1);
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border-color);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav.show {
  display: block;
}

.mobile-nav ul {
  padding: 1.5rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 16px;
  padding: 0.75rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  display: block;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Hero Section - Enhanced */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
  color: var(--light-text);
  padding: 160px 0 100px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  max-width: 100%;
  height: auto;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.quote-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-content {
  position: relative;
  margin-bottom: 20px;
}

.quote-content i {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.quote-content p {
  font-style: italic;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 16px;
}

.author-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Services Section - Enhanced */
.services {
  background-color: #fff;
  padding: 120px 0;
}

.services-header {
  max-width: 800px;
  margin-bottom: 60px;
  text-align: center;
}

.services-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  color: var(--dark-color);
  font-weight: 700;
}

.services-header p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray-text);
  line-height: 1.6;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.tech-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-radius: 15px;
  color: var(--dark-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tech-card:hover::before {
  transform: translateX(100%);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tech-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tech-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.tech-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.tech-card p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 0;
  line-height: 1.4;
}

.arrow-link {
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.arrow-link:hover {
  background-color: rgba(0, 0, 0, 0.2);
  transform: translateX(5px);
}

.tech-card.green {
  background-color: var(--green-card);
}

.tech-card.red {
  background-color: var(--red-card);
}

.tech-card.blue {
  background-color: var(--blue-card);
}

.tech-card.orange {
  background-color: var(--orange-card);
}

.tech-card.pink {
  background-color: var(--pink-card);
}

.tech-card.violet {
  background-color: var(--violet-card);
  color: var(--light-text);
}

/* Values Section - Enhanced */
.values {
  background-color: #fff;
  padding: 120px 0;
}

.values-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  color: var(--dark-color);
  font-weight: 700;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: #ffd700;
  z-index: -1;
  border-radius: 4px;
}

.values-intro {
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 40px;
  line-height: 1.6;
}

.value-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.value-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 204, 0.1);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 119, 204, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  flex-shrink: 0;
}

.value-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
  font-weight: 600;
}

.value-content p {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.values-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.values-image img {
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  max-width: 100%;
  height: auto;
}

.values-image img:hover {
  transform: scale(1.02);
}

/* Team Section - Enhanced */
.team {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
  color: var(--light-text);
  padding: 120px 0;
}

.team-header {
  max-width: 800px;
  margin-bottom: 60px;
  text-align: center;
}

.team-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.team-header p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: #fff;
  color: var(--text-color);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #1565c0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 119, 204, 0.2);
}

.team-image {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 119, 204, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.team-image:hover .team-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.team-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
  font-weight: 600;
}

.team-info p {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.team-bio {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.4;
}

/* CTA Section - Enhanced */
.cta {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e3f2fd 100%);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 119, 204, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #1565c0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 700;
}

.cta p {
  margin-bottom: 40px;
  color: var(--gray-text);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
}

/* Footer - Enhanced */
footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-column p i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header-container {
    padding: 1rem 30px;
  }

  .hero-content,
  .values-content {
    gap: 40px;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-content,
  .values-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-image,
  .values-image {
    order: -1;
  }

  .hero-text,
  .values-text {
    text-align: left;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .tech-card {
    padding: 25px;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  section {
    padding: 80px 0;
  }

  .services,
  .values,
  .team {
    padding: 100px 0;
  }

  .cta {
    padding: 100px 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .header-container {
    padding: 1rem 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .tech-grid {
    padding: 25px;
  }

  .tech-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .arrow-link {
    align-self: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    padding: 20px;
  }

  .quote-box {
    padding: 25px;
  }

  .quote-author {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .services-header h2,
  .values-text h2,
  .team-header h2,
  .cta h2 {
    font-size: 1.5rem;
  }

  .tech-card h3 {
    font-size: 18px;
  }

  .team-image {
    width: 100px;
    height: 100px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for better accessibility */
.btn-primary:focus,
.navbar .nav-links a:focus,
.mobile-nav a:focus,
.tech-card:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
}
