/* ==========================================================================
   Professional Corporate Financial Website & Delowar Swipe Slider Pro Theme
   Color Palette:
   - Deep Teal: #155A78
   - Dark Navy Blue: #164A66
   - Muted Sky Blue: #3E88A5
   - White: #FFFFFF
   - Light Gray Background: #F4F5F6
   - Dark Gray Text: #333333
   - Secondary Text: #888888
   ========================================================================== */

:root {
  --primary-teal: #155a78;
  --dark-navy: #164a66;
  --muted-blue: #3e88a5;
  --light-bg: #f4f5f6;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --text-light-gray: #888888;
  --border-light: #e5e7eb;
  
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max-width: 1160px;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: relative;
  background-color: var(--white);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  fill: var(--primary-teal);
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted-blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
  position: relative;
}

.nav-link,
.nav-list > li > a {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 14px;
  border-radius: 20px;
  position: relative;
  text-decoration: none;
  line-height: 1.2;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Parent Dropdown Arrow Indicator */
.nav-list > li.menu-item-has-children > a {
  padding-right: 28px;
}

.nav-list > li.menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #64748b;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nav-list > li.menu-item-has-children:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: #0284c7;
}

/* Hover State */
.nav-link:hover,
.nav-list > li > a:hover {
  color: #0284c7;
  background-color: #f1f5f9;
}

/* Professional Active Menu Item Highlight */
.nav-link.active,
.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a,
.nav-list li.current-menu-ancestor > a,
.nav-list li a.active,
.nav-list li a[aria-current="page"],
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current_page_item > a,
.main-nav ul li a.active {
  color: #0284c7 !important;
  background-color: #e0f2fe !important;
  font-weight: 700 !important;
}

/* Rightmost Navigation Item: Professional Corporate CTA Button */
.nav-list > li:last-child > a {
  background: linear-gradient(135deg, #155a78 0%, #164a66 100%) !important;
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  box-shadow: 0 4px 12px rgba(21, 90, 120, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-left: 6px;
}

.nav-list > li:last-child > a::after {
  display: none !important;
}

.nav-list > li:last-child > a:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  transform: translateY(-1.5px) !important;
}

/* ==========================================================================
   Submenu & Dropdown Navigation Styling
   ========================================================================== */
.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  margin: 6px 0 0 0 !important;
  list-style: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: block !important;
}

