﻿/* ===================================================================
   AS TECH MASTERY - Premium Theme Stylesheet (One-Page Edition)
   Color Family: #012863, #002762, #FCA000, #FDA101, #FFFFFF
   Tagline: Learn • Apply • Succeed
   =================================================================== */

:root {
  /* Brand Navy Palette */
  --navy-primary: #002762;
  --navy-dark: #012863;
  --navy-deep: #00183e;
  --navy-midnight: #000e26;
  --navy-soft: #083479;
  --navy-subtle: #edf3fc;

  /* Brand Amber/Gold Palette */
  --gold-primary: #FDA101;
  --gold-hover: #FCA000;
  --gold-light: #ffba3b;
  --gold-subtle: #fff7eb;
  --gold-glow: rgba(253, 161, 1, 0.35);

  /* Neutrals & Utilities */
  --pure-white: #ffffff;
  --surface-light: #f8fafc;
  --surface-alt: #f1f5fa;
  --border-light: rgba(1, 40, 99, 0.1);
  --border-hover: rgba(253, 161, 1, 0.4);
  --text-main: #0f1f38;
  --text-muted: #556987;
  --text-light: #8896ab;
  
  /* Modern UI Elements */
  --card-radius: 18px;
  --btn-radius: 50px;
  --shadow-sm: 0 4px 15px rgba(1, 40, 99, 0.06);
  --shadow-md: 0 10px 30px rgba(1, 40, 99, 0.09);
  --shadow-lg: 0 20px 45px rgba(1, 40, 99, 0.13);
  --shadow-gold: 0 10px 25px rgba(253, 161, 1, 0.3);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   PREMIUM BRAND PAGE LOADER
   =================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 50% 45%, #001a47 0%, #000e26 65%, #000714 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
  opacity: 1;
  visibility: visible;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.loader-brand {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.loader-rings {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}

.ring-outer {
  width: 130px;
  height: 130px;
  border-width: 3px;
  border-color: var(--gold-primary) transparent var(--gold-primary) transparent;
  animation: spinClockwise 2s linear infinite;
  box-shadow: 0 0 25px rgba(253, 161, 1, 0.25);
}

.ring-inner {
  width: 105px;
  height: 105px;
  border-width: 2.5px;
  border-color: transparent #3b82f6 transparent rgba(253, 161, 1, 0.6);
  animation: spinCounterClockwise 1.4s linear infinite;
}

.logo-box {
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(253, 161, 1, 0.4);
  padding: 10px;
  animation: logoPulse 2.4s ease-in-out infinite;
  z-index: 3;
}

.loader-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.loader-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  text-shadow: 0 0 12px rgba(253, 161, 1, 0.5);
}

.loader-tagline span {
  display: inline-block;
  animation: fadeInLetters 1.8s ease-in-out infinite alternate;
}

.loader-tagline span:nth-child(2) {
  animation-delay: 0.3s;
}

.loader-tagline span:nth-child(3) {
  animation-delay: 0.6s;
}

.loader-progress-bar {
  width: 190px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-primary), #fff, var(--gold-hover), transparent);
  animation: progressSliding 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-status {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  animation: blinkDot 1s infinite alternate;
}

@keyframes spinClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(253, 161, 1, 0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 35px rgba(253, 161, 1, 0.6); }
}

@keyframes progressSliding {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes fadeInLetters {
  0% { opacity: 0.6; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-2px); }
}

@keyframes blinkDot {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Base Styles & Smooth Scroll */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--pure-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Section scroll margin for sticky navbar offset */
section, header {
  scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* ===================================================================
   TOPBAR & HEADER NAVIGATION
   =================================================================== */
.topbar {
  background: var(--navy-midnight);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(253, 161, 1, 0.2);
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
  color: var(--gold-primary);
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 6px;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.topbar-social a:hover {
  background: var(--gold-primary);
  color: var(--navy-midnight);
  transform: translateY(-2px);
}

/* Navbar */
.navbar-main {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(1, 40, 99, 0.06);
  padding: 12px 0;
  transition: var(--transition-fast);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.navbar-main.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 30px rgba(1, 40, 99, 0.12);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.navbar-main.scrolled .brand-logo {
  height: 46px;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-primary);
  padding: 8px 14px !important;
  position: relative;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--gold-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  border-radius: 3px;
}

.navbar-nav .nav-link:hover {
  color: var(--gold-hover);
  background: rgba(253, 161, 1, 0.05);
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: rgba(253, 161, 1, 0.09);
}

.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, #FCA000 0%, #FDA101 100%);
  box-shadow: 0 0 10px rgba(253, 161, 1, 0.7);
  height: 3px;
}

/* Custom Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
  color: var(--navy-midnight);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border: none;
  padding: 11px 26px;
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, #e59000 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(253, 161, 1, 0.45);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--pure-white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: none;
  padding: 11px 26px;
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(1, 40, 99, 0.25);
}

.btn-outline-navy {
  border: 2px solid var(--navy-primary);
  color: var(--navy-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: var(--btn-radius);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

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

.btn-outline-gold {
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: var(--btn-radius);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: var(--navy-midnight);
  transform: translateY(-2px);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(253, 161, 1, 0.15) 0%, transparent 45%),
              linear-gradient(145deg, #000e26 0%, #002762 55%, #012863 100%);
  color: var(--pure-white);
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-circuit-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(253, 161, 1, 0.12) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 161, 1, 0.15);
  border: 1px solid rgba(253, 161, 1, 0.4);
  color: var(--gold-primary);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  color: var(--pure-white);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}

.hero-title .text-gradient-gold {
  background: linear-gradient(135deg, #FDA101 0%, #ffc86b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-visual-card {
  position: relative;
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(253, 161, 1, 0.25);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-mockup-img {
  border-radius: 16px;
  width: 100%;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-mockup-img {
  transform: scale(1.02);
}

.floating-stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-primary);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatSlow 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -15px;
  right: -15px;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

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

/* ===================================================================
   SECTION TITLES & BADGES
   =================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle);
  color: #c97900;
  border: 1px solid rgba(253, 161, 1, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-badge.badge-navy {
  background: var(--navy-subtle);
  color: var(--navy-primary);
  border-color: rgba(1, 40, 99, 0.2);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 16px;
  position: relative;
}

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

/* ===================================================================
   STATS BAR
   =================================================================== */
.stats-bar-section {
  position: relative;
  margin-top: -45px;
  z-index: 10;
}

.stats-card-wrap {
  background: var(--pure-white);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(1, 40, 99, 0.1);
  border: 1px solid rgba(253, 161, 1, 0.2);
  padding: 30px 20px;
}

.stat-item {
  text-align: center;
  padding: 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================================================
   FEATURES & PILLARS
   =================================================================== */
.pillar-card {
  background: var(--pure-white);
  border-radius: var(--card-radius);
  padding: 32px 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-primary), var(--gold-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(253, 161, 1, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-subtle), #e2edfd);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: var(--navy-midnight);
  transform: rotate(6deg) scale(1.05);
}

/* ===================================================================
   COURSE CARDS
   =================================================================== */
.course-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(253, 161, 1, 0.45);
}

.course-thumb-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-deep);
}

