/* ===== VARIABLES ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* ===== BACKGROUND SHAPES ===== */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 60%;
  right: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  bottom: 10%;
  left: 20%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
  background-size: cover;
}

.page-hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideUp 1s ease;
}

.page-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  animation: slideUp 1s ease 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT PAGE SECTION ===== */
.about-page {
  background: var(--bg-white);
}

.about-page-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-page-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-page-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.expertise-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 2rem 0;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.expertise-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 3rem;
}

.mission, .vision {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.mission h3, .vision h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.mission h3 i, .vision h3 i {
  color: var(--primary);
}

.about-page-image {
  position: relative;
}

.about-page-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===== VALUES SECTION ===== */
.values-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== APPROACH SECTION ===== */
.approach {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
}

.approach-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50px;
  right: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1;
}

.approach-step {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.approach-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 3;
}

.approach-step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.approach-step p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== SERVICES OVERVIEW ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.05;
  transition: var(--transition);
}

.service-item:hover::before {
  left: 0;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-item i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.service-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  background: var(--bg-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.advantage:hover::after {
  transform: scaleX(1);
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.advantage i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.advantage h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.advantage p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== INDUSTRY EXPERTISE ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.industry {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.industry:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.industry i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.industry h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.industry p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-about {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
}

.cta-about-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-about-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--bg-white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  opacity: 0.9;
}

.cta-guarantee i {
  color: #fbbf24;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .about-page-content {
    gap: 40px;
  }
  
  .mission-vision {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-page-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-page-text h2 {
    font-size: 2rem;
  }
  
  .expertise-highlights {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .approach-steps::before {
    display: none;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  
  .page-hero {
    padding: 100px 0 60px;
  }
  
  .page-hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .values-grid,
  .services-grid,
  .advantages-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .value-card,
  .service-item,
  .advantage,
  .industry {
    padding: 2rem 1.5rem;
  }
}

/* ===== LOADING ANIMATION ===== */
body:not(.loaded) * {
  animation: none !important;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== FOCUS STYLES ===== */
a:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .bg-shapes,
  .cta-about::before,
  .page-hero::before {
    display: none;
  }
  
  .btn {
    border: 1px solid #000;
    color: #000;
    background: none;
  }
}