/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: var(--success-color);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #059669;
  transform: translateY(-2px);
  color: var(--white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

/* Sizable and professional logo on desktop, keeping original colors */
.logo img,
.header-logo,
.footer-logo {
  max-height: 75px; /* Larger desktop visibility */
  width: auto;
  object-fit: contain;
  filter: none !important;
  transition: all var(--transition-normal);
}

.header.scrolled .logo img,
.header.scrolled .header-logo {
  max-height: 60px; /* Slightly compact when scrolled */
}

/* Tablet & Mobile responsive logo sizes */
@media (max-width: 768px) {
  .logo img,
  .header-logo,
  .footer-logo {
    max-height: 55px; /* Perfect balance on smaller viewports */
  }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header .logo,
.header .nav-links a {
  color: #ffffff;
}

.header-transparent .logo,
.header-transparent .nav-links a {
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-normal);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(20, 50, 100, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right var(--transition-normal);
    z-index: 999;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .header:not(.scrolled) .nav-menu .nav-links a {
    color: #FFFFFF;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
    color: #ffffff;
  }

  .header.scrolled .mobile-toggle {
    color: #ffffff;
  }
}

/* Cards */
.card {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #60A5FA;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--primary-color);
  color: var(--white);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #FBBF24;
}

.card-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Cards */
.wc-card {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.wc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wc-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FBBF24;
  margin-bottom: 0.25rem;
}

.wc-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Card Specific Colors */
.wc-card-blue {
  background-color: rgba(30, 64, 175, 0.2);
}
.wc-card-blue .wc-icon { color: #60A5FA; }

.wc-card-gray {
  background-color: rgba(31, 41, 55, 0.5);
}
.wc-card-gray .wc-icon { color: #9CA3AF; }

.wc-card-yellow {
  background-color: rgba(146, 64, 14, 0.2);
}
.wc-card-yellow .wc-icon { color: #FCD34D; }

.wc-card-green {
  background-color: rgba(6, 78, 59, 0.2);
}
.wc-card-green .wc-icon { color: #34D399; }

/* Training Card specific */
.training-card {
  padding: 0;
}
.training-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.training-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.training-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Vertical Scrolling Marquee Testimonials */
.testimonial-marquee-wrapper {
  overflow: hidden;
  height: 600px;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.testimonial-marquee {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: scrollVertical 30s linear infinite;
}

.testimonial-marquee:hover {
  animation-play-state: paused;
}

@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Floating Action Buttons */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 900;
}

.fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.fab-whatsapp {
  background-color: var(--success-color);
  animation: pulse 2s infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  background-color: #059669;
}

.fab-call {
  background-color: var(--primary-color);
}

.fab-call:hover {
  transform: scale(1.1);
  background-color: var(--secondary-color);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* WhatsApp Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 350px;
  background: rgba(20, 50, 100, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  z-index: 901;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-widget.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatbot-header {
  background: var(--success-color);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header h4 {
  margin: 0;
  color: white;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chatbot-close {
  cursor: pointer;
  font-size: 1.25rem;
}

.chatbot-body {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.chat-msg {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border-top-left-radius: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chat-option-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--success-color);
  color: #34D399;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.chat-option-btn:hover {
  background: var(--success-color);
  color: white;
}

.chatbot-form {
  display: none;
}
.chatbot-form.active {
  display: block;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .chatbot-widget {
    right: 1rem;
    left: 1rem;
    width: auto;
    bottom: 5rem;
  }
}

/* Accordion FAQ */
.accordion {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.accordion:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
  padding: 1.5rem;
  background: transparent;
  color: #FBBF24;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
  transition: transform var(--transition-fast);
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: rgba(255, 255, 255, 0.8);
}

.accordion.active .accordion-body {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Styled FAQ (Screenshot 2) */
.faq-styled {
  border-radius: 0.5rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.faq-styled .accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-num {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.faq-question {
  flex-grow: 1;
  color: #FBBF24;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-styled .accordion-icon {
  color: var(--accent-color);
}

/* Timeline (Our Journey) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  top: 0;
  bottom: 0;
  left: 1.5rem;
  margin-left: -1px;
}

.timeline-item {
  padding: 1rem 0 2rem 4rem;
  position: relative;
  background: inherit;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  left: 0.75rem;
  background-color: var(--white);
  border: 4px solid var(--accent-color);
  top: 1.5rem;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-year {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

select.form-control option {
  background-color: #1E3A8A; /* Matches var(--primary-color) */
  color: #FFFFFF;
}
