/* ========================================
   HAIBA ENTERPRISES - MODERN RESPONSIVE CSS
   Light Theme with Elegant Animations
   ======================================== */

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #0891b2;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0154a0;
  transition: transform 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

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

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

.logo-img {
  height: 50px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

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

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-partners {
  margin-bottom: 2rem;
  animation: slideUp 0.8s ease-out 0.25s both;
}

.partners-label {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.partner-logos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: white;
  border: 2.5px solid var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
  animation: partnerBounce 2s ease-in-out infinite;
  flex-direction: column;
  gap: 0.75rem;
}

.partner-badge:nth-child(1) {
  animation-delay: 0s;
}

.partner-badge:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes partnerBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.partner-badge:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
  transform: scale(1.08);
}

.partner-badge:hover .tag {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.partner-text {
  position: relative;
  z-index: 2;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 220px;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tag:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.partner-divider {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 300;
  animation: dividerPulse 2.3s ease-in-out infinite;
}

@keyframes dividerPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.3s both;
}

/* ========================================
   CORE VALUES SECTION
   ======================================== */

.core-values {
  padding: 5rem 0;
  background: var(--bg-white);
}

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

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.value-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

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

.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-image {
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   SOLUTIONS CTA SECTION
   ======================================== */

.solutions-section-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solutions-section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
}

.cta-content .btn {
  background: white;
  color: #1e40af;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  border: 2px solid white;
  position: relative;
  z-index: 2;
}

.cta-content .btn:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  padding: 5rem 0;
  background: var(--bg-white);
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.features-text .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

.features-description {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.pillars {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.pillar {
  flex: 1;
  text-align: center;
}

.pillar h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  stroke: currentColor;
  animation: float 3s ease-in-out infinite;
}

.pillar:nth-child(2) .pillar-icon {
  animation-delay: 0.2s;
}

.pillar:nth-child(3) .pillar-icon {
  animation-delay: 0.4s;
}

.feature-image {
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .features-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-text .section-title {
    text-align: center;
  }

  .pillars {
    justify-content: center;
  }

  .section-subtitle {
    text-align: center;
  }

  .features-description {
    text-align: center;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .solutions-section-cta {
    padding: 3rem 1rem;
  }
}

/* ========================================
   CLIENTS SECTION
   ======================================== */

/* ========================================
   CLIENTS SECTION
   ======================================== */

.clients {
  padding: 5rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.client-item:nth-child(1),
.client-item:nth-child(2),
.client-item:nth-child(3),
.client-item:nth-child(4) {
  grid-column: auto;
}

.client-item:nth-child(5) {
  grid-column: 1 / 2;
}

.client-item:nth-child(6) {
  grid-column: 2 / 3;
}

.client-item:nth-child(7) {
  grid-column: 3 / 4;
}

.client-item {
  padding: 1.5rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-item:hover {
  transform: translateY(-4px);
  filter: brightness(0.95);
}

.client-item:nth-child(n+5) {
  grid-column: span 1;
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */

.locations {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
}

.locations .section-header {
  margin-bottom: 2rem;
}

.locations-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.8;
}

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

.location-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.location-card:hover {
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  transform: translateY(-8px);
}

.map-container {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f0f9ff;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-info {
  padding: 2.5rem;
}

.location-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.location-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.location-info .location-role {
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.location-info .location-address {
  color: var(--text-gray);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.location-info .location-expertise {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.9rem;
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h4 {
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
}

.info-item a {
  color: #60a5fa;
}

.info-item a:hover {
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-list {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .partner-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .partner-badge {
    padding: 0.6rem 1.5rem;
  }

  .partner-tags {
    max-width: 180px;
  }

  .tag {
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
  }  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

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

  .client-item {
    min-height: 100px;
    padding: 1rem;
  }
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */

.solutions-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.solution-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.solution-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.solution-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.solution-icon svg {
  width: 32px;
  height: 32px;
}

.solution-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.solution-card p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.solution-features {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-features li {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ========================================
   MISSION SECTION
   ======================================== */

.mission-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mission-card {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}

.mission-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.mission-card p {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========================================
   PILLARS SECTION (LARGE)
   ======================================== */

.pillars-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.pillars-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.pillar-item {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.pillar-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pillar-icon svg {
  width: 36px;
  height: 36px;
}

.pillar-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.pillar-item p {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========================================
   COMPETENCIES SECTION
   ======================================== */

.competencies-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, var(--bg-light) 100%);
}

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

.competency-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.competency-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(6px);
}

.competency-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.competency-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   PARTNERSHIP SECTION
   ======================================== */

.partnership-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.partner-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--primary);
  text-align: center;
  transition: all 0.3s ease;
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.partner-card h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.partner-card p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================
   WHY CHOOSE LARGE SECTION
   ======================================== */

.why-choose-large {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, var(--bg-light) 100%);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.why-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.why-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.why-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

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

  .pillars-grid-large {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 3rem 0;
  }

  .why-card,
  .pillar-item,
  .solution-card {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========================================
   ENHANCED ANIMATIONS FOR VISUAL APPEAL
   ======================================== */

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(14, 165, 233, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6), 0 0 30px rgba(30, 64, 175, 0.3);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-1deg);
  }
  75% {
    transform: rotate(1deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%, 49%, 100% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0.5;
  }
}

/* Apply animations to key elements */

header {
  animation: slideInDown 0.6s ease-out;
}

.hero-title {
  animation: fadeInScale 1s ease-out !important;
}

.hero-subtitle {
  animation: fadeInUp 1s ease-out 0.2s both !important;
}

.partner-badge {
  animation: fadeInUp 1s ease-out 0.3s both;
  transition: all 0.3s ease;
}

.partner-badge:hover {
  animation: heartbeat 0.6s ease-in-out;
}

.value-card {
  animation: fadeInScale 0.8s ease-out;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-card:hover {
  animation: bounce 0.6s ease-in-out;
}

.value-icon {
  animation: spin 20s linear infinite;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  animation: spin 8s linear infinite;
  color: var(--accent);
}

.service-card {
  animation: slideInUp 0.8s ease-out;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
  animation: bounce 0.4s ease-in-out;
}

.service-image {
  overflow: hidden;
  border-radius: 8px;
}

.service-image img {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.1) rotate(2deg);
}

.features-text {
  animation: slideInLeft 0.8s ease-out !important;
}

.feature-image {
  animation: slideInRight 0.8s ease-out !important;
}

.feature-image img {
  animation: float 6s ease-in-out infinite;
}

.pillar {
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.pillar:hover {
  animation: bounce 0.6s ease-in-out;
}

.pillar-icon {
  animation: spin 30s linear infinite;
  transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
  animation: spin 3s linear infinite;
  color: var(--accent);
}

.client-item {
  animation: fadeInScale 0.8s ease-out;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.client-item:hover {
  animation: scale 0.4s ease-out;
  transform: scale(1.15) rotateY(10deg);
}

.location-card {
  animation: slideInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.location-card:hover {
  animation: glow 2s ease-in-out infinite;
}

.contact-form {
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.contact-info {
  animation: slideInLeft 0.8s ease-out;
}

.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

/* Navigation link animations */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Solutions page specific animations */
.solution-card {
  animation: fadeInScale 0.8s ease-out;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-card:hover {
  animation: bounce 0.6s ease-in-out;
}

.solution-icon {
  transition: all 0.3s ease;
  animation: spin 40s linear infinite;
}

.solution-card:hover .solution-icon {
  animation: spin 4s linear infinite;
  transform: scale(1.15);
}

.special-solutions {
  animation: slideInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.special-solutions:hover {
  animation: glow 2s ease-in-out infinite;
  transform: translateY(-5px);
}

/* Smooth scroll animation for anchor links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Stagger animations for grid items */
.value-card:nth-child(1) { animation-delay: 0s; }
.value-card:nth-child(2) { animation-delay: 0.1s; }
.value-card:nth-child(3) { animation-delay: 0.2s; }
.value-card:nth-child(4) { animation-delay: 0.3s; }

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }

.solution-card:nth-child(1) { animation-delay: 0s; }
.solution-card:nth-child(2) { animation-delay: 0.1s; }
.solution-card:nth-child(3) { animation-delay: 0.2s; }
.solution-card:nth-child(4) { animation-delay: 0.3s; }
.solution-card:nth-child(5) { animation-delay: 0.4s; }
.solution-card:nth-child(6) { animation-delay: 0.5s; }

.client-item:nth-child(1) { animation-delay: 0s; }
.client-item:nth-child(2) { animation-delay: 0.1s; }
.client-item:nth-child(3) { animation-delay: 0.2s; }
.client-item:nth-child(4) { animation-delay: 0.3s; }
.client-item:nth-child(5) { animation-delay: 0.4s; }
.client-item:nth-child(6) { animation-delay: 0.5s; }
.client-item:nth-child(7) { animation-delay: 0.6s; }

