/* ==========================================================================
   AAA Contracting (Ali Radhi Bin Abdul Karim Bu Athab Contracting Est)
   Modern Brand Identity & Theme Stylesheet
   Color Palette inspired by the AAA Royal Blue & Silver Orbital Logo
   ========================================================================== */

:root {
  --aaa-primary: #104c9e;
  --aaa-primary-dark: #0a2558;
  --aaa-primary-deep: #071a3d;
  --aaa-primary-light: #1e60d5;
  --aaa-azure: #2563eb;
  --aaa-cyan: #38bdf8;
  --aaa-silver: #94a3b8;
  --aaa-silver-light: #f1f5f9;
  --aaa-dark: #0c1d36;
  --aaa-body: #475569;
  --aaa-gradient-brand: linear-gradient(135deg, #0a2558 0%, #104c9e 50%, #1e60d5 100%);
  --aaa-gradient-accent: linear-gradient(135deg, #104c9e 0%, #2563eb 100%);
  --aaa-gradient-hero: linear-gradient(135deg, rgba(7, 26, 61, 0.93) 0%, rgba(16, 76, 158, 0.82) 60%, rgba(10, 37, 88, 0.9) 100%);
  --aaa-shadow-sm: 0 4px 12px rgba(16, 76, 158, 0.08);
  --aaa-shadow-md: 0 10px 28px rgba(16, 76, 158, 0.12);
  --aaa-shadow-lg: 0 20px 45px rgba(16, 76, 158, 0.18);
  --aaa-radius: 10px;
}

/* 1. Global Accents & Typography */
body {
  color: var(--aaa-body);
}

::selection {
  background: var(--aaa-primary);
  color: #ffffff;
}

/* 2. Top Header Accent Line */
header {
  position: relative;
}

header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0a2558 0%, #104c9e 35%, #2563eb 70%, #38bdf8 100%);
  width: 100%;
}

.header__inner {
  box-shadow: 0 4px 20px rgba(10, 37, 88, 0.05) !important;
  border-bottom: 1px solid #eef2f6 !important;
  padding: 4px 0;
}

/* Responsive Logo Container */
.logo-1 {
  max-width: 280px !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center;
}

.logo-1 a {
  display: inline-block;
  width: 100%;
}

.logo-1 img {
  width: 100% !important;
  max-height: 60px !important;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-1 img:hover {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .logo-1 {
    max-width: 220px !important;
  }
  .logo-1 img {
    max-height: 48px !important;
  }
}

@media (max-width: 575px) {
  .logo-1 {
    max-width: 180px !important;
  }
  .logo-1 img {
    max-height: 42px !important;
  }
}

/* 3. Navigation Bar Styling */
.main-menu.main-menu-2 {
  text-align: left;
}

.main-menu ul li {
  margin-right: 22px;
}

.main-menu ul li > a {
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color 0.25s ease;
}

.main-menu ul li:hover > a,
.main-menu ul li.active > a {
  color: var(--aaa-primary) !important;
}

.main-menu ul li.active > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aaa-primary);
  border-radius: 2px;
}

