/*
Theme Name: Aims Custom Theme
Theme URI: https://aimssvcs.com/
Author: Aims Services
Author URI: https://aimssvcs.com/
Description: A 100% custom, production-ready, ultra-fast WordPress theme built to replace Elementor.
Version: 3.2.2
Text Domain: aims-custom-theme
*/

:root {
  --primary-color: #070b24;
  --secondary-color: #162480;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b5952f;
  --text-main: #333333;
  --text-light: #f5f5f5;
  --text-muted: #a0a0a0;
  --bg-light: #ffffff;
  --bg-dark: #080d31;
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height: 110px;
}

/* Global Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles - Premium & Animated */
.site-header {
  background: rgba(7, 11, 36, 0.95);
  /* Deep dark blue, slightly transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  /* Gold glowing border */
  transition: all var(--transition-normal);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-wrapper img,
.logo-wrapper .custom-logo {
  max-height: 80px;
  width: auto;
}

.logo-wrapper i {
  font-size: 2.2rem;
  color: var(--accent-gold);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.5px;
  transition: color var(--transition-fast);
}

.site-title:hover {
  color: var(--accent-gold);
}

.main-navigation ul {
  display: flex;
  gap: 35px;
  align-items: center;
}

.main-navigation li {
  position: relative;
}

.main-navigation>ul>li>a {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  position: relative;
}

.main-navigation a i:not(.dropdown-icon) {
  color: var(--accent-gold);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.main-navigation>ul>li>a:hover i:not(.dropdown-icon) {
  transform: scale(1.15) translateY(-2px);
}

.main-navigation>ul>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-normal);
}

.main-navigation>ul>li>a:hover {
  color: var(--accent-gold);
}

.main-navigation>ul>li>a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.has-dropdown .dropdown-icon {
  font-size: 0.8rem;
  margin-left: 2px;
  transition: transform var(--transition-normal);
}

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--primary-color);
  min-width: 280px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 25px;
  /* Bridge gap for hover */
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 12px 25px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-menu a i {
  color: var(--accent-gold);
  width: 20px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.dropdown-menu a:hover i {
  transform: scale(1.2);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 32px;
  /* Indent animation */
  color: var(--accent-gold);
}

/* Main Content - Auto Adjust Width (Full Width Support) */
.site-main {
  min-height: calc(100vh - var(--header-height) - 400px);
  width: 100%;
  /* Removed max-width and side padding to allow full-width Gutenberg/Elementor blocks */
}

/* Optional: Constrain only default pages/posts if they don't use full width blocks */
body:not(.home) .site-main>article>.entry-content>*:not(.alignwide):not(.alignfull) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.alignwide {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Cinematic Footer Styles */
.site-footer {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--bg-dark) 100%);
  color: var(--text-light);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--bg-light);
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Glassmorphism Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.social-icons a:hover {
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Footer Links */
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  display: inline-block;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

/* Contact Info */
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.contact-info i {
  color: var(--accent-gold);
  margin-top: 5px;
  font-size: 1.1rem;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-light);
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent-gold);
}

.newsletter-form button {
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Copyright Bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 0 20px;
  }

  .main-navigation ul {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .main-navigation ul {
    display: none;
    /* Add a mobile menu toggle JS for full implementation */
  }

  .footer-container,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px !important;
    padding: 20px 40px !important;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================================= */
/* PREMIUM CUSTOM HERO SECTION (FRONT PAGE)                  */
/* ========================================================= */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.6;
  animation: float 10s infinite alternate ease-in-out;
}

.glow-1 {
  top: -10%;
  left: -10%;
  background: rgba(22, 36, 128, 0.8);
}

.glow-2 {
  bottom: -10%;
  right: -10%;
  background: rgba(212, 175, 55, 0.3);
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
  margin-right: 5px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1.5px;
  color: var(--text-light);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #fff6d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 70px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  transition: all var(--transition-normal);
  gap: 10px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
  color: var(--primary-color);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  color: var(--text-light);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  padding: 25px 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ========================================================= */
/* VERCEL CLONE HERO SECTION                                 */
/* ========================================================= */
.vercel-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
  background-color: transparent;
}

