/* 
  Executive Services - Premium Design System
  Color Palette:
  Primary: #0A2E67
  Secondary: #123D85
  Accent: #2563EB
  Background: #FFFFFF
  Light Background: #F8FAFD
  Dark Section: #071C44
  Border: #E5E7EB
  Text: #1F2937
  Muted: #6B7280

  Typography:
  Heading: Poppins
  Body: Inter
*/

:root {
  --primary-color: #0A2E67;
  --secondary-color: #123D85;
  --accent-color: #2563EB;
  --bg-color: #FFFFFF;
  --bg-light: #F8FAFD;
  --bg-dark: #071C44;
  --text-color: #1F2937;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  line-height: 1.7;
}

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

h1,
.display-3,
.display-4 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 32px;
  font-weight: 600;
}

h4,
.card-title {
  font-size: 24px;
  font-weight: 600;
}

p {
  font-size: 18px;
  color: var(--text-muted);
}

small,
.small {
  font-size: 15px;
  color: var(--text-muted);
}

/* Layout & Spacing */
.container {
  max-width: 1320px;
}

.py-5 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-6 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.my-5 {
  margin-top: 6rem !important;
  margin-bottom: 6rem !important;
}

.g-5,
.gy-5 {
  --bs-gutter-y: 4rem;
}

.g-5,
.gx-5 {
  --bs-gutter-x: 4rem;
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

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

.bg-dark {
  background-color: var(--bg-dark) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Shadows */
.shadow-soft {
  box-shadow: 0 10px 40px rgba(10, 46, 103, 0.05) !important;
}

.shadow-hover:hover {
  box-shadow: 0 20px 40px rgba(10, 46, 103, 0.12) !important;
}

/* Cards */
.card,
.premium-card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(10, 46, 103, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
  overflow: hidden;
}

.card:hover,
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 46, 103, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  padding: 16px 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn i,
.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover i,
.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

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

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 25px rgba(10, 46, 103, 0.2);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary-color);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

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

/* --- Premium Navbar Redesign --- */
.navbar-custom {
  height: 84px;
  background-color: #FAFAF8;
  border-bottom: 1px solid #EEEEEB;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.navbar-custom.navbar-scrolled {
  background-color: #FAFAF8;
  border-bottom: 1px solid #EEEEEB;
  box-shadow: none;
}
.navbar-container {
  max-width: 1320px;
  width: 100%;
}

/* Logo Section */
.brand-square {
  background-color: #1E4D3A;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-family: 'Source Serif Pro', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}
.brand-text {
  font-family: 'Source Serif Pro', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #111827;
}

/* Center Navigation */
.custom-nav-links .nav-item {
  margin: 0 18px; /* 36px gap between items */
}
.custom-nav-links .nav-link {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}
.custom-nav-links .nav-link:hover,
.custom-nav-links .nav-link.active {
  color: #1E4D3A;
}

/* Custom Underline Indicator */
.custom-nav-links .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1E4D3A;
  transition: width 0.3s ease;
}
.custom-nav-links .nav-link:hover::after,
.custom-nav-links .nav-link.active::after {
  width: 28px;
}

/* Right Side Buttons */
.btn-login {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #111827;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-login:hover {
  background: #F3F4F6;
  color: #111827;
}

.btn-project {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border: none;
  color: #FFFFFF;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}
.btn-project:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .custom-nav-links .nav-item {
    margin: 0 12px;
  }
}

/* Forms */
.form-control,
.form-select {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Icons */
.icon-wrapper-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(10, 46, 103, 0.05) 100%);
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.card:hover .icon-wrapper-circle {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: #fff;
  transform: rotate(5deg) scale(1.1);
}

/* Background Design */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-section) 100%);
}

.bg-gradient-light {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: pulseBlur 8s infinite alternate;
}

.blur-circle-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: -100px;
  right: -100px;
}

.blur-circle-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  bottom: -50px;
  left: -50px;
}

@keyframes pulseBlur {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

/* Specific Component Styles */
.portfolio-img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.portfolio-img-wrapper img {
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 28, 68, 0.9) 0%, rgba(7, 28, 68, 0.2) 50%, rgba(7, 28, 68, 0) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

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

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

footer h5 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 30px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-icons-footer a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icons-footer a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.accordion-button {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background-color: var(--bg-light);
  box-shadow: none;
}

.accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion-body {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  background-color: var(--bg-light);
}

/* Timeline/Process */
.process-step-wrapper {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.process-step-wrapper::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: -40px;
  width: 2px;
  background: var(--border-color);
}

.process-step-wrapper:last-child::before {
  display: none;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 0 0 8px #fff;
}

/* Images */
img.rounded-4 {
  border-radius: 20px !important;
}

/* Specific fixes for typography readability */
.lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-muted);
}