/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
  /* === PRIMARY COLORS === */
  --primary-red: #D32F2F;
  --primary-red-hover: #b71c1c;

  /* === BLUE (secondary - replaces black/dark) === */
  --primary-blue: #0D2B55;
  --primary-blue-mid: #1A3F73;
  --primary-blue-light: #1E5FA8;
  --primary-blue-pale: #E8F0FA;

  /* === BACKGROUNDS === */
  --bg-light: #ffffff;
  --bg-offwhite: #F4F8FF;
  --bg-dark: #0D2B55;
  --bg-darker: #091E3A;

  /* === TEXT === */
  --text-dark: #111827;
  --text-muted: #5A6A80;
  --text-light: #ffffff;

  /* === BORDERS === */
  --border-light: #D6E4F0;
  --border-dark: #1A3F73;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-red {
  color: var(--primary-red);
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 100px 0;
}

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

.bg-offwhite {
  background-color: var(--bg-offwhite);
}

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

.bg-blue {
  background-color: var(--primary-blue-mid);
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(211, 47, 47, 0.25);
}

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

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  max-width: 1400px; /* Widened to shift elements further to the sides */
  width: 100%;
  margin: 0 auto;
  padding: 0 30px; /* More breathing room on edges */
}

.logo-area {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.85rem; /* Increased for better visibility */
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.8px;
  line-height: 1;
}

.logo-img {
  height: 60px; /* Bigger logo from 45px */
  width: auto;
  margin-right: 15px;
  transition: transform var(--transition-fast);
}

.logo-area:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.8px;
  position: relative;
  opacity: 0.85;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-red);
  opacity: 1;
}

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

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

/* Dropdown Menu CSS */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  min-width: 250px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary-red);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  z-index: 1001;
  padding: 12px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--border-light);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a::after {
  display: none;
  /* remove hover line */
}

.dropdown-menu a:hover {
  background-color: rgba(211, 47, 47, 0.05);
  color: var(--primary-red);
  padding-left: 25px;
  /* shift effect */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-blue);
  background: var(--bg-offwhite);
  padding: 8px 15px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.title-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* ==========================================================================
   Page Headers (Subpages)
   ========================================================================== */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: var(--bg-dark);
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-header .hero-title {
  color: white;
  font-size: 4rem;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .page-header .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .page-header .hero-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-red) 0%, #901111 100%);
  color: white;
  padding: 60px 0;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.cta-container h2 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-container p {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
}

.cta-container .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-width: 2px;
  text-align: center;
  line-height: 1.4;
  max-width: 240px;
  /* Forces the text onto two lines */
}

/* Mobile Nav Actions - Hidden by default (Desktop) */
.mobile-nav-actions {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #f8fafc;
  /* Clean off-white/greyish background */
  color: #334155;
  padding: 80px 0 30px;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-img {
  height: 110px;
  width: auto;
  margin-bottom: 0;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-top: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.footer-logo-text .footer-pargat {
  color: var(--primary-blue);
  font-size: 2rem;
  font-weight: 800;
}

.footer-logo-text .footer-enterprises {
  color: var(--primary-red);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer h4 {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

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

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

.footer-links a {
  font-size: 1rem;
  color: #475569;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
  line-height: 1.5;
  font-size: 1rem;
  color: #475569;
}

.footer-contact i {
  color: var(--primary-red);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   Responsive (Global)
   ========================================================================== */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    /* Glassmorphism background */
    background-color: #e8f0fa;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 30px 60px;
    transition: left 0.5s cubic-bezier(0.85, 0, 0.15, 1);
    gap: 0;
    /* Gap managed by items */
    overflow-y: auto;
    z-index: 1100;
  }

  nav.active {
    left: 0;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* Tight links, but whole group is centered */
    margin-top: 0;
    padding: 0;
    flex-grow: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  nav.active .nav-links li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered animation delays */
  nav.active .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
  }

  nav.active .nav-links li:nth-child(2) {
    transition-delay: 0.15s;
  }

  nav.active .nav-links li:nth-child(3) {
    transition-delay: 0.2s;
  }

  nav.active .nav-links li:nth-child(4) {
    transition-delay: 0.25s;
  }

  nav.active .nav-links li:nth-child(5) {
    transition-delay: 0.3s;
  }

  nav.active .nav-links li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-links a {
    display: block;
    font-size: 1.6rem;
    padding: 15px 0;
    text-align: center;
    color: var(--primary-blue);
    border-bottom: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-red);
  }

  .nav-links li.dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links .dropdown>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .dropdown-icon {
    font-size: 1.2rem;
    padding: 15px;
    /* Large touch target */
    margin-left: 0;
  }

  .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding: 0;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    padding: 10px 0 20px 0;
  }

  .dropdown-menu a {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: none;
    color: var(--primary-blue-mid);
    opacity: 0.7;
    letter-spacing: 1px;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin-top: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(13, 43, 85, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.4s;
    flex-grow: 0;
  }

  nav.active .mobile-nav-actions {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav-actions .btn,
  .mobile-nav-actions .mobile-action-item {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
  }

  .mobile-action-item {
    background-color: var(--primary-red);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-fast);
  }

  .mobile-action-item:active {
    transform: scale(0.98);
  }

  .header-actions {
    display: none !important;
  }

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

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

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

  .logo-area {
    font-size: 1.2rem;
    z-index: 1205;
    position: relative;
    /* CRITICAL: Allows z-index to work */
  }

  .logo-img {
    height: 35px;
    margin-right: 8px;
  }

  .menu-toggle {
    z-index: 1205;
    color: var(--primary-blue);
    font-size: 1.6rem;
    position: relative;
    /* CRITICAL: Allows z-index to work */
  }

  .header.nav-active {
    background-color: #F0F7FF !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    z-index: 1200;
    height: 80px !important;
  }

  /* Create a solid light-blue barrier behind logo/toggle */
  .header.nav-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F0F7FF;
    z-index: 1201;
  }

  .header.nav-active .logo-area,
  .header.nav-active .menu-toggle {
    color: var(--primary-blue) !important;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

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

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .page-header {
    padding-top: 120px;
    padding-bottom: 60px;
  }

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

  .cta-container h2 {
    font-size: 2.2rem;
  }
}


@media (max-width: 480px) {
  .section-padding {
    padding: 40px 0;
  }

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

  .cta-container h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 50px 0;
  }

  .footer-logo {
    font-size: 1.5rem;
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 40px;
    align-items: center;
  }

  .footer-logo-img {
    margin: 0 auto;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.dropdown-icon {
  font-size: 0.7rem;
  margin-left: 3px;
  transition: transform 0.3s ease;
  pointer-events: auto;
  /* Ensure it captures clicks */
}

.dropdown.active>a .dropdown-icon {
  transform: rotate(180deg);
}

.btn-white {
  background-color: white !important;
  color: var(--text-dark) !important;
  border: 1px solid white !important;
}

.btn-white:hover {
  background-color: var(--bg-offwhite) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.w-100 {
  width: 100% !important;
}

.fs-1 {
  font-size: 1rem !important;
}