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

/* Color Variables and Typography Theme Overrides */
:root {
  --primary-color: #0c2340;       /* Prestigious deep navy */
  --accent-color: #bfa15f;        /* Tailored warm champagne gold */
  --accent-hover: #a88a4d;        /* Deep gold hover state */
  --dark-color: #111827;          /* Rich charcoal instead of black */
  --light-color: #f8fafc;         /* Premium slate light white */
  --gray-muted: #64748b;          /* Professional cool slate gray */
  --border-light: #e2e8f0;        /* Sleek card and section borders */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

/* Custom Navigation Menu Styling */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-custom .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-custom .navbar-brand span {
  color: var(--accent-color);
}

.navbar-custom .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1rem;
  padding: 0.5rem 1.1rem !important;
  transition: all 0.25s ease;
  position: relative;
}

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

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

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

/* Elegant Theme Buttons Override */
.btn-custom-primary {
  background: var(--primary-color);
  color: #ffffff !important;
  border: 1px solid var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-custom-primary:hover {
  background: #021124;
  border-color: #021124;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.15);
}

.btn-custom-accent {
  background: var(--accent-color);
  color: #ffffff !important;
  border: 1px solid var(--accent-color);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-custom-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 161, 95, 0.25);
}

.btn-custom-outline {
  background: transparent;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-custom-outline:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Modernized Bootstrap Cards */
.card-custom {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(191, 161, 95, 0.3);
}

.card-custom .card-icon-container {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(12, 35, 64, 0.04);
  color: var(--primary-color);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-custom:hover .card-icon-container {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Featured Hero Slider Section */
.hero-slider-section {
  position: relative;
  background-color: var(--primary-color);
  overflow: hidden;
  height: 620px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  z-index: 2;
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.slide-item.active .slide-background {
  transform: scale(1);
}

.slide-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

.slide-subtitle {
  font-family: var(--font-display);
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.2s;
}

.slide-title {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease 0.4s;
}

.slide-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.6s ease 0.6s;
}

.slide-buttons {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease 0.8s;
}

.slide-item.active .slide-subtitle,
.slide-item.active .slide-title,
.slide-item.active .slide-description,
.slide-item.active .slide-buttons {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Custom Controls */
.slider-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-control-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.slider-control-prev {
  left: 20px;
}

.slider-control-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Section Header Styles */
.section-meta {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin-top: 1rem;
}

.section-title.center::after {
  margin: 1rem auto 0 auto;
}

.section-desc {
  color: var(--gray-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 3rem;
}

/* Global Section Spacing */
.section-divider {
  background-color: var(--light-color);
  padding: 6rem 0;
}

.section-main {
  padding: 5.5rem 0;
}

/* Custom Interactive Search Modal overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 35, 64, 0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-in-out;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-container-box {
  width: 100%;
  max-width: 650px;
  padding: 1.5rem;
}

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.25rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-close-btn:hover {
  color: var(--accent-color);
}

.search-input-field {
  background: transparent;
  border: none;
  border-bottom: 3px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  width: 100%;
  padding: 0.75rem 0;
}

.search-input-field:focus {
  outline: none;
  border-color: var(--accent-color);
}

.search-results-list {
  max-height: 250px;
  overflow-y: auto;
  margin-top: 1.5rem;
}

.search-result-item {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.25s ease;
}

.search-result-item:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateX(5px);
}

/* Custom Alert Components */
.alert-custom-green {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

/* Portfolio grid animations */
.portfolio-grid .portfolio-wrapper {
  transition: all 0.4s ease;
}

.portfolio-wrapper.hidden-category {
  display: none !important;
}

.portfolio-filter-btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  margin: 0.25rem;
  transition: all 0.3s ease;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff !important;
}

/* Corporate Stat Counter Row */
.stat-counter-box {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .stat-counter-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Accordion modern overrides */
.accordion-custom-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background-color: #ffffff;
}

.accordion-custom-trigger {
  width: 100%;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.accordion-custom-trigger:hover {
  color: var(--accent-color);
}

.accordion-custom-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.4rem;
  color: var(--gray-muted);
}

.accordion-custom-item.active .accordion-custom-content {
  max-height: 300px; /* Expands nicely */
  padding-bottom: 1.2rem;
}

.accordion-custom-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.accordion-custom-item.active .accordion-custom-icon {
  transform: rotate(180deg);
}

/* Map area widget replacement */
.map-embed-placeholder {
  background: #f1f5f9;
  border-radius: 12px;
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  position: relative;
}

/* Custom Tooltips */
.custom-tooltip-trigger {
  position: relative;
  display: inline-block;
  cursor: help;
}

.custom-tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  font-weight: normal;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.custom-tooltip-trigger:hover .custom-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Modal Dialog Styles */
.modal-custom-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 35, 64, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-custom-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-custom-box {
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-custom-backdrop.active .modal-custom-box {
  transform: scale(1);
}

/* Footer styling */
.footer-corporate {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  border-top: 4px solid var(--accent-color);
}

.footer-corporate h5 {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-corporate .footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-corporate .footer-link:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-corporate .social-link-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-corporate .social-link-btn:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.newsletter-input-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.newsletter-input-box::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-box:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-color);
  color: #ffffff;
  box-shadow: none;
}

/* Responsive Table Modifiers */
.table-custom-responsive {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.table-custom-responsive th {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
}

.table-custom-responsive td {
  border-bottom: 1px solid var(--border-light);
}

.table-custom-responsive tr:last-child td {
  border-bottom: none;
}

/* Floating custom feedback notifier */
.toast-notifier {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--accent-color);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notifier.active {
  transform: translateY(0);
  opacity: 1;
}

/* Search suggestions dynamic indicator styling */
#searchSuggestions {
  border-top: 1px dashed rgba(255,255,255,0.2);
  margin-top: 1rem;
  padding-top: 1rem;
}
