/* Base Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #60a5fa;
  --text-color: #333;
  --light-text: #666;
  --bg-color: #fff;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Team photo zoom variables */
  --team-photo-zoom-1: 1;
  --team-photo-zoom-2: 1;
  --team-photo-zoom-3: 1;
  --team-photo-zoom-4: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--light-text);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-color);
  font-weight: 700;
}

.logo p {
  margin-top: 2px;
  font-size: 1rem;
  color: var(--light-text);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  background: linear-gradient(to bottom, #f0f9ff, #fff);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-direction: column;
  text-align: center;
}

.hero-content {
  flex: 1;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Features Section */
.features {
  background-color: var(--light-bg);
  text-align: center;
}

.features h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Benefits Section */
.benefits h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
}

.benefits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.benefits-content {
  flex: 1;
  text-align: center;
}

.benefits-content ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  white-space: nowrap;
}

.benefits-content ul {
  display: inline-block;
  text-align: left;
}

.benefits-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.benefits-content ul li span {
  font-weight: 600;
  color: var(--text-color);
}

.benefits-image {
  flex: 1;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-bg);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 300px;
  flex: 1;
  text-align: left;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author h4 {
  margin-bottom: 5px;
  color: var(--text-color);
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact>p {
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item p {
  margin-bottom: 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #cbd5e1;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5e1;
}

.footer-links ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

.footer-bottom p {
  color: #cbd5e1;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    justify-content: center;
    margin-top: 40px;
  }

  .benefits-container {
    flex-direction: column;
  }

  .benefits-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
  }

  nav ul li {
    margin: 0 15px;
  }

  .hero {
    padding-top: 180px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .benefits-content ul li {
    white-space: normal;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 0;
  }

  .features h2,
  .benefits h2,
  .testimonials h2,
  .contact h2 {
    font-size: 1.8rem;
  }
}

/* Demo Section */
.demo {
  background-color: var(--light-bg);
  text-align: center;
  padding: 80px 0;
}

.demo h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.demo p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.demo-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.demo-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.demo-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
  text-align: center;
}

.team h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.about-description {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
}

.about-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: start;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}

.avatar.zoom-110 .team-photo {
  transform: scale(1.20);
}

.avatar.zoom-120 .team-photo {
  transform: scale(1.2);
}

.avatar.zoom-135 .team-photo {
  transform: scale(1.70);
}

.team-photo.align-up {
  object-position: 50% 40%;
}

.team-member h3 {
  margin-top: 15px;
  margin-bottom: 4px;
}

.team-member p {
  margin-bottom: 0;
}

/* Team member social link */
.team-social {
  margin-top: 8px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.team-social img,
.team-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Footer LinkedIn icon next to text */
.linkedin-link img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .demo h2 {
    font-size: 1.8rem;
  }

  .demo p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .team h2 {
    font-size: 1.8rem;
  }

  .avatar {
    width: 140px;
    height: 140px;
  }
}

/* Per-image tweak hooks (edit these values as you like) */
/* Member 1 */
.avatar--1 .team-photo {
  transform: scale(var(--team-photo-zoom-1));
  /* zoom */
  object-position: 50% 50%;
  /* x% y% */
}

/* Member 2 */
.avatar--2 .team-photo {
  transform: scale(var(--team-photo-zoom-2));
  object-position: 50% 50%;
}

/* Member 3 */
.avatar--3 .team-photo {
  transform: scale(var(--team-photo-zoom-3));
  object-position: 50% 50%;
}

/* Member 4 (rightmost) */
.avatar--4 .team-photo {
  transform: scale(var(--team-photo-zoom-4));
  object-position: 50% 50%;
}

/* About Page Styles */
.about-section {
  padding: 80px 0;
}

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

.about-story {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-story h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-color);
  text-align: center;
}

.about-story p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--light-text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-text);
}

/* Team section on About page */
.about-section .team-grid {
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about-section .team-member {
  transition: var(--transition);
}

.about-section .team-member:hover {
  transform: translateY(-5px);
}

.about-section .avatar {
  margin: 0 auto 20px;
  border: 5px solid var(--primary-color);
}

.about-section .team-member h3 {
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.about-section .team-member p {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .about-story h2 {
    font-size: 2rem;
  }

  .about-story p {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-section .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
}