/* ==========================================================================
   BLUE FORCE SECURITY GUARD SERVICE - Main Stylesheet
   Theme Colors: Deep Security Blue (#0c0978), Crimson Red (#990000)
   ========================================================================== */

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

:root {
  --primary-blue: #0c0978;
  --primary-blue-dark: #06043d;
  --primary-blue-light: #1612a4;
  --primary-red: #990000;
  --primary-red-hover: #b80000;
  --accent-gold: #d97706;
  --accent-gold-glow: rgba(217, 119, 6, 0.25);
  
  --bg-dark: #05042e;
  --bg-dark-card: #0c0957;
  --bg-light: #f8fafc;
  --bg-light-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-white: #ffffff;
  --text-light-muted: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(12, 9, 120, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 9, 120, 0.12);
  --shadow-lg: 0 16px 36px rgba(12, 9, 120, 0.18);
  --shadow-glow: 0 0 35px rgba(12, 9, 120, 0.4);
  --shadow-red-glow: 0 0 25px rgba(153, 0, 0, 0.4);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */

.topbar {
  background: var(--primary-blue-dark);
  color: var(--text-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light-muted);
}

.topbar-item i {
  color: var(--primary-red);
  font-size: 1rem;
}

.topbar-item a {
  color: var(--text-white);
  font-weight: 500;
}

.topbar-item a:hover {
  color: #ff4d4d;
}

.topbar-license {
  background: rgba(153, 0, 0, 0.25);
  border: 1px solid rgba(153, 0, 0, 0.6);
  color: #ff9999;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary-red);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-hover) 100%);
  color: var(--text-white);
}

.btn-red:hover {
  background: linear-gradient(135deg, var(--primary-red-hover) 0%, var(--primary-red) 100%);
  box-shadow: var(--shadow-red-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline-blue:hover {
  background: var(--primary-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION (ANIMATED MODERN)
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #100b7a 0%, #06043d 70%, #030224 100%);
  color: var(--text-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* Hero Background Animations */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 9, 120, 0.6) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  filter: blur(50px);
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.hero-glow-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 0, 0, 0.4) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  filter: blur(60px);
  animation: pulseGlow 6s infinite alternate ease-in-out 2s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.2) translate(-20px, 20px); opacity: 0.9; }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: dotBlink 1.5s infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #ff8080 50%, #ff3333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  max-width: 620px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.stat-item h3 span {
  color: var(--primary-red);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Right Visual Element */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shield-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 440px;
}

.hero-logo-img {
  width: 220px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 20px rgba(12, 9, 120, 0.8));
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-badge-tag {
  display: inline-block;
  background: var(--primary-red);
  color: var(--text-white);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.hero-pill i {
  color: #ff4d4d;
  font-size: 1.1rem;
}

/* Floating floating cards around shield */
.float-card-1 {
  position: absolute;
  top: -20px;
  left: -30px;
  background: rgba(12, 9, 120, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: floatAnim 5s ease-in-out infinite 1s;
}

.float-card-2 {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: rgba(153, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: floatAnim 6s ease-in-out infinite 0.5s;
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-light-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

/* Page Banner Header (Breadcrumb Area) Overlays */
.page-header {
  position: relative;
  padding: 4.5rem 0;
  color: var(--text-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.page-header-about {
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.90) 0%, rgba(12, 9, 87, 0.85) 100%), 
              url('../images/banner-about.jpg') center/cover no-repeat !important;
}

.page-header-services {
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.90) 0%, rgba(12, 9, 87, 0.85) 100%), 
              url('../images/banner-services.jpg') center/cover no-repeat !important;
}

.page-header-academy {
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.90) 0%, rgba(12, 9, 87, 0.85) 100%), 
              url('../images/banner-academy.jpg') center/cover no-repeat !important;
}

.page-header-gallery {
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.90) 0%, rgba(12, 9, 87, 0.85) 100%), 
              url('../images/banner-gallery.jpg') center/cover no-repeat !important;
}

