/* Card components styling including service cards, approach cards, etc */

/* Service Section Cards - Clean style with top borders */
.service-deck {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  border-top: 4px solid;
}

/* Individual service card top borders */
.service-deck.market-entry {
  border-top-color: #3b82f6; /* Blue */
}

.service-deck.product-consulting {
  border-top-color: #06b6d4; /* Cyan */
}

.service-deck.tailored-services {
  border-top-color: #8b5cf6; /* Purple */
}

.service-deck.company-strategy {
  border-top-color: #10b981; /* Emerald */
}

.service-deck.research {
  border-top-color: #14b8a6; /* Teal */
}

.service-deck.market-strategies {
  border-top-color: #6366f1; /* Indigo */
}

.service-deck:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 65px; /* Slightly increased size */
  height: 65px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 1.6rem; /* Slightly bigger icon */
  color: var(--text-color);
  transition: transform 0.3s ease;
}

/* Add tilt animation on hover */
.service-deck:hover .service-icon {
  transform: rotate(10deg);
}


.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-family: 'Georgia', serif !important;
}

.service-description {
  color: var(--text-primary); /* Changed from var(--text-muted) to var(--text-primary) for white text */
  line-height: 1.6;
  margin-bottom: 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

/* Hover effects for icons based on card type */
.service-deck.market-entry:hover .service-icon {
  background: #3b82f6;
  border-color: #3b82f6;
}

.service-deck.product-consulting:hover .service-icon {
  background: #06b6d4;
  border-color: #06b6d4;
}

.service-deck.tailored-services:hover .service-icon {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.service-deck.company-strategy:hover .service-icon {
  background: #10b981;
  border-color: #10b981;
}

.service-deck.research:hover .service-icon {
  background: #14b8a6;
  border-color: #14b8a6;
}

.service-deck.market-strategies:hover .service-icon {
  background: #6366f1;
  border-color: #6366f1;
}

/* Consulting Approach Cards - Smoother animations */
.consulting-approach-section {
  margin-top: 3rem !important; /* Increased spacing */
}

.consulting-approach-section .lead {
  margin-bottom: 3rem !important; /* Increased space between text and cards */
}

.approach-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem; /* Increased padding for more breathing room */
  text-align: center;
  transition: all 0.3s ease; /* Changed from cubic-bezier to simple ease for smoothness */
  height: 100%;
  position: relative;
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: all 0.3s ease;
}

/* Different shades of blue for each step */
.step-1::before {
  background: linear-gradient(135deg, #1e40af, #3b82f6); /* Classic blue */
}

.step-2::before {
  background: linear-gradient(135deg, #0f766e, #14b8a6); /* Teal-blue */
}

.step-3::before {
  background: linear-gradient(135deg, #7c3aed, #a855f7); /* Purple-blue */
}

.step-4::before {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8); /* Light blue */
}

.approach-card:hover {
  transform: translateY(-4px); /* Reduced from -8px to match home page cards */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Reduced shadow intensity */
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem; /* Increased spacing below step number */
  border: 2px solid var(--border);
  transition: all 0.3s ease; /* Added smooth transition for step number */
}

/* Add subtle step number animation on card hover */
.approach-card:hover .step-number {
  transform: scale(1.05); /* Subtle scale effect */
}

.approach-title {
  font-family: 'Georgia', serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem; /* Reduced from 1.25rem to 1.1rem to prevent wrapping */
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.approach-description {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7; /* Better line spacing */
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  margin-bottom: 0;
}

/* Responsive adjustments for approach cards */
@media (max-width: 768px) {
  .consulting-approach-section {
    margin-top: 2rem !important;
  }
  
  .consulting-approach-section .lead {
    margin-bottom: 2rem !important;
  }
  
  .approach-card {
    padding: 2rem 1.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .approach-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  
  .approach-description {
    font-size: 0.9rem;
  }
}

/* Client Logos Section - Rewritten to match alumni section exactly */
.client-logos-section {
  padding: 4rem 0;
  text-align: center;
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.client-logo-item {
  padding: 2.5rem 2rem;
  border-radius: 8px;
  min-width: 200px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* Light theme - transparent background like alumni section */
body.light-theme .client-logo-item {
  background-color: transparent;
  box-shadow: none;
  border: none;
}

/* Dark theme - white background for visibility like alumni section */
body.dark-theme .client-logo-item {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Light theme - keep logos natural like alumni section */
body.light-theme .client-logo-item img {
  filter: brightness(0.8) contrast(1.2);
}

/* Dark theme - optimize for white background like alumni section */
body.dark-theme .client-logo-item img {
  filter: brightness(1) contrast(1.1);
}

.client-logo-item:hover {
  transform: translateY(-5px) scale(1.05);
  text-decoration: none;
}

/* Light theme hover - like alumni section */
body.light-theme .client-logo-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Dark theme hover - like alumni section */
body.dark-theme .client-logo-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

.client-logo-item:hover img {
  filter: brightness(1.1) contrast(1.2);
}

/* Responsive adjustments for client logos */
@media (max-width: 992px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
  }
  
  .client-logo-item {
    padding: 2rem 1.5rem;
    min-height: 120px;
  }
  
  .client-logo-item img {
    max-height: 70px;
  }
}

@media (max-width: 576px) {
  .client-logos-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 400px;
  }
  
  .client-logo-item {
    padding: 1.5rem;
    min-height: 100px;
  }
  
  .client-logo-item img {
    max-height: 60px;
  }
}
/* Ongoing Projects Banner */
.ongoing-projects-banner {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-secondary) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.ongoing-icon {
  font-size: 4rem;
  color: var(--bs-primary);
  opacity: 0.8;
}

.ongoing-stats {
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number-small {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
}

.stat-label-small {
  font-size: 0.9rem;
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  font-weight: 500;
}

/* Theme-specific styling for ongoing projects banner */
body.dark-theme .ongoing-projects-banner {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

body.light-theme .ongoing-projects-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Hide ongoing icon on mobile devices */
@media (max-width: 768px) {
  .ongoing-icon {
    display: none;
  }
  
  .ongoing-projects-banner .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .ongoing-projects-banner .col-md-4 {
    display: none;
  }
}

/* Alumni & Competition sections */
.alumni-section, .competitions-section {
  margin: 4rem auto;
  width: 95%;
  max-width: 1400px;
  padding: 3rem 2rem;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  position: relative;
  text-align: center;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bs-primary);
  border-radius: 2px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-item {
  padding: 2rem;
  border-radius: 8px;
  min-width: 200px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  position: relative;
}

/* Light theme - transparent background */
body.light-theme .logo-item {
  background-color: transparent;
  box-shadow: none;
  border: none;
}

/* Dark theme - white background for visibility */
body.dark-theme .logo-item {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-item img {
  max-height: 80px;
  max-width: 180px;
  transition: all 0.3s ease;
  object-fit: contain;
}

/* Light theme - keep logos natural */
body.light-theme .logo-item img {
  filter: brightness(0.8) contrast(1.2);
}

/* Dark theme - optimize for white background */
body.dark-theme .logo-item img {
  filter: brightness(1) contrast(1.1);
}

.logo-item:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Light theme hover */
body.light-theme .logo-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Dark theme hover */
body.dark-theme .logo-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

.logo-item:hover img {
  filter: brightness(1.1) contrast(1.2);
}

.alumni-section::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Stats counters */
.stats-container {
  padding: 0;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #2196F3;
  line-height: 1;
  margin-bottom: 0.25rem;
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  text-shadow: none;
}

.stat-label {
  font-size: 1rem;
  font-weight: normal;
}

.stat-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: none !important;
}

.stat-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.stats-container .col-md-3:not(:last-child) .stat-card::after,
.stats-container .col-md-3:not(:last-child)::after {
  display: none !important;
  content: none !important;
}

body.light-theme .stats-container,
body.dark-theme .stats-container {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Team Cards Styling - Clean and minimal */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; /* More rounded corners */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
}

.team-card:hover {
  transform: translateY(-10px); /* Enhanced hover effect */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Dark theme card styling */
body.dark-theme .team-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Light theme card styling */
body.light-theme .team-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-color: rgba(0, 0, 0, 0.1);
}

.team-card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.team-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border); /* Slightly thicker border */
  transition: all 0.4s ease; /* Smoother transition */
}

.team-card:hover .team-image {
  transform: scale(1.08); /* Enhanced scale effect */
}

.team-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em; /* Improved letter spacing */
  font-family: 'Georgia', serif !important;
}

.team-designation {
  font-size: 1rem;
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

.team-social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px; /* More rounded corners */
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
  font-size: 1.1rem;
}

.team-social-btn:hover {
  transform: translateY(-3px); /* Enhanced hover effect */
  color: var(--text-primary);
  border-color: var(--bs-primary);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

/* Dark theme button styling */
body.dark-theme .team-social-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .team-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bs-primary);
}

/* Light theme button styling */
body.light-theme .team-social-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .team-social-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--bs-primary);
}

/* Team message styling */
.team-message {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

body.dark-theme .team-message {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.light-theme .team-message {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Enhanced Contact Page Styling - Simplified */
.contact-form-card, .contact-info-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
}

/* Dark theme styling */
body.dark-theme .contact-form-card,
body.dark-theme .contact-info-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Light theme styling */
body.light-theme .contact-form-card,
body.light-theme .contact-info-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title, .contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-family: 'Georgia', serif !important;
}

.contact-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-input:focus {
  background: var(--bg-secondary);
  border-color: var(--bs-primary);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.contact-input::placeholder {
  color: var(--text-secondary);
}

/* Dark theme form inputs */
body.dark-theme .contact-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .contact-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bs-primary);
}

/* Light theme form inputs */
body.light-theme .contact-input {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .contact-input:focus {
  background: #ffffff;
  border-color: var(--bs-primary);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-submit-btn {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Enhanced contact info spacing */
.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: 'Georgia', serif !important;
}

.contact-person {
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  font-size: 0.95rem;
  padding: 0.25rem 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--text-primary); /* Changed from var(--text-secondary) to var(--text-primary) for white text */
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}

/* Enhanced form validation styling */
.contact-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contact-input.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form-card, .contact-info-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form-title, .contact-info-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-info-item {
    margin-bottom: 1.25rem;
  }
  
  .social-btn {
    padding: 0.6rem 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .contact-form-card, .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
  
  .contact-info-item {
    margin-bottom: 1rem;
  }
  
  .social-btn {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
  
  .social-btn i {
    font-size: 1.1rem;
  }
}

