/* ==========================================================================
   GiveLife Premium Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors */
  --primary: #c44533;
  --primary-light: #e05e4a;
  --primary-dark: #a73728;
  --secondary: #1e293b;
  --accent: #f59e0b;
  
  /* UI Colors */
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.85);
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 30px 60px rgba(0,0,0,0.12);
  --glass-blur: blur(12px);
  
  /* Layout */
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: capitalize;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 8px 20px rgba(196, 69, 51, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(196, 69, 51, 0.4);
  color: white;
}

.btn-outline-custom {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: var(--glass-blur);
}

.btn-outline-custom:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.navbar-premium {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar-premium.scrolled {
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar-premium.scrolled .navbar-brand img {
  filter: none;
}

.navbar-premium:not(.scrolled) .navbar-brand img,
.navbar:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar-premium.scrolled .navbar-brand {
  color: var(--primary) !important;
}

/* Nav Links — Desktop */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.navbar-premium.scrolled .nav-links a {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

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

.nav-links .btn {
  color: white;
}
.nav-links .btn::after { display: none; }

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar-premium.scrolled .nav-toggle span {
  background: var(--secondary);
}

/* ==========================================================================
   Mobile Navigation (both .navbar and .navbar-premium)
   ========================================================================== */
@media (max-width: 991.98px) {

  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Hide nav-links off-screen, slide in on .open */
  .nav-links {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    align-items: flex-start;
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text-main) !important;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .btn {
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--secondary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.05);
  animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(196,69,51,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

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

/* ==========================================================================
   Services Grid
   ========================================================================== */
.section-premium {
  padding: 8rem 0;
  position: relative;
}

.section-premium .section-header { text-align: center; margin-bottom: 4rem; }

.service-card-premium {
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, rgba(196,69,51,0.03) 0%, rgba(255,255,255,0) 100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.service-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}

.service-card-premium:hover::before {
  height: 100%;
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(196, 69, 51, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card-premium:hover .service-icon-wrapper {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-card-premium h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card-premium p {
  color: var(--text-muted);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-premium {
  background: var(--surface);
  padding: 6rem 0;
  position: relative;
}

.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-premium {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}

.footer-premium h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-social-premium {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-premium a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-premium a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links-premium {
  list-style: none;
  padding: 0;
}

.footer-links-premium li {
  margin-bottom: 0.75rem;
}

.footer-links-premium a {
  color: rgba(255,255,255,0.7);
}

.footer-links-premium a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero Page (Inner Pages)
   ========================================================================== */
.hero-page {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8rem 0 4rem;
}

.hero-page h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero-page p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.hero-page .breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.hero-page .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.hero-page .breadcrumb a:hover {
  color: white;
}

.hero-page .breadcrumb span {
  margin: 0 0.5rem;
}

/* ==========================================================================
   Section (Inner Pages)
   ========================================================================== */
.section {
  padding: 5rem 0;
}

/* ==========================================================================
   Footer (Inner Pages)
   ========================================================================== */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.footer .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-links a i {
  font-size: 0.75rem;
  margin-right: 0.3rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact li i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
}

.footer-contact a:hover {
  color: white;
}

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

@media (max-width: 767.98px) {
  .footer .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   Floating Buttons
   ========================================================================== */
.floating-job-fair {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 25px rgba(196,69,51,0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.floating-job-fair:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196,69,51,0.5);
  color: white;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5);
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   Coming Soon Section
   ========================================================================== */
.coming-soon-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-section h2 {
  margin: 1.5rem 0 1rem;
}

.coming-soon-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