.course-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card:hover .course-thumb-img {
  transform: scale(1.08);
}

.course-badge-level {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 39, 98, 0.85);
  backdrop-filter: blur(8px);
  color: var(--pure-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.course-badge-featured {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-primary);
  color: var(--navy-midnight);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(253, 161, 1, 0.4);
}

.course-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--navy-primary);
}

.course-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.course-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.86rem;
}

.course-highlights-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.course-highlights-list li i {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.course-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-primary);
}

/* ===================================================================
   SERVICES CARDS
   =================================================================== */
.service-card {
  background: var(--pure-white);
  border-radius: 22px;
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(253, 161, 1, 0.4);
}

.service-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(1, 40, 99, 0.18);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
  color: var(--navy-midnight);
  transform: scale(1.08) rotate(-4deg);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 14px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-feature-pills span {
  background: var(--surface-alt);
  color: var(--navy-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* ===================================================================
   PORTFOLIO GALLERY
   =================================================================== */
.portfolio-filter-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  color: var(--navy-primary);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-primary);
  color: var(--pure-white);
  border-color: var(--navy-primary);
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-midnight);
  transition: var(--transition-normal);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.1);
  filter: brightness(0.35);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 24, 62, 0.95) 0%, rgba(0, 24, 62, 0.45) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category-tag {
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.portfolio-overlay-title {
  color: var(--pure-white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-overlay-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.portfolio-metrics-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 161, 1, 0.2);
  border: 1px solid rgba(253, 161, 1, 0.4);
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonial-card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  height: 100%;
}

.testimonial-rating {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.author-name {
  font-weight: 700;
  color: var(--navy-primary);
  font-size: 1rem;
  margin: 0;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.custom-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 14px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.custom-accordion .accordion-item:hover {
  border-color: rgba(253, 161, 1, 0.4);
}

.custom-accordion .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy-primary);
  background-color: var(--pure-white);
  padding: 20px 24px;
  font-size: 1.05rem;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--gold-subtle);
  color: var(--navy-primary);
}

.custom-accordion .accordion-button::after {
  filter: brightness(0.2);
}

.custom-accordion .accordion-body {
  padding: 20px 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  background: var(--pure-white);
}

/* ===================================================================
   BLOG CARDS & MODAL DETAIL
   =================================================================== */
.blog-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(253, 161, 1, 0.4);
}

.blog-thumb-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.08);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-primary);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta i {
  color: var(--gold-primary);
  margin-right: 4px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--navy-primary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more-btn {
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.read-more-btn:hover {
  color: var(--gold-hover);
  transform: translateX(4px);
}

/* ===================================================================
   CONTACT & FORM STYLES
   =================================================================== */
.contact-info-card {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: var(--pure-white);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(253, 161, 1, 0.15);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(253, 161, 1, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--pure-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-control, .form-select {
  border-radius: 12px;
  padding: 12px 18px;
  border: 1.5px solid #dce4ed;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(253, 161, 1, 0.18);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-primary);
  margin-bottom: 6px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer-main {
  background: radial-gradient(circle at 10% 20%, rgba(253, 161, 1, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, #001333 0%, #000c22 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  border-top: 4px solid var(--gold-primary);
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 10px;
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-title {
  color: var(--pure-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a i {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

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

.footer-bottom {
  padding-top: 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

/* ===================================================================
   FLOATING ACTION BUTTONS
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  color: #fff;
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-primary);
  border: 1px solid rgba(253, 161, 1, 0.5);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

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

.back-to-top:hover {
  background: var(--gold-primary);
  color: var(--navy-midnight);
  transform: translateY(-3px);
}

/* Modal styling */
.modal-content {
  border-radius: 20px;
  border: 1px solid rgba(253, 161, 1, 0.3);
  box-shadow: 0 25px 60px rgba(1, 40, 99, 0.25);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: #fff;
  border-bottom: 2px solid var(--gold-primary);
  padding: 20px 28px;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--border-light);
  }
  .hero-visual-card {
    margin-top: 40px;
  }
  .floating-stat-badge {
    position: static;
    margin-bottom: 15px;
    animation: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
}