.vercel-hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://aimssvcs.com/wp-content/uploads/2026/08/f4855d26-8eba-4037-bb95-6d2412181602-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: -1;
}

.vercel-hero-globe-container {
  position: fixed;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  z-index: 0;
  pointer-events: none;
}

.vercel-hero-content-new {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.vercel-hero-title-new {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -2px;
  color: #0f172a;
}

.vercel-hero-subtitle-new {
  font-size: 1.25rem;
  color: #334155;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 500;
}

.vercel-hero-actions-new {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.vercel-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  background: linear-gradient(to top, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0.6));
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 1; /* Sits below the globe which is z-index: 2 */
}

.vercel-hero-stats .stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.vercel-hero-stats .stat-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.vercel-hero-stats .stat-item:last-child {
  border-right: none;
}

.vercel-hero-stats .stat-number {
  font-size: 4.2rem;
  font-weight: 700;
  color: #162480;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.vercel-hero-stats .stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vercel-btn-primary-new,
.vercel-btn-secondary-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.vercel-btn-primary-new {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

.vercel-btn-primary-new:hover {
  background: #1e293b;
  transform: translateY(-2px);
  color: #ffffff;
}

.vercel-btn-secondary-new {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vercel-btn-secondary-new:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: #0f172a;
}

.front-page-content {
  background-color: transparent;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.front-page-content .entry-content {
  padding: 80px 20px;
}

.front-page-content .entry-content>* {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================= */
/* FRONT PAGE SECTIONS                                       */
/* ========================================================= */
.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-header h2 span {
  color: var(--accent-gold);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Features Section */
.features-section {
  background-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 25px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--accent-gold);
  color: #ffffff;
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Industries Section */
.industries-section {
  background-color: #f9f9fc;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  transform: translate(50%, -50%);
  transition: all var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(22, 36, 128, 0.3);
}

.industry-card:hover::after {
  transform: translate(30%, -30%) scale(1.5);
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

.industry-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background-color: var(--bg-light);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-content h2 span {
  color: var(--accent-gold);
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-image-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.premium-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.premium-image-placeholder i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
}

.glass-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(15deg);
}

/* Responsive updates for new sections */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .premium-image-placeholder {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Standard Page Content Formatting (For non-Elementor pages) */
.entry-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 1.1rem;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 30px 0;
}

/* ========================================================= */
/* PREMIUM ELEMENTOR OVERRIDES                               */
/* ========================================================= */
/* This automatically upgrades all old Elementor pages */

body.elementor-page .entry-content {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9fa 100%);
}

.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title {
  font-family: var(--font-main) !important;
  letter-spacing: -0.5px !important;
  /* Color override removed so white text on dark backgrounds stays visible */
}

.elementor-widget-text-editor {
  color: var(--text-main) !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
}

/* Transform ugly yellow sidebar buttons into sleek vertical navigation */
.elementor-button {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 1px solid rgba(7, 11, 36, 0.15) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  padding: 14px 25px !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  text-align: left !important;
  font-family: var(--font-main) !important;
}

.elementor-button:hover {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  transform: translateX(6px) !important;
  box-shadow: 0 10px 20px rgba(7, 11, 36, 0.15) !important;
}

/* Upgrade Elementor Images */
.elementor-image img {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.4s ease !important;
}

.elementor-image img:hover {
  transform: scale(1.02) !important;
}

/* ========================================================= */
/* NEXT-LEVEL CTA UPGRADE (Targets the bottom Elementor box) */
/* ========================================================= */
.entry-content .elementor-section:last-of-type {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #070b24 0%, #162480 100%) !important;
  border-radius: 24px !important;
  padding: 80px 40px !important;
  margin: 80px 20px 40px !important;
  box-shadow: 0 20px 50px rgba(7, 11, 36, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.entry-content .elementor-section:last-of-type .elementor-heading-title {
  color: #ffffff !important;
  font-size: 2.8rem !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.entry-content .elementor-section:last-of-type .elementor-text-editor {
  color: #e0e0e0 !important;
  font-size: 1.15rem !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Make the CTA button pop */
.entry-content .elementor-section:last-of-type .elementor-button {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%) !important;
  color: #070b24 !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  padding: 18px 45px !important;
  text-align: center !important;
  justify-content: center !important;
  display: inline-flex !important;
  width: auto !important;
  margin-top: 20px !important;
  letter-spacing: 1px !important;
}

.entry-content .elementor-section:last-of-type .elementor-button:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5) !important;
  transform: translateY(-4px) scale(1.05) !important;
}

/* Premium Elementor Accordion (FAQ) */
.elementor-accordion .elementor-accordion-item {
  border: 1px solid rgba(7, 11, 36, 0.1) !important;
  border-radius: 12px !important;
  margin-bottom: 15px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.elementor-accordion .elementor-tab-title {
  background: #f9f9fa !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 20px 25px !important;
  font-family: var(--font-main) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.elementor-accordion .elementor-tab-title.elementor-active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
}

.elementor-accordion .elementor-tab-content {
  padding: 25px !important;
  color: var(--text-main) !important;
  line-height: 1.8 !important;
  border-top: 1px solid rgba(7, 11, 36, 0.05) !important;
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 60px 20px;
  }
}

/* ========================================================= */
/* SERVICES PAGE TEMPLATE                                    */
/* ========================================================= */
.services-grid-section {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--primary-color) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(7, 11, 36, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all var(--transition-normal);
}

.service-icon i {
  font-size: 2rem;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
}

.service-card:hover .service-icon i {
  color: var(--bg-light);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-link-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.service-link-text i {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link-text {
  color: var(--accent-gold);
}

.service-card:hover .service-link-text i {
  transform: translateX(5px);
}

/* ========================================================= */
/* FIX FOR UNSTYLED ELEMENTOR SVGs DURING MIGRATION          */
/* ========================================================= */
.entry-content svg {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
}

/* ========================================================= */
/* SINGLE SERVICE PAGE TEMPLATE                              */
/* ========================================================= */
.service-page-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  /* Widened for a more expansive layout */
  margin: 0 auto;
  padding: 60px 20px;
  gap: 60px;
  /* Increased gap for better spacing */
}

.service-sidebar {
  flex: 0 0 300px;
  width: 100%;
  position: sticky;
  top: 130px;
  /* Keeps it under the header */
  align-self: start;
  /* Required for sticky to work in flex */
}

.service-content {
  flex: 1;
  min-width: 0;
  /* Prevents overflow */
}

/* Override standard entry-content width so it fills the right column instead of floating in the center */
.service-content .entry-content,
.service-content .entry-content>*,
.service-content .entry-content .elementor-section,
.service-content .entry-content .elementor-container,
.service-content .entry-content .elementor-widget-wrap {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Specific fix for plain text paragraphs spacing */
.service-content .entry-content p {
  max-width: 100% !important;
}

/* Sidebar Widget & Slider List */
.sidebar-widget,
.sidebar-contact-promo {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.service-menu-slider {
  max-height: 350px;
  /* Adjust height for 3-5 items depending on line height */
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom Scrollbar for Slider */
.service-menu-slider::-webkit-scrollbar {
  width: 6px;
}

.service-menu-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.service-menu-slider::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 10px;
}

.service-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-menu-list li {
  margin-bottom: 10px;
}

.service-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f9f9fa;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.service-menu-list a i {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.service-menu-list a:hover,
.service-menu-list a.active {
  background: var(--primary-color);
  color: #fff;
  border-left-color: var(--accent-gold);
  transform: translateX(4px);
}

.service-menu-list a:hover i,
.service-menu-list a.active i {
  opacity: 1;
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* Contact Promo in Sidebar */
.sidebar-contact-promo h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.sidebar-contact-promo p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-sidebar-contact {
  display: block;
  text-align: center;
  background: var(--accent-gold);
  color: var(--primary-color);
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-sidebar-contact:hover {
  background: var(--primary-color);
  color: #fff;
}

/* FAQ Section */
.service-faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-faq-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 25px;
  font-weight: 600;
  color: var(--primary-color);
  background: #f9f9fa;
  cursor: pointer;
  list-style: none;
  /* Hide default arrow */
  position: relative;
  transition: all 0.3s ease;
}

/* Custom Arrow for details */
.faq-item summary::after {
  content: '\f078';
  /* FontAwesome chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] summary {
  background: var(--primary-color);
  color: #fff;
}

.faq-answer {
  padding: 25px;
  color: var(--text-main);
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bottom CTA */
.service-bottom-cta {
  margin-top: 60px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, #070b24 0%, #162480 100%);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(7, 11, 36, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-bottom-cta h3 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.service-bottom-cta p {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  color: #070b24;
  padding: 16px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .service-sidebar {
    flex: 1 1 100%;
  }
}

/* ========================================================= */
/* FOOTER TWEAKS & SCROLLABLE SERVICES LIST                  */
/* ========================================================= */
.footer-links ul {
  max-height: 180px;
  /* Limits height */
  overflow-y: auto;
  /* Adds scrollbar */
  padding-right: 15px;
  /* Space for scrollbar */
  margin-right: -15px;
  /* Balances padding */
}

/* Custom Scrollbar for Footer */
.footer-links ul::-webkit-scrollbar {
  width: 6px;
}

.footer-links ul::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.footer-links ul::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 10px;
}

/* ========================================================= */
/* STANDARD PAGE SIDE DECORATIONS                            */
/* ========================================================= */
body.page-template-default::before,
body.page-template-default::after {
  content: '';
  position: fixed;
  top: 30%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.15;
  /* Subtle premium glow on the sides */
}

body.page-template-default::before {
  left: -15vw;
  background: var(--accent-gold);
}

body.page-template-default::after {
  right: -15vw;
  background: var(--secondary-color);
}

/* ========================================================= */
/* ABOUT PAGE CUSTOM STYLES                                  */
/* ========================================================= */

/* 1. Grid Layouts for Multi-Column Sections */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

/* 2x2 Grid for Specialized Services */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Responsive Mobile Fallback */
@media (max-width: 768px) {

  .about-pillars-grid,
  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. Style the Feature Cards */
.about-card {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle dark container tint */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  /* Accent gold highlight on hover */
}

/* 3. Improve Typography and Spacing */
.about-section p {
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.about-section h3 {
  margin-bottom: 12px;
  font-weight: 600;
}

/* 4. Style the Call-to-Action (CTA) Banner */
.about-cta-banner {
  background: #d4af37;
  /* Brand gold/yellow */
  color: #0b132b;
  /* Dark navy text for contrast */
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 60px;
}

.about-cta-banner .cta-button {
  background: #0b132b;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

/* ========================================================= */
/* SERVICE PAGE AESTHETIC UPGRADES                           */
/* ========================================================= */

/* 1. Dynamic Background Glows */
.service-page-container {
  position: relative;
  z-index: 1;
}

.service-page-container::before,
.service-page-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  animation: slowPulse 8s infinite alternate ease-in-out;
}

.service-page-container::before {
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
}

.service-page-container::after {
  bottom: 10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes slowPulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1.1) translate(20px, -20px);
    opacity: 0.2;
  }
}

/* 2. Fade-in Animation for Content */
.service-content .entry-content>* {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Stagger animations for consecutive elements */
.service-content .entry-content>*:nth-child(1) {
  animation-delay: 0.1s;
}

.service-content .entry-content>*:nth-child(2) {
  animation-delay: 0.2s;
}

.service-content .entry-content>*:nth-child(3) {
  animation-delay: 0.3s;
}

.service-content .entry-content>*:nth-child(4) {
  animation-delay: 0.4s;
}

.service-content .entry-content>*:nth-child(n+5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Advanced Typography (Headings) */
.service-content .entry-content h3 {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-top: 40px !important;
  margin-bottom: 25px !important;
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 15px !important;
}

.service-content .entry-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.service-content .entry-content h4,
.service-content .entry-content h5 {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-top: 35px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.service-content .entry-content h4::before,
.service-content .entry-content h5::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  border-radius: 50%;
}

/* 4. Lead Paragraph Styling */
.service-content .entry-content>p:first-of-type {
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  color: #444 !important;
  font-weight: 500 !important;
  margin-bottom: 30px !important;
}

/* 5. Custom List Styling */
.service-content .entry-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 40px !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.service-content .entry-content ul li {
  position: relative;
  padding: 15px 20px 15px 50px !important;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
}

.service-content .entry-content ul li::before {
  content: '\f00c';
  /* FontAwesome Check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 20px;
  top: 15px;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.service-content .entry-content ul li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

/* 6. Sidebar Widget Premium Feel */
.sidebar-widget,
.sidebar-contact-promo {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-widget:hover,
.sidebar-contact-promo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(7, 11, 36, 0.08);
}

/* ========================================================= */
/* GLOBAL AESTHETIC FRAMEWORK (GUTENBERG BLOCK STYLING)      */
/* ========================================================= */

/* 1. Cinematic Image Styling */
.entry-content .wp-block-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(7, 11, 36, 0.08);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
}

.entry-content .wp-block-image img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 25px 50px rgba(7, 11, 36, 0.15);
}

/* 2. Auto-Card Layouts for Columns */
.entry-content .wp-block-columns {
  gap: 30px !important;
  margin-top: 50px;
  margin-bottom: 50px;
}

.entry-content .wp-block-column {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Hover lift effect for columns */
.entry-content .wp-block-column:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.08); /* Subtle Gold Tint Shadow */
  border-color: rgba(212, 175, 55, 0.2);
}

/* Premium Gold Top Accent Line */
.entry-content .wp-block-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-gold) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.entry-content .wp-block-column:hover::before {
  opacity: 1;
}

/* Strip card styling if column ONLY contains an image (like side-by-side layouts) */
.entry-content .wp-block-column:has(> .wp-block-image:only-child) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.entry-content .wp-block-column:has(> .wp-block-image:only-child):hover {
  transform: none;
}
.entry-content .wp-block-column:has(> .wp-block-image:only-child)::before {
  display: none;
}

/* 3. Global Typography Glow-up */
.entry-content h2,
.entry-content h3 {
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 60px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.entry-content h2::after,
.entry-content h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* 4. Accentuated Lead Text in paragraphs */
/* Make bold text inside column paragraphs highlight like a feature title */
.entry-content .wp-block-column p strong {
  color: var(--primary-color);
  font-size: 1.1em;
  background: linear-gradient(180deg, transparent 60%, rgba(212, 175, 55, 0.3) 60%);
  padding: 0 4px;
  margin-left: -4px;
  border-radius: 2px;
}

/* 5. Smooth Page Load (Global Cascade) */
body.page-template-default .entry-content > * {
  animation: globalFadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

body.page-template-default .entry-content > *:nth-child(1) { animation-delay: 0.1s; }
body.page-template-default .entry-content > *:nth-child(2) { animation-delay: 0.2s; }
body.page-template-default .entry-content > *:nth-child(3) { animation-delay: 0.3s; }
body.page-template-default .entry-content > *:nth-child(4) { animation-delay: 0.4s; }
body.page-template-default .entry-content > *:nth-child(n+5) { animation-delay: 0.5s; }

@keyframes globalFadeInUp {
  to { opacity: 1; transform: translateY(0); }
}