/* ==========================================================================
   UNI-CHALLENGE CONSULTANTS - Exact Banner Styling System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --navy-primary: #002B49;
  --navy-dark: #00182E;
  --gold-primary: #C5A059;
  --gold-dark: #A88238;
  --gold-light: #E8D39E;
  --text-dark: #002B49;
  --text-muted: #475569;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #E2E8F0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Motion & Entrance Animations
   -------------------------------------------------------------------------- */

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text entrance animation class: starts at 200ms delay, slides from left to position */
.animate-text-left {
  opacity: 0;
  animation: slideInFromLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 200ms;
}

.animate-slide-right {
  opacity: 0;
  animation: slideInFromRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 300ms;
}

.animate-scale-in {
  opacity: 0;
  animation: fadeInScale 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 200ms;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 400ms;
}

/* --------------------------------------------------------------------------
   Main Container Frame (16:9 Aspect Proportions matching reference image)
   -------------------------------------------------------------------------- */
.banner-container {
  width: 100%;
  max-width: 1350px;
  min-height: 860px;
  background-color: #FAFAFC;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(197, 160, 89, 0.3);
  border-radius: 14px;
}

/* Background Dotted Grid Pattern (Top Right) */
.bg-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  height: 400px;
  background-image: radial-gradient(#CBD5E1 1.8px, transparent 1.8px);
  background-size: 16px 16px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   SVG Wave Vector Overlays
   -------------------------------------------------------------------------- */
.top-left-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 380px;
  z-index: 2;
  pointer-events: none;
}

.bottom-right-curve {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

/* Main Content Layer */
.content-layer {
  position: relative;
  z-index: 10;
  padding: 40px 50px 30px 50px;
}

/* --------------------------------------------------------------------------
   Logo Header (Top-Left Navy Area)
   -------------------------------------------------------------------------- */
.logo-container {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 25;
  width: 380px;
}

.logo-card {
  background: #FFFFFF;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 0 0 2px var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.logo-card:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 125px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Main Title Section (Top Right)
   -------------------------------------------------------------------------- */
.header-title-wrapper {
  margin-left: 360px;
  text-align: center;
  margin-bottom: 45px;
}

.script-subtitle {
  font-family: var(--font-script);
  font-size: 3.4rem;
  color: var(--gold-primary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: -5px;
}

.script-line {
  display: inline-block;
  height: 1.5px;
  width: 70px;
  background-color: var(--gold-primary);
}

.main-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.8rem;
  letter-spacing: 2px;
  line-height: 1.05;
  text-align: center;
}

.main-title .navy-text {
  color: var(--navy-primary);
}

.main-title .gold-text {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   Services List (Left Side - Shifted Down cleanly below curve)
   -------------------------------------------------------------------------- */
.services-section-wrapper {
  margin-top: 140px; /* Shift down so CORPORATE TRAINING is 100% visible on white */
  padding-right: 20px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 340px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(197, 160, 89, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  animation: slideInFromLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-item:nth-child(1) { animation-delay: 200ms; }
.service-item:nth-child(2) { animation-delay: 320ms; }
.service-item:nth-child(3) { animation-delay: 440ms; }
.service-item:nth-child(4) { animation-delay: 560ms; }
.service-item:nth-child(5) { animation-delay: 680ms; }

.service-item:hover {
  transform: translateX(5px);
  border-bottom-color: var(--gold-primary);
}

.service-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.service-item:hover .service-icon-circle {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
  transform: scale(1.08);
}

.service-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Center Laptop Graphic & Status Message
   -------------------------------------------------------------------------- */
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 10px;
}

.laptop-wrapper {
  position: relative;
  width: 310px;
  margin-bottom: 24px;
}

.laptop-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.gear-spin {
  transform-origin: 100px 63.5px;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.progress-bar-fill {
  animation: progressPulse 2.5s ease-in-out infinite alternate;
}

@keyframes progressPulse {
  0% { width: 25px; }
  100% { width: 85px; }
}

.center-message-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-primary);
  max-width: 460px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.center-message-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.heart-icon {
  color: var(--gold-primary);
  font-size: 1.3rem;
}

/* --------------------------------------------------------------------------
   Contact Info (Right Side)
   -------------------------------------------------------------------------- */
.contact-section {
  border-left: 2px solid rgba(197, 160, 89, 0.6);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 10px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.35;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.contact-card:hover {
  background-color: rgba(197, 160, 89, 0.1);
}

.contact-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--navy-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 43, 73, 0.25);
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.contact-card:hover .contact-icon-circle {
  transform: scale(1.08);
  background-color: var(--navy-dark);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.contact-divider {
  height: 1px;
  background-color: rgba(197, 160, 89, 0.45);
  margin: 2px 0;
}

/* --------------------------------------------------------------------------
   Social Media QR Code Grid (Bottom Section)
   -------------------------------------------------------------------------- */
.social-section {
  margin-top: 18px;
  position: relative;
  z-index: 15;
}

.social-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-primary);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  position: relative;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.social-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
  position: relative;
}

.social-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 5%;
  height: 90%;
  width: 1.5px;
  background-color: rgba(197, 160, 89, 0.55);
}

.social-name {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--navy-primary);
  text-transform: uppercase;
  text-align: center;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.qr-box {
  width: 110px;
  height: 110px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.qr-box:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 24px rgba(0, 43, 73, 0.18);
  border-color: var(--navy-primary);
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}

.qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 43, 73, 0.8);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.qr-box:hover .qr-overlay {
  opacity: 1;
}

.qr-overlay i {
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   Modal Lightbox & Toast
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 24, 46, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--gold-primary);
  text-align: center;
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.active .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  color: var(--navy-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--navy-primary);
  color: #FFFFFF;
}