/* Show Submenu on Hover / Focus */
.nav-list li:hover > .sub-menu,
.nav-list li.focus > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu List Items & Links */
.nav-list .sub-menu li {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-list .sub-menu li a {
  display: block !important;
  padding: 10px 18px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.nav-list .sub-menu li a:hover {
  background-color: #f1f5f9 !important;
  color: #0284c7 !important;
  padding-left: 22px !important;
}

/* Submenu Active Child Highlight */
.nav-list .sub-menu li.current-menu-item > a,
.nav-list .sub-menu li.current_page_item > a {
  color: #0284c7 !important;
  background-color: rgba(2, 132, 199, 0.08) !important;
  font-weight: 700 !important;
}

/* 2nd Level Nested Submenu (Flyout) */
.nav-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-top: 0 !important;
  margin-left: 2px !important;
}

/* Hamburger Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark-navy);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--dark-navy);
}

/* Wave Separator under Header */
.header-wave {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.header-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 16px;
}

.header-wave .shape-fill {
  fill: var(--white);
}

/* ==========================================================================
   Page Inner Title Banner
   ========================================================================== */
.page-banner {
  position: relative;
  background-color: var(--dark-navy);
  background-size: cover;
  background-position: center;
  padding: 80px 0 90px 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(22, 74, 102, 0.9) 0%, rgba(21, 90, 120, 0.85) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.breadcrumbs {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
  color: var(--white);
}

.breadcrumbs a:hover {
  color: var(--muted-blue);
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--muted-blue);
}

/* ==========================================================================
   Hero Section & Slider (Homepage Demo 1)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--dark-navy);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 520px;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Dark Teal Overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(22, 74, 102, 0.88) 0%, rgba(21, 90, 120, 0.82) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px 40px 20px;
}

.slide-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.slide-description {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0.92;
  line-height: 1.5;
}

/* Slider Controls & Dots */
.slider-dots {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.dot.active {
  background-color: var(--white);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Wave Separator under Hero */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 35px;
}

.hero-wave .shape-fill {
  fill: var(--light-bg);
}

.hero-wave.white-fill .shape-fill {
  fill: var(--white);
}

/* ==========================================================================
   Slider Demos Showcase Section
   ========================================================================== */
.demo-showcase-section {
  padding: 60px 0 80px 0;
  background-color: var(--light-bg);
}

.demo-header-badge {
  display: inline-block;
  background-color: var(--primary-teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* Demo Switcher Tabs */
.demo-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.demo-tab-btn {
  background-color: var(--white);
  color: var(--dark-navy);
  border: 1px solid var(--border-light);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.demo-tab-btn.active,
.demo-tab-btn:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(21, 90, 120, 0.2);
}

.demo-slider-wrapper {
  background-color: var(--white);
  border-radius: 6px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

/* Carousel Slider Demo Styling */
.card-carousel-container {
  position: relative;
  overflow: hidden;
}

.card-carousel-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  flex: 0 0 calc(33.333% - 17px);
  background-color: var(--light-bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.carousel-card-img {
  height: 180px;
  overflow: hidden;
}

.carousel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card-body {
  padding: 20px;
}

.carousel-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.carousel-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CTA / Intro Strip
   ========================================================================== */
.cta-strip {
  background-color: var(--white);
  padding: 30px 0 35px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.cta-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.3px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed) ease;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(21, 90, 120, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 74, 102, 0.3);
}

/* ==========================================================================
   Services Section & Page
   ========================================================================== */
.services-section {
  padding: 70px 0 80px 0;
  background-color: var(--white);
}

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

.service-card {
  text-align: center;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hexagonal Geometric Icon Container */
.hexagon-wrapper {
  position: relative;
  width: 90px;
  height: 104px;
  margin-bottom: 24px;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .hexagon-wrapper {
  transform: scale(1.08) translateY(-4px);
}

.hexagon-bg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 12px rgba(21, 90, 120, 0.25));
}

.hexagon-shape {
  fill: url(#hexGradient);
}

.hexagon-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hexagon-icon svg {
  width: 36px;
  height: 36px;
  stroke: #0284c7;
  stroke-width: 1.8;
  fill: none;
  transition: stroke var(--transition-speed) ease;
}

.service-card:hover .hexagon-icon svg {
  stroke: var(--white);
}

.service-number {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-description {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Detailed Services Grid */
.detailed-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.service-detail-card {
  background-color: var(--white);
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(21, 90, 120, 0.12);
  border-color: var(--muted-blue);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.service-detail-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.service-feature-list {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-feature-list li {
  font-size: 0.92rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-feature-list li::before {
  content: '✓';
  color: var(--primary-teal);
  font-weight: 700;
}

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats Counter Strip */
.stats-section {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  font-weight: 600;
}

/* Leadership Team Grid */
.team-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

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

.team-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.team-img-wrapper {
  height: 280px;
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 22px;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Blog Section & Full Blog Page
   ========================================================================== */
.blog-section {
  padding: 60px 0 80px 0;
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-teal);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

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

.blog-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.blog-card .featured-img-wrapper {
  height: 200px;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--muted-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Featured Article Left */
.featured-article {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.featured-img-wrapper {
  overflow: hidden;
  height: 260px;
}

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

.featured-article:hover .featured-img-wrapper img {
  transform: scale(1.05);
}

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

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

.featured-title a:hover {
  color: var(--primary-teal);
}

.featured-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.read-more-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-speed) ease;
}

.read-more-link:hover svg {
  transform: translateX(4px);
}

/* Articles Stack Right */
.article-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.small-article-card {
  background-color: var(--white);
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.small-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.small-img-wrapper {
  width: 110px;
  height: 85px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
}

.small-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.small-content {
  flex-grow: 1;
}

.small-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.small-title a:hover {
  color: var(--primary-teal);
}

.small-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-link {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark-navy);
}

.page-link.active,
.page-link:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
}

/* ==========================================================================
   Contact Page Components
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  background-color: var(--light-bg);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-left: 4px solid var(--primary-teal);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.contact-info-detail {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--white);
  padding: 35px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background-color: var(--white);
  color: var(--text-dark);
  outline: none;
  font-family: var(--font-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.form-control:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control,
.wpcf7 textarea {
  resize: vertical;
  min-height: 140px;
}

/* Contact Form 7 Form Labels & Layout Styling */
.wpcf7 form p {
  margin-bottom: 18px;
}

.wpcf7 form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

/* Contact Form 7 Submit Button */
.wpcf7 input[type="submit"] {
  background-color: var(--primary-teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  display: inline-block;
  margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Content Wave Divider to Footer
   ========================================================================== */
.footer-divider-wave {
  position: relative;
  background-color: var(--light-bg);
  line-height: 0;
  overflow: hidden;
}

.footer-divider-wave.white-bg {
  background-color: var(--white);
}

.footer-divider-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 45px;
}

.footer-divider-wave .shape-fill {
  fill: var(--dark-navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 35px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--muted-blue);
}

/* Col 1 Brand */
.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Col 2 Links */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a::before {
  content: '›';
  font-size: 1.1rem;
  color: var(--muted-blue);
  line-height: 1;
}

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

/* Col 3 Gallery Grid 2x3 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

/* Col 4 Newsletter & Social */
.newsletter-form {
  display: flex;
  margin-bottom: 22px;
}

.newsletter-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 3px 0 0 3px;
  outline: none;
}

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

.newsletter-btn {
  padding: 0 16px;
  background-color: var(--primary-teal);
  color: var(--white);
  border: none;
  border-radius: 0 3px 3px 0;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.newsletter-btn:hover {
  background-color: var(--muted-blue);
}

.newsletter-feedback {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399 !important;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.85rem !important;
  margin-top: 12px !important;
  font-weight: 600;
  animation: fadeIn 0.3s ease-in-out;
}

.social-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-speed) ease;
}

.social-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-icon:hover {
  background-color: var(--primary-teal);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Tablet & Mobile)
   ========================================================================== */

/* Tablet & Mobile (Max 992px) */
@media (max-width: 992px) {
  .header-container {
    padding: 14px 20px;
  }

  .mobile-toggle {
    display: block !important;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
    padding: 16px 0;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 99999;
    border-top: 1px solid #e5e7eb;
  }

  .main-nav.active {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link,
  .nav-list > li > a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* Dropdown Submenus on Mobile & Tablet */
  .nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #f8fafc;
    border-radius: 6px;
    margin: 4px 20px 8px 20px;
    padding: 6px 0;
    width: auto;
  }

  .nav-list .sub-menu a {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  /* Inline Width & Shortcode Container Fluid Overrides */
  [style*="width"],
  .deloswsl-slider-outer-wrapper,
  .deloswsl-slider-outer-wrapper[style],
  .deloswsl-slider-container,
  .swiper-container,
  .swiper,
  .swiper-slide,
  article,
  article > div,
  .service-detail-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  article > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  article code {
    max-width: 100% !important;
    word-break: break-all !important;
    white-space: normal !important;
    font-size: 0.82rem !important;
    display: inline-block !important;
  }

  .hero-slider {
    height: 450px;
  }
  
  .slide-title {
    font-size: 2rem;
  }

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

  .services-grid,
  .services-grid[style] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  .quick-guide-grid,
  .quick-guide-grid[style] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .detailed-services-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card {
    flex: 0 0 calc(50% - 13px);
  }

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

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

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

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

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 35px !important;
  }

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

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

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea,
  .wpcf7 input[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
  }

  .slide-title {
    font-size: 1.65rem;
  }

  .slide-description {
    font-size: 0.92rem;
  }

  .services-grid,
  .services-grid[style] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .quick-guide-grid,
  .quick-guide-grid[style] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .carousel-card {
    flex: 0 0 100%;
  }

  .team-grid,
  .full-blog-grid {
    grid-template-columns: 1fr;
  }

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

  .small-article-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .small-img-wrapper {
    width: 100%;
    height: 160px;
  }

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

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

/* Small Smartphone (Max 576px) */
@media (max-width: 576px) {
  .page-banner {
    padding: 45px 0 65px 0;
  }

  .page-banner-title {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.55rem !important;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Responsive API Documentation Table */
.table-responsive-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

.api-docs-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.api-docs-table th,
.api-docs-table td {
  padding: 14px 18px;
  vertical-align: middle;
}

.api-docs-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid #334155;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .api-docs-table {
    min-width: 650px;
    font-size: 0.85rem;
  }

  .api-docs-table th,
  .api-docs-table td {
    padding: 10px 12px;
  }
}

/* ==========================================================================
   Floating Scroll to Top Button
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #155a78 0%, #164a66 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(21, 90, 120, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.55);
  transform: translateY(-4px) scale(1.08);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  transition: transform 0.25s ease;
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}