.page-header-contact {
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.90) 0%, rgba(12, 9, 87, 0.85) 100%), 
              url('../images/banner-contact.jpg') center/cover no-repeat !important;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-dark .section-desc {
  color: var(--text-light-muted);
}

/* ==========================================================================
   DIVISIONS / CORE OFFERINGS (BF ACADEMY & GUARD SERVICE)
   ========================================================================== */

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.division-card {
  background: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.division-card.accent-red:hover {
  border-color: var(--primary-red);
}

.division-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-blue);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1.2rem;
  border-bottom-left-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.division-card.accent-red .division-badge {
  background: var(--primary-red);
}

.division-icon {
  width: 64px;
  height: 64px;
  background: rgba(12, 9, 120, 0.08);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.75rem;
}

.division-card.accent-red .division-icon {
  background: rgba(153, 0, 0, 0.08);
  color: var(--primary-red);
}

.division-card h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.division-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.division-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.division-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);

}

.division-features li i {
  color: var(--primary-blue);
  margin-top: 0.2rem;
}

.division-card.accent-red .division-features li i {
  color: var(--primary-red);
}

/* ==========================================================================
   SERVICES GRID & TABS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--text-white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--text-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

.tag-item {
  background: var(--bg-light-alt);
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--text-white);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ACADEMY SPECIFIC FEATURES
   ========================================================================== */

.campus-banner {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #0e0968 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: var(--text-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.campus-info h3 {
  color: var(--text-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.campus-info p {
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

.campus-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spec-box i {
  color: #ff4d4d;
  font-size: 1.5rem;
}

.spec-box h4 {
  color: var(--text-white);
  font-size: 0.95rem;
}

.spec-box span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   WHY CHOOSE US / CORE VALUES
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--text-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(153, 0, 0, 0.08);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Process Timeline */
.process-section-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(5, 4, 46, 0.93) 0%, rgba(12, 9, 87, 0.90) 100%), 
              url('../images/process-bg.jpg') center/cover no-repeat !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.process-step {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.process-step:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 15px 35px rgba(12, 9, 120, 0.3);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.process-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(12, 9, 120, 0.25);
  transition: var(--transition);
}

.process-step:hover .process-icon {
  background: linear-gradient(135deg, var(--primary-red) 0%, #7a0000 100%) !important;
  color: #ffffff !important;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(153, 0, 0, 0.4);
}

.process-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-blue);
  background: rgba(12, 9, 120, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  border: 1px solid rgba(12, 9, 120, 0.15);
  transition: var(--transition);
}

.process-step:hover .process-badge {
  background: var(--primary-red) !important;
  color: #ffffff !important;
  border-color: var(--primary-red) !important;
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   GALLERY PAGE & MODAL
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--primary-blue-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 4, 61, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--text-white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-badge {
  align-self: flex-start;
  background: var(--primary-red);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.gallery-caption {
  font-size: 1rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 4, 61, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   CONTACT US & FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--text-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: #ff4d4d;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-item h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-method-item a, .contact-method-item p {
  color: var(--text-light-muted);
  font-size: 0.95rem;

}

.contact-method-item a:hover {
  color: var(--text-white);
}

/* Form */
.contact-form-card {
  background: var(--text-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-light-alt);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--text-white);
  box-shadow: 0 0 0 4px rgba(12, 9, 120, 0.1);
}

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

.alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--primary-blue-dark);
  color: var(--text-light-muted);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

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

.footer-brand h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(153, 0, 0, 0.2);
  border: 1px solid rgba(153, 0, 0, 0.5);
  color: #ff9999;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
}

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition);
}

.footer-links a svg, .footer-links a i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--text-light-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-white);
  transform: translateX(4px);
}

.footer-links a:hover svg, .footer-links a:hover i {
  color: var(--primary-red);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg, .footer-contact-item i {
  color: var(--primary-red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-admin-link:hover {
  color: var(--text-white);
}

.footer-admin-link svg, .footer-admin-link i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.designer-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.designer-link:hover {
  color: #ff4d4d;
}

/* Floating WhatsApp & Back to Top Buttons */
.back-to-top {
  position: fixed;
  bottom: 98px;
  right: 31px;
  width: 46px;
  height: 46px;
  background: var(--primary-blue);
  color: var(--text-white);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(12, 9, 120, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(153, 0, 0, 0.4);
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-visual {
    margin-top: 3.5rem;
  }

  .float-card-1 {
    top: -32px;
    left: 10px;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
  }

  .float-card-2 {
    bottom: -25px;
    right: 10px;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-banner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .header-join-btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--text-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.open {
    clip-path: circle(140% at 100% 0);
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVE ENGINE (ALL BREAKPOINTS & INLINE GRIDS)
   ========================================================================== */

/* Tablet & Medium Screens (< 992px) */
@media (max-width: 992px) {
  .index-about-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .index-about-grid > div:nth-child(1) {
    order: 2 !important;
    margin-top: 2rem !important;
  }

  .index-about-grid > div:nth-child(2) {
    order: 1 !important;
  }

  .container {
    padding: 0 1.25rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.95rem;
  }
  
  .hero-section {
    padding: 3.5rem 0 4.5rem;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  /* Responsive Fallbacks for Inline Grids */
  div[style*="grid-template-columns: 1.1fr 0.9fr"],
  div[style*="grid-template-columns: 0.95fr 1.05fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  div[style*="grid-column: span 3"] {
    grid-column: span 1 !important;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .mobile-hide-subimages {
    display: none !important;
  }

  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .brand-text span {
    font-size: 0.65rem;
  }

  .brand-logo img {
    height: 46px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats-strip {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .stat-item h3 {
    justify-content: center;
  }

  /* Force all services and content grids to single column on mobile */
  .services-grid,
  .divisions-grid,
  .values-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid,
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Inline grid fallbacks for all custom section containers */
  div[style*="display: grid"],
  div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Preserve small 2-column checklist badges inside cards if needed */
  .service-card div[style*="grid-template-columns"],
  .module-card div[style*="grid-template-columns"],
  .hero-shield-card div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
  }

  .contact-info-card, .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .campus-banner {
    padding: 2rem 1.25rem;
  }

  .page-header {
    padding: 3rem 0;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 80px;
    right: 25px;
  }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .service-card, .division-card, .value-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   GLOBAL ICON INVERTED THEME COLOR HOVER EFFECTS
   ========================================================================== */

.service-icon,
.division-icon,
.value-icon,
.contact-icon,
.spec-box,
.process-number,
.tab-btn {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom-img:hover {
  transform: scale(1.06);
}

/* Invert Service Card Icons on Hover */
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-red) 0%, #b80000 100%) !important;
  color: #ffffff !important;
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 22px rgba(153, 0, 0, 0.4);
}

/* Invert Division Card Icons on Hover */
.division-card:hover .division-icon {
  background: var(--primary-blue) !important;
  color: #ffffff !important;
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 22px rgba(12, 9, 120, 0.4);
}

.division-card.accent-red:hover .division-icon {
  background: var(--primary-red) !important;
  color: #ffffff !important;
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 22px rgba(153, 0, 0, 0.4);
}

/* Invert Value Card Icons on Hover */
.value-card:hover .value-icon {
  background: var(--primary-red) !important;
  color: #ffffff !important;
  transform: scale(1.15) rotate(6deg);
  box-shadow: 0 8px 24px rgba(153, 0, 0, 0.45);
}

/* Invert Contact Method Icons on Hover */
.contact-method-item:hover .contact-icon {
  background: #ffffff !important;
  color: var(--primary-blue) !important;
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
}

/* Invert Spec Box on Hover */
.spec-box:hover {
  background: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(153, 0, 0, 0.3);
}

.spec-box:hover i {
  color: #ffffff !important;
  transform: scale(1.2);
}

/* Invert Process Step Numbers on Hover */
.process-step:hover .process-number {
  background: var(--primary-red) !important;
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(153, 0, 0, 0.4);
}

