/* Home Page Specific Styles */

/* Professional Hero Section */
.ai-hero-professional {
  background: linear-gradient(135deg, var(--color-white-bg) 0%, var(--color-light-gray) 50%, rgba(0, 138, 164, 0.05) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 0 !important;
  min-height: 100vh;
}

.ai-hero-professional .hero-body {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 4rem 1.5rem;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 7.5rem);
}

.ai-hero-content {
  padding-right: 2rem;
  animation: fadeInLeft 1s ease-out;
}

.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 138, 164, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  transition: all 0.3s ease;
}

.ai-hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 138, 164, 0.4);
}

.ai-hero-badge .icon {
  margin: 0;
}

.ai-hero-title {
  color: var(--color-purple-dark-bg) !important;
  font-weight: 800 !important;
  font-size: 4.5rem !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
  background: linear-gradient(135deg, var(--color-purple-dark-bg) 0%, var(--color-primary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.ai-hero-subtitle {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.ai-hero-subtitle .subtitle {
  color: var(--color-medium-gray) !important;
  margin-bottom: 0.5rem !important;
  font-weight: 500 !important;
}

.ai-university {
  color: var(--color-primary-green) !important;
  font-weight: 600 !important;
}

.ai-hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.ai-highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--color-dark-gray);
  font-weight: 500;
}

.ai-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 138, 164, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.ai-highlight-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 138, 164, 0.4);
}

.ai-hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: fadeInUp 1s ease-out 1s both;
}

.ai-cta-button {
  background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light)) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(0, 138, 164, 0.3);
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-cta-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 138, 164, 0.4) !important;
  background: linear-gradient(135deg, var(--color-primary-green-light), var(--color-secondary-orange)) !important;
}

.ai-contact-button {
  border: 2px solid var(--color-primary-green) !important;
  color: var(--color-primary-green) !important;
  background: transparent !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-contact-button:hover {
  background: var(--color-primary-green) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 138, 164, 0.3);
}

.ai-hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.ai-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 138, 164, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(252, 139, 42, 0.1) 0%, transparent 50%);
  z-index: 1;
  animation: patternShift 20s ease-in-out infinite;
}

@keyframes patternShift {
  0%, 100% {
    background-image: 
      radial-gradient(circle at 20% 80%, rgba(0, 138, 164, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(252, 139, 42, 0.1) 0%, transparent 50%);
  }
  50% {
    background-image: 
      radial-gradient(circle at 25% 75%, rgba(0, 138, 164, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 75% 25%, rgba(252, 139, 42, 0.08) 0%, transparent 50%);
  }
}

/* Team Logo Styles */
.ai-team-logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.ai-logo-frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-team-logo {
  width: 320px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

.ai-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, transparent 0%, transparent 60%, rgba(0, 138, 164, 0.15) 75%, rgba(252, 139, 42, 0.12) 85%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  animation: subtleGlowAppear 2s ease-out 0.8s forwards, subtleGlowPulse 4s ease-in-out 4.8s infinite;
}

/* Logo Animation Styles */
.ai-logo-wrapper {
  position: relative;
  width: 320px;
  height: auto;
  max-width: 100%;
  overflow: hidden;
}

.ai-logo-shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-15deg);
  animation: shineEffect 3s ease-out 0.5s;
  z-index: 3;
}

/* Logo part animations */
.logo-part-1 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 0.5s forwards;
}

.logo-part-2 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 0.8s forwards;
}

.logo-part-3 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 1.1s forwards;
}

.logo-part-4 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 1.4s forwards;
}

.logo-part-5 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 1.7s forwards;
}

.logo-part-6 {
  opacity: 0;
  transform: translateX(-30px);
  animation: logoPartReveal 0.6s ease-out 2.0s forwards;
}

/* Hero Description */
.ai-hero-description {
  margin-bottom: 2rem;
}

.ai-hero-desc-text {
  color: var(--color-dark-gray) !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* Research Section */
.ai-research-section {
  background: white;
}

.ai-research-area-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--color-light-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ai-research-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 138, 164, 0.15);
  border-color: var(--color-primary-green);
}

.ai-featured-research {
  border: 2px solid var(--color-primary-green);
  background: linear-gradient(135deg, rgba(0, 138, 164, 0.02) 0%, rgba(252, 139, 42, 0.02) 100%);
}

.ai-featured-research:hover {
  border-color: var(--color-secondary-orange);
  background: linear-gradient(135deg, rgba(0, 138, 164, 0.05) 0%, rgba(252, 139, 42, 0.05) 100%);
}

.ai-research-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ai-research-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
  color: white;
  border-radius: 15px;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 138, 164, 0.2);
}

.ai-research-info {
  flex: 1;
}

