/* ==========================================================================
   Pakistan Online Academy (pakistanonlineacademy.com)
   Official Brand Stylesheet & Theme System
   Brand Colors Derived from Official Logo:
     - Green:  #00AF50
     - Blue:   #00A3E8
     - Amber:  #F89C1E
     - Red:    #E5232A
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Poppins:wght@600;700;800;900&display=swap');

:root {
  --poa-green: #00AF50;
  --poa-green-dark: #008f41;
  --poa-green-light: #e8f7ee;
  
  --poa-blue: #00A3E8;
  --poa-blue-dark: #0286bf;
  --poa-blue-light: #e6f6fd;
  
  --poa-amber: #F89C1E;
  --poa-amber-dark: #d97d0a;
  --poa-amber-light: #fef6eb;
  
  --poa-red: #E5232A;
  --poa-red-dark: #bf161c;
  --poa-red-light: #fdebec;

  --poa-dark: #0f172a;
  --poa-dark-muted: #334155;
  --poa-gray-light: #f8fafc;
  --poa-border: #e2e8f0;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Outfit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.font-brand {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Custom Gradient Utilities */
.bg-gradient-poa {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bg-gradient-brand {
  background: linear-gradient(135deg, #00AF50 0%, #00A3E8 100%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #00AF50 0%, #00A3E8 50%, #E5232A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button & Badge Utilities */
.btn-poa-green {
  background-color: var(--poa-green);
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-poa-green:hover {
  background-color: var(--poa-green-dark);
  box-shadow: 0 10px 20px -5px rgba(0, 175, 80, 0.4);
  transform: translateY(-2px);
}

.btn-poa-blue {
  background-color: var(--poa-blue);
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-poa-blue:hover {
  background-color: var(--poa-blue-dark);
  box-shadow: 0 10px 20px -5px rgba(0, 163, 232, 0.4);
  transform: translateY(-2px);
}

.btn-poa-amber {
  background-color: var(--poa-amber);
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-poa-amber:hover {
  background-color: var(--poa-amber-dark);
  box-shadow: 0 10px 20px -5px rgba(248, 156, 30, 0.4);
  transform: translateY(-2px);
}

.btn-poa-red {
  background-color: var(--poa-red);
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-poa-red:hover {
  background-color: var(--poa-red-dark);
  box-shadow: 0 10px 20px -5px rgba(229, 35, 42, 0.4);
  transform: translateY(-2px);
}

/* Card hover animation */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Floating WhatsApp / Admission Help button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Mobile adjustments for floating button */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 9px 15px;
    font-size: 12.5px;
    gap: 7px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  }
  .whatsapp-float i {
    font-size: 18px !important;
  }
}

/* Horizontal scroll bar hide for mobile tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* iOS Safari prevent auto-zoom on inputs */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Touch device active feedback */
button:active, a.btn-poa-green:active, a.btn-poa-blue:active {
  transform: scale(0.98);
}

/* Pulse keyframes for WhatsApp */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-green {
  animation: pulse-ring 2.4s infinite;
}

/* Smooth Tab transitions */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
