/* ==========================================================================
   Lugaju Engineering Technologies - Design System & Global Styles
   ========================================================================== */

:root {
  --primary-dark: #0B132B;
  --secondary-dark: #1C2541;
  --accent-blue: #3A506B;
  --accent-cyan: #e2e325;
  --accent-gold: #FFB703;
  --text-light: #F4F6F8;
  --text-muted: #A0AABB;
  --bg-light: #F8FAFC;
  --bg-card: #162032;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* Alternative alert bg */
/* alt alerts */
.alt_alert_secondary {
  background-color: #e2e3e5;
}

.alt_alert_danger {
  background-color: #f8d7da;
}

.alt_alert_success {
  background-color: #d4edda;
}

.alt_alert_warning {
  background-color: #fff3cd;
}

.alt_alert_info {
  background-color: #d1ecf1;
}

.alt_alert_light {
  background-color: #fefefe;
}

.alt_alert_dark {
  background-color: #d6d8d9;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

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

/* ==========================================================================
   1. Top Utility Bar
   ========================================================================== */

.top-bar {
  background-color: #050814;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info,
.top-bar-actions,
.top-bar-contact,
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-contact {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.top-bar-contact a:hover,
.top-bar-social a:hover {
  color: var(--accent-cyan);
}

.social-icon {
  width: 16px;
  height: 16px;
  filter: invert(1) opacity(0.7);
  transition: var(--transition);
}

.top-bar-social a:hover .social-icon {
  filter: invert(1) opacity(1);
  transform: translateY(-2px);
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #25D366;
  font-weight: 600;
}

.whatsapp-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   2. Navigation & Main Header
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background-color: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

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

/* Brand Logo */
.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.brand-logo-container:hover {
  transform: translateY(-1px);
}

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

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  font-weight: 600;
  opacity: 0.9;
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  position: relative;
  transition: background-color 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  transition: transform 0.3s ease, top 0.3s ease;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger Transform to X when menu is active */
.nav-toggle.is-active .hamburger {
  background-color: transparent;
}

.nav-toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--accent-cyan);
}

.nav-toggle.is-active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--accent-cyan);
}

/* Drawer Backdrop Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 20, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* z-index: 100; */
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn {
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: #00C4AA;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
}

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

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--primary-dark);
}

/* ==========================================================================
   4. Hero & Main Layout Sections
   ========================================================================== */

.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.05;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-title span {
  color: var(--accent-cyan);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
}

.card-body {
  padding: 30px;
}

.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   5. Footer Component
   ========================================================================== */

.main-footer {
  background-color: #050814;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  text-decoration: none;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-social-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid #25D366;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.whatsapp-btn:hover {
  background-color: #25D366;
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   6. Responsive Breakpoints & Mobile Drawer Styles
   ========================================================================== */

/* Tablet & Mobile (Max Width: 992px) */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  /* Slide-out Drawer Configuration */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen by default */
    width: 280px;
    height: 100vh;
    background-color: #050814;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  /* Slide drawer into view when toggled */
  .nav-menu.is-active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    padding: 6px 0;
  }

  .nav-actions {
    margin-top: 30px;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer-col-about {
    grid-column: span 2;
  }
}

/* Mobile Screens (Max Width: 768px) */
@media (max-width: 768px) {

  .desktop-only,
  .top-bar-contact {
    display: none !important;
  }

  .top-bar-content {
    justify-content: center;
  }

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

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-sub {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

/* Small Devices (Max Width: 576px) */
@media (max-width: 576px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .main-footer {
    padding: 40px 0 20px;
  }

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

  .footer-col-about {
    grid-column: span 1;
  }

  .whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-tagline {
    display: none;
  }
}