.ai-research-title {
  color: var(--color-purple-dark-bg) !important;
  margin-bottom: 1rem !important;
  line-height: 1.3;
  font-weight: 700 !important;
}

.ai-research-badge {
  background: linear-gradient(135deg, var(--color-secondary-orange), var(--color-secondary-orange-light));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(252, 139, 42, 0.2);
}

.ai-research-content {
  color: var(--color-dark-gray);
  line-height: 1.6;
  margin-top: auto;
}

.ai-research-content p {
  margin-bottom: 1.5rem;
}

.ai-research-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-research-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-dark-gray);
}

.ai-research-highlight i {
  color: var(--color-primary-green);
  font-size: 0.8rem;
}

/* About Section Styles */
.ai-about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.ai-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(0, 138, 164, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(252, 139, 42, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.ai-about-section .container {
  position: relative;
  z-index: 2;
}

.ai-about-header {
  margin-bottom: 4rem;
}

.ai-about-subtitle {
  color: var(--color-medium-gray) !important;
  font-weight: 400 !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.ai-about-content {
  margin-bottom: 5rem;
}

.ai-about-text {
  padding-right: 2rem;
}

.ai-about-intro {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-primary-green);
  transition: all 0.3s ease;
}

.ai-about-intro:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 138, 164, 0.15);
  border-left-color: var(--color-secondary-orange);
}

.ai-intro-text {
  color: var(--color-dark-gray) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.ai-about-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ai-detail-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--color-light-gray);
}

.ai-detail-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 138, 164, 0.15);
  border-color: var(--color-primary-green);
}

.ai-detail-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-purple-dark-bg) !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.ai-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
  color: white;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ai-detail-content {
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.ai-detail-content p {
  margin-bottom: 0.75rem;
}

.ai-detail-content p:last-child {
  margin-bottom: 0;
}

.ai-detail-content strong {
  color: var(--color-primary-green);
  font-weight: 600;
}

/* Funding Section */
.ai-funding-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--color-light-gray);
}

.ai-funding-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-secondary-orange);
  transition: all 0.3s ease;
}

.ai-funding-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(252, 139, 42, 0.15);
  border-left-color: var(--color-primary-green);
}

.ai-funding-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ai-funding-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-secondary-orange), var(--color-secondary-orange-light));
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(252, 139, 42, 0.2);
}

.ai-funding-title {
  color: var(--color-purple-dark-bg) !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

.ai-funding-content {
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.ai-internal-link {
  color: var(--color-primary-green) !important;
  font-weight: 600;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.ai-internal-link:hover {
  background: var(--color-light-gray);
  color: var(--color-secondary-orange) !important;
}

.ai-external-link {
  color: var(--color-secondary-orange) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-secondary-orange);
  transition: all 0.3s ease;
}

.ai-external-link:hover {
  color: var(--color-primary-green) !important;
  border-bottom-color: var(--color-primary-green);
}

/* Hero Responsive Styles */
@media screen and (max-width: 768px) {
  .ai-hero-professional .hero-body {
    padding: 4rem 1.5rem 2rem 1.5rem;
    min-height: auto;
  }
  
  .ai-hero-professional {
    min-height: auto;
  }
  
  .ai-hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .ai-hero-title {
    font-size: 3rem !important;
  }
  
  .ai-hero-badge {
    margin-bottom: 1.5rem;
  }
  
  .ai-hero-highlights {
    margin-bottom: 2rem;
  }
  
  .ai-hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .ai-hero-actions .button {
    width: 100%;
    justify-content: center;
  }
  
  /* AI Team Specific Mobile Styles */
  .ai-team-logo {
    width: 200px;
  }
  
  .ai-logo-wrapper {
    width: 200px;
  }
  
  .ai-research-area-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .ai-research-header {
    gap: 1rem;
  }
  
  .ai-research-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .ai-funding-card {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .ai-hero-professional .hero-body {
    padding: 3rem 1rem 2rem 1rem;
  }
  
  .ai-hero-title {
    font-size: 2.5rem !important;
  }
  
  .ai-hero-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
  
  .ai-highlight-item {
    font-size: 0.9rem;
  }
  
  .ai-highlight-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .ai-hero-actions .button {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem;
  }
  
  .ai-team-logo {
    width: 160px;
  }
  
  .ai-logo-wrapper {
    width: 160px;
  }
  
  .ai-research-area-card {
    padding: 1.5rem;
  }
  
  .ai-research-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .ai-funding-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .ai-funding-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Animation Keyframes */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes subtleGlowAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes subtleGlowPulse {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

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

@keyframes shineEffect {
  0% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(300%) skewX(-15deg);
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 138, 164, 0.2);
  }
  50% {
    box-shadow: 0 4px 15px rgba(0, 138, 164, 0.4);
  }
}