.modal-qr-img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin: 15px auto;
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  padding: 10px;
  background: #FFFFFF;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-top: 10px;
}

.toast-notification {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--navy-primary);
  color: #FFFFFF;
  border: 1px solid var(--gold-primary);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification i {
  color: var(--gold-primary);
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries (All Devices Support)
   -------------------------------------------------------------------------- */

/* Laptops & Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .banner-container {
    min-height: auto;
    margin: 10px;
    border-radius: 10px;
  }
  
  .top-left-curve {
    width: 320px;
    height: 240px;
    opacity: 0.65;
  }

  .bottom-right-curve {
    height: 140px;
    opacity: 0.65;
  }

  .header-title-wrapper {
    margin-left: 0;
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 3rem;
  }

  .script-subtitle {
    font-size: 2.8rem;
  }

  .logo-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 20px;
  }

  .logo-card {
    padding: 10px 18px;
  }

  .logo-img {
    height: 95px;
    max-width: 260px;
  }

  .services-section-wrapper {
    margin-top: 0;
    padding-right: 0;
  }

  .services-list {
    max-width: 100%;
  }

  .contact-section {
    border-left: none;
    border-top: 2px solid rgba(197, 160, 89, 0.5);
    padding-left: 0;
    padding-top: 25px;
    margin-top: 15px;
  }
}

/* Mobile Devices & Tablets (<= 768px) */
@media (max-width: 768px) {
  body {
    padding: 8px;
  }

  .content-layer {
    padding: 24px 18px 20px 18px;
  }

  .top-left-curve,
  .bottom-right-curve {
    display: none; /* Hide background SVG swoops on small mobile screens to prevent text obstruction */
  }

  .bg-dots {
    width: 100%;
    height: 180px;
    opacity: 0.35;
  }

  .logo-container {
    margin-top: 25px;
    margin-bottom: 22px;
  }

  .logo-img {
    height: 80px;
    max-width: 220px;
  }

  .script-subtitle {
    font-size: 2.2rem;
    gap: 12px;
  }

  .script-line {
    width: 40px;
  }

  .main-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .center-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .laptop-wrapper {
    width: 190px;
    margin-bottom: 16px;
  }

  .center-message-title {
    font-size: 0.95rem;
  }

  .center-message-sub {
    font-size: 0.88rem;
  }

  .social-section {
    margin-top: 30px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }

  .social-col:nth-child(2)::after {
    display: none;
  }

  .social-col:not(:last-child)::after {
    height: 80%;
  }

  .social-name {
    font-size: 0.68rem;
    height: 36px;
  }

  .qr-box {
    width: 95px;
    height: 95px;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .main-title {
    font-size: 1.65rem;
  }

  .script-subtitle {
    font-size: 1.8rem;
  }

  .logo-img {
    height: 70px;
    max-width: 190px;
  }

  .service-item {
    gap: 12px;
  }

  .service-icon-circle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .service-text {
    font-size: 0.76rem;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 5px;
  }

  .qr-box {
    width: 85px;
    height: 85px;
  }
}

