/* Custom styles for KOA Cloud website */
/* Competency card styling */

.competency-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

/* Desktop view - no background */
@media (min-width: 768px) {
  .competency-card {
    background: transparent;
  }
  
  .competency-img {
    max-width: 120px;
    margin: 0 auto 1rem;
  }
}

/* Mobile view - with background and smaller images */
@media (max-width: 767px) {
  .competency-card {
    background: var(--bs-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
  }
  
  [data-bs-theme="dark"] .competency-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .competency-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
  }
  
  .competency-card .h5 {
    font-size: 1rem;
  }
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  padding: 10px;
}

/* Dark theme support */
[data-bs-theme="dark"] .service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .service-icon {
  background: rgba(102, 126, 234, 0.2);
}

/* Sticky sidebar on desktop */
@media (min-width: 992px) {
  .sticky-top {
    position: sticky !important;
    top: 100px;
  }
}

/* Mobile optimization */
@media (max-width: 991px) {
  .service-card {
    margin-bottom: 1rem;
  }
}
/* Contact Page Styles */

/* Hero Section */
.contact-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-illustration {
  max-width: 500px;
  animation: float 3s ease-in-out infinite;
}

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

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6c757d;
}

/* Contact Cards */
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Contact Icons */
.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.phone-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.email-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

/* Contact Links */
.contact-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #667eea;
}

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

/* CTA Section */
.contact-cta {
  background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
}

.social-links .btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border-width: 2px;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.social-links svg {
  vertical-align: middle;
}

/* Dark Theme Support */
[data-bs-theme="dark"] .contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .contact-link {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .contact-link:hover {
  color: #8b9def;
}

/* Responsive Design */
@media (max-width: 991px) {
  .contact-hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .contact-illustration {
    max-width: 300px;
    margin-top: 2rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-card {
    padding: 2rem 1rem;
  }
  
  .contact-link {
    font-size: 1.1rem;
  }
  
  .social-links .btn {
    display: block;
    margin: 0.5rem auto !important;
    max-width: 200px;
  }
}

/* Animation on Scroll */
.contact-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
  animation-delay: 0.2s;
}

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

/* Company About Page Styles */

/* Hero Section */
.company-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.company-image-wrapper {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.company-image-wrapper img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.company-stat {
  text-align: center;
  padding: 1rem;
}

.company-stat i {
  font-size: 1.5rem;
}

.company-stat p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.cta-buttons .btn {
  padding: 0.875rem 2rem;
}

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
  color: white;
}

.mission-card {
  text-align: center;
  padding: 2rem;
}

.mission-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.mission-icon i {
  font-size: 3rem;
  color: white;
}

.mission-card h2,
.mission-card p {
  color: white;
}

/* Story Section */
.story-section .content-wrapper {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a5568;
}

.story-section .content-wrapper p {
  margin-bottom: 1.5rem;
}

/* Services Overview */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(157, 201, 72, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(157, 201, 72, 0.1) 0%, rgba(180, 217, 92, 0.1) 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: #9DC948;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #8ab92d 0%, #b4d95c 100%);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: white;
}

/* Values Section */
.value-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8ab92d 0%, #b4d95c 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-item h2 {
  color: #667eea;
  font-weight: 800;
}

/* Founder Section */
.founder-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 400px;
  margin: 0 auto;
}

.founder-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: auto;
}

.founder-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.founder-badge i {
  color: white;
  font-size: 1.75rem;
}

/* Clients Section */
.client-logo {
  padding: 1rem;
  transition: all 0.3s ease;
}

.client-logo img {
  max-height: 60px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
}

/* Dark Theme */
[data-bs-theme="dark"] .company-hero,
[data-bs-theme="dark"] .story-section,
[data-bs-theme="dark"] .values-section,
[data-bs-theme="dark"] .clients-section {
  background: #1a1a2e;
}

[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .value-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .service-card:hover,
[data-bs-theme="dark"] .value-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .content-wrapper {
  color: #cbd5e0;
}

/* Responsive */
@media (max-width: 991px) {
  .company-hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .company-image-wrapper {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .founder-image-wrapper {
    max-width: 300px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .company-hero h1 {
    font-size: 2rem;
  }
  
  .company-stat {
    padding: 0.5rem;
  }
  
  .mission-icon {
    width: 80px;
    height: 80px;
  }
  
  .mission-icon i {
    font-size: 2rem;
  }
}

/* Animations */
.service-card,
.value-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

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

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