/* ================================================
   AI DIGI WORKS - common.css
   Theme Colors (from Logo):
   Primary Blue:   #1565C0 / #2979FF
   Dark Navy:      #0D1B4B
   Hot Pink:       #E91E8C
   Orange:         #FF6D00
   Gradient:       #E91E8C → #FF6D00 (pink-orange)
   Gradient 2:     #1565C0 → #2979FF (blue)
   ================================================ */

h1,h2,h3,h4,h5,h6{
  font-family:'Rajdhani' !important;
}

/* ---- Custom Properties (CSS Variables) ---- */
:root {
  --primary:       #1565C0;
  --primary-light: #2979FF;
  --primary-dark:  #0D1B4B;
  --accent:        #E91E8C;
  --accent-orange: #FF6D00;
  --gradient-brand: linear-gradient(135deg, #E91E8C, #FF6D00);
  --gradient-blue:  linear-gradient(135deg, #1565C0, #2979FF);
  --gradient-full:  linear-gradient(135deg, #1565C0, #E91E8C, #FF6D00);
  --white: #fff;
  --dark:  #0D1B4B;
}

/* ---- Cursor ---- */
@media (min-width: 992px) {
    .trail-cursor {
        width: 30px;
        height: 30px;
        border: 2px solid #E91E8C;
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 999999;
        transform: translate(-50%, -50%);
    }

    .trail-cursor .dot {
        width: 5px;
        height: 5px;
        background: #E91E8C;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 991px) {
    .trail-cursor {
        display: none !important;
    }
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
}
.loader {
    width: 45px;
    height: 45px;
    border: 4px solid #1565C0;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- Selection ---- */
::selection {
    color: #fff;
    background: #E91E8C;
    text-shadow: 2px 2px 8px #1565C0;
}

/* ---- Scrollbar ---- */
@media (min-width: 992px) {
  ::-webkit-scrollbar {
    width: 7px !important;
  }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1565C0, #E91E8C, #FF6D00);
  }
}

/* ================================================
   TOP BAR
   ================================================ */
.top-bar-unique {
  background: linear-gradient(90deg, #0D1B4B 0%, #1565C0 50%, #0D1B4B 100%);
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-bar-unique {
    background: #0D1B4B;
    color: #fff;
  }
}

.topbar-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  padding: 0 15px;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.top-contact a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s ease;
}
.top-contact a i {
  color: #FF6D00;
}
.top-contact a:hover {
  color: #FF6D00;
}
.divider {
  opacity: 0.4;
}
.top-marquee {
  flex: 1;
  overflow: hidden;
  margin-left: 20px;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 18s linear infinite;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.top-marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}
@media (max-width: 768px) {
  .top-contact { display: none; }
  .marquee-track { font-size: 13px; }
}

/* ================================================
   NAVBAR
   ================================================ */
.custom-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 !important;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #1565C0, #E91E8C, #FF6D00) 1;
  box-shadow: 0 2px 20px rgba(21, 101, 192, 0.12);
}

.custom-navbar .navbar-brand img {
  height: 60px;
  max-height: 60px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #0D1B4B;
  font-weight: 600;
  margin: 0 8px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #E91E8C;
}
.nav-item {
  font-family: 'Rajdhani' !important;
}

.sticky-top {
  top: 0;
  z-index: 2000;
}

.custom-toggler {
  border: none;
  padding: 4px 8px;
}
.custom-toggler:focus {
  box-shadow: none;
}

/* Toggler Icon Fix */
.custom-toggler .close-icon {
  display: none;
}
.custom-toggler[aria-expanded="true"] .open-icon {
  display: none;
}
.custom-toggler[aria-expanded="true"] .close-icon {
  display: inline-block;
}
.custom-toggler i {
  font-size: 1.6rem;
  color: #0D1B4B;
  transition: 0.3s ease;
}

/* Dropdown */
.custom-dropdown {
  border: 2px solid #E91E8C !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.15);
  padding: 6px 0 !important;
  margin-top: 10px !important;
  min-width: 240px !important;
}
.custom-dropdown .dropdown-item {
  padding: 8px 12px !important;
  color: #0D1B4B !important;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 13px !important;
  border: none !important;
}
.custom-dropdown .dropdown-item:hover {
  background: linear-gradient(135deg, #E91E8C, #FF6D00);
  color: white !important;
  transform: translateX(3px) !important;
}
.custom-dropdown .dropdown-item i {
  width: 20px;
  text-align: center;
  color: #1565C0;
}
.custom-dropdown .dropdown-item:hover i {
  color: #fff;
}
.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

/* Get A Quote Button */
.quote-btn {
  background: linear-gradient(135deg, #E91E8C, #FF6D00) !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-family: 'Rajdhani' !important;
  font-size: 15px !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.35);
}
.quote-btn:hover {
  background: linear-gradient(135deg, #FF6D00, #E91E8C) !important;
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.4) !important;
  transform: translateY(-2px);
}

/* ================================================
   MOBILE BOTTOM NAVBAR
   ================================================ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #1565C0, #E91E8C, #FF6D00) 1;
  z-index: 9999;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.mobile-bottom-nav.hide {
  transform: translateY(100%);
  opacity: 0;
}
.mobile-bottom-nav .nav-item {
  color: #0D1B4B;
  text-align: center;
  flex-grow: 1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.mobile-bottom-nav .nav-item i {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
  color: #E91E8C;
}
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
}

/* ================================================
   FOOTER
   ================================================ */
.footer-wave {
  margin-bottom: -1px;
}

footer {
  background: linear-gradient(135deg, #0D1B4B 0%, #1565C0 100%);
  color: #fff;
  padding: 60px 0 20px;
  position: relative;
}

footer h4 {
  border-bottom: 2px solid #E91E8C;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 20px;
}

footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
footer a:hover {
  color: #FF6D00;
  padding-left: 5px;
}

.footer-logo {
  width: 200px;
  height: 90px;
}

.social-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}
.social-icon a:hover {
  background: linear-gradient(135deg, #E91E8C, #FF6D00);
  border-color: transparent;
  transform: translateY(-3px);
}

.phone-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
@media (max-width: 575px) {
  .phone-line {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}
.footer-bottom a {
  display: inline;
  color: #FF6D00;
}
.footer-bottom a:hover {
  color: #E91E8C;
  padding-left: 0;
}

.app-badges {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
.app-badge {
  height: 40px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.app-badge:hover {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  footer { text-align: center; }
  .social-icons { justify-content: center; }
  .app-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ================================================
   LANGUAGE WIDGET
   ================================================ */
.language-widget {
  position: fixed;
  bottom: 80px;
  right: 15px;
  z-index: 9998;
}
.lang-toggle {
  background: linear-gradient(135deg, #1565C0, #E91E8C);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
  line-height: 1.3;
}
.lang-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 50px;
  right: 0;
  background: #fff;
  border: 1px solid #E91E8C;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  width: 140px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}
.lang-menu button {
  background: transparent;
  border: none;
  color: #0D1B4B;
  text-align: left;
  padding: 8px 15px;
  width: 100%;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}
.lang-menu button:hover {
  background: linear-gradient(135deg, #E91E8C, #FF6D00);
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   ANIMATED BUTTON
   ================================================ */
.button {
  --primary: #E91E8C;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255,255,255,0.2),
    0 10px 20px rgba(0,0,0,0.2), 0 4px 5px 0px rgba(0,0,0,0.05);
  display: inline-block;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  padding: 18px;
  height: 66px;
  color: #222;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255,255,255,0.3),
    0 15px 30px rgba(0,0,0,0.3), 0 10px 3px -3px rgba(0,0,0,0.04);
}
.button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255,255,255,0.3), 0 10px 3px -3px rgba(0,0,0,0.2);
}
.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.45)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}
.button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255,255,255,1);
}
.button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}
.state {
  z-index: 2;
  display: flex;
  position: relative;
}
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state--sent { display: none; }
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 180deg, transparent 60%, white 80%, transparent 100%);
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}
.button:hover .outline { opacity: 1; }
.button:hover .outline::before { animation-play-state: running; }
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
@keyframes slideDown {
  0%   { opacity: 0; transform: translateY(-20px) translateX(5px) rotate(-90deg); color: var(--primary); filter: blur(5px); }
  30%  { opacity: 1; transform: translateY(4px); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes wave {
  50% { color: var(--primary); transform: translateY(-3px); }
}
@keyframes land {
  0%   { transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2); opacity: 0; }
  100% { transform: translateX(0) rotate(0); opacity: 1; }
}
@keyframes appear {
  0%   { opacity: 0; transform: scale(4) rotate(-40deg); }
  100% { opacity: 1; transform: scale(1); }
}

/* ================================================
   SEND BUTTON
   ================================================ */
.send-btn {
  font-family: inherit;
  font-size: 18px;
  background: linear-gradient(135deg, #1565C0, #2979FF);
  color: white !important;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.send-btn span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.4s ease-in-out;
  white-space: nowrap;
}
.send-btn svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.4s ease-in-out;
}
.send-btn:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}
.send-btn:hover svg {
  transform: translateX(calc(100% - 10px)) rotate(45deg) scale(1.1) !important;
}
.send-btn:hover span {
  transform: translateX(150%);
}
.send-btn:active {
  transform: scale(0.95);
}
@keyframes fly-1 {
  from { transform: translateY(0.1em); }
  to   { transform: translateY(-0.1em); }
}

/* ================================================
   SOCIAL SIDEBAR
   ================================================ */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  z-index: 9997;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(135deg, #0D1B4B, #1565C0);
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  margin-bottom: 2px;
  width: 44px;
  overflow: hidden;
  transition: width 0.4s ease, background 0.3s ease;
  border-radius: 6px 0 0 6px;
  font-size: 18px;
  right: 0;
}
.social-sidebar a span {
  opacity: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  transition: opacity 0.3s ease;
}
.social-sidebar a:hover {
  width: 130px;
  background: linear-gradient(135deg, #E91E8C, #FF6D00);
}
.social-sidebar a:hover span {
  opacity: 1;
}
.social-sidebar a i {
  font-size: 18px;
}
.social-sidebar a.whatsapp:hover { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-sidebar a.facebook:hover { background: linear-gradient(135deg, #1877F2, #1565C0); }
.social-sidebar a.twitter:hover  { background: #000; }
.social-sidebar a.instagram:hover{ background: linear-gradient(135deg, #E91E8C, #FF6D00); }
.social-sidebar a.call:hover     { background: linear-gradient(135deg, #1565C0, #2979FF); }
@media (max-width: 991px) {
  .social-sidebar { display: none !important; }
}
@media (min-width: 1100px) {
  .sidebar-fix-page .social-sidebar { right: 8px !important; }
  .sidebar-fix-page .social-sidebar a { right: 0 !important; }
}