.main-menu ul li .submenu {
  border-top: 3px solid var(--aaa-primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 36px rgba(10, 37, 88, 0.14);
  background: #ffffff;
  padding: 14px 0;
}

.main-menu ul li .submenu li a {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: all 0.25s ease;
}

.main-menu ul li .submenu li a:hover {
  background: rgba(16, 76, 158, 0.06);
  color: var(--aaa-primary) !important;
  padding-left: 28px;
}

/* 4. Action Buttons & CTA */
.header__action-2 .call-btn {
  color: var(--aaa-primary-dark) !important;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__action-2 .call-btn i {
  color: var(--aaa-primary) !important;
  background: rgba(16, 76, 158, 0.08);
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.header__action-2 .call-btn:hover i {
  background: var(--aaa-primary);
  color: #ffffff !important;
  transform: rotate(15deg);
}

.v-btn {
  background: var(--aaa-gradient-accent) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(16, 76, 158, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.v-btn::before {
  display: none !important;
}

.v-btn:hover {
  background: var(--aaa-gradient-brand) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 76, 158, 0.38) !important;
  color: #ffffff !important;
}

.side-toggle {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--aaa-primary-dark) !important;
  transition: all 0.3s ease;
}

.side-toggle:hover {
  background: var(--aaa-primary);
  color: #ffffff !important;
}

/* 5. Hero & Page Title Banners */
.single-slider::before,
.page-title-area::before {
  background: var(--aaa-gradient-hero) !important;
  opacity: 0.88;
}

.page-title-area {
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-title-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--aaa-gradient-hero) !important;
  opacity: 0.88;
}

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

.page-title-content h1 {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.breadcrumb-menu {
  position: relative;
  z-index: 2;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: #60a5fa !important;
}

/* Hero Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* 6. Section Titles & Subtitles */
.section-title span,
.section-pre-title,
.section__title span,
.category {
  color: var(--aaa-primary) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  font-size: 14px;
}

.pcl-title,
.section-title h2,
.section__title h2 {
  color: var(--aaa-primary-deep) !important;
  font-weight: 800;
}

/* 7. Service Cards & Feature Boxes */
.card,
.services__item,
.services__item-2 {
  border-radius: var(--aaa-radius) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: var(--aaa-shadow-sm) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.card:hover,
.services__item:hover,
.services__item-2:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--aaa-shadow-md) !important;
  border-color: #cbd5e1 !important;
}

/* Sleek top card accent line */
.card[style*="border-top"],
.services-card-accent {
  border-top: 4px solid var(--aaa-primary) !important;
}

/* Service Card Icons */
.card i.text-warning,
.card i[style*="FE853E"],
.services__icon i,
.services__icon-2 i {
  color: var(--aaa-primary) !important;
  transition: transform 0.3s ease;
}

.card:hover i.text-warning,
.card:hover i[style*="FE853E"] {
  transform: scale(1.15);
}

/* 8. Vision 2030 Section Enhancements */
.hero-with-video {
  position: relative;
  overflow: hidden;
}

.tinted-frost {
  background: linear-gradient(135deg, rgba(7, 26, 61, 0.94) 0%, rgba(16, 76, 158, 0.88) 100%) !important;
}

.hero-with-video .hero-label.eyebrow {
  color: #60a5fa !important;
  font-weight: 700;
  letter-spacing: 2px;
}

.button--outline-white {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.button--outline-white:hover {
  background: #ffffff;
  color: var(--aaa-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* 9. Counter / Statistics Section */
.rs-counter-one {
  background: var(--aaa-gradient-brand) !important;
}

.rs-counter-number {
  color: #ffffff !important;
  font-weight: 800;
}

.rs-counter-title {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
}

/* 10. Contact Section & Forms */
.office-address-icon i {
  color: var(--aaa-primary) !important;
  background: rgba(16, 76, 158, 0.08);
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
}

.office-address-meta h5 {
  color: var(--aaa-primary-deep) !important;
  font-weight: 700;
}

.sd-form input:focus,
.sd-form textarea:focus {
  border-color: var(--aaa-primary) !important;
  box-shadow: 0 0 0 3px rgba(16, 76, 158, 0.15) !important;
}

/* 11. Modern Footer */
footer.footer-one-sec,
footer {
  background: radial-gradient(circle at 80% 20%, #0d2856 0%, #071836 100%) !important;
  color: #cbd5e1;
}

.footer-widget__column p {
  color: #94a3b8 !important;
}

.footer-widget__title {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  padding-bottom: 14px;
}

.footer-widget__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.footer-logo img {
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

.footer-widget__services-list li a,
.footer-widget__explore-list li a {
  color: #cbd5e1 !important;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-widget__services-list li a:hover,
.footer-widget__explore-list li a:hover {
  color: #60a5fa !important;
  transform: translateX(4px);
}

.footer-widget__about-social-link ul li a,
.footer__social li a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
}

.footer-widget__about-social-link ul li a:hover,
.footer__social li a:hover {
  background: var(--aaa-primary) !important;
  color: #ffffff !important;
  border-color: var(--aaa-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(16, 76, 158, 0.4);
}

.footer-one__bottom {
  background: #040e20 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 0;
}

.footer-one__bottom-text p,
.footer-one__bottom-list p {
  color: #94a3b8 !important;
  font-size: 14px;
}

.footer-one__bottom-list a {
  color: #60a5fa !important;
}

/* 12. Floating Action Badges */
.float-whats {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-whats:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* 13. Side Info / Offcanvas Mobile Menu */
.side-info {
  background: #071a3d !important;
  color: #ffffff;
}

.side-info-close {
  color: #ffffff !important;
}

.side-info-content .offset-logo img {
  max-width: 220px !important;
}

.contact-list h4,
.info-widget h4 {
  color: #ffffff !important;
}

.contact-list a {
  color: #cbd5e1 !important;
}

.contact-list a:hover {
  color: #60a5fa !important;
}

.contact-list a i {
  color: #60a5fa !important;
}

/* 14. Homepage Service Carousel Cards (.blog__post) */
.blog__post {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 37, 88, 0.08);
  border: 1px solid #eef2f6;
  border-top: 3px solid var(--aaa-primary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog__post:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(10, 37, 88, 0.16);
  border-color: #bfdbfe;
}

.blog__thumb {
  overflow: hidden;
}

.blog__thumb img {
  transition: transform 0.5s ease;
}

.blog__post:hover .blog__thumb img {
  transform: scale(1.08);
}

.blog__content {
  padding: 24px 20px;
}

.blog__content h4 a {
  color: var(--aaa-primary-deep);
  font-weight: 700;
  transition: color 0.25s ease;
}

.blog__content h4 a:hover {
  color: var(--aaa-primary);
}

.service-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aaa-primary) !important;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  transition: all 0.25s ease;
}

.service-explore-link i {
  transition: transform 0.25s ease;
}

.service-explore-link:hover {
  color: var(--aaa-azure) !important;
}

.service-explore-link:hover i {
  transform: translateX(4px);
}

/* 15. Carousel Nav Dots & Arrows */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--aaa-primary) !important;
}

.owl-prev, .owl-next {
  background: rgba(16, 76, 158, 0.1) !important;
  color: var(--aaa-primary) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.owl-prev:hover, .owl-next:hover {
  background: var(--aaa-primary) !important;
  color: #ffffff !important;
}

/* 16. Header Get a Quotation button removed */
.header__action-2 ul li a.v-btn {
  display: none !important;
}

/* 17. Hide Breadcrumb Menu White Box Globally */
.breadcrumb-menu,
.breadcrumb {
  display: none !important;
}
