/* ========================================== */
/* THE ADI TECH - Corrected Dual Floating Widgets */
/* ========================================== */

/* Base Floating Tab Styling */


    .aditech-floating-call-btn {
        position: fixed;
        top: 50%; /* સ્ક્રીનની બરાબર વચ્ચે (Middle-to-Top રાખવા માટે તમે top: 40% પણ કરી શકો છો) */
        right:  -2px;
        transform: translateY(-50%);
        width: 63px;
        height: 60px;
        background-color: #000000; /* બ્લેક બેકગ્રાઉન્ડ */
        color: #FFA700; /* યલો/ગોલ્ડન આઇકન કલર */
        border: 2px solid #FFA700; /* થીમ મુજબ ગોલ્ડન બોર્ડર */
        border-radius: 9px; /* સ્ક્વેર આકાર (સોર્ફ્ટ રાઉન્ડ કોર્નર) */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
        z-index: 9998;
        text-decoration: none;
        transition: all 0.3s ease;
    }

   .aditech-floating-call-btn:hover {
        transform: translateY(-50%) scale(1.08);
        background-color: #D8A347; /* હોવર કરવા પર બેકગ્રાઉન્ડ ગોલ્ડન થઈ જશે */
        color: #082655; /* અને આઇકન નેવી બ્લુ થઈ જશે */
        border-color: #D8A347;
        box-shadow: 0 10px 30px rgba(216, 163, 71, 0.4);
    }

    /* રિંગિંગ વાઇબ્રેશન ઇફેક્ટ */
    .aditech-ringing-icon {
        animation: aditechRingShake 1.2s ease-in-out infinite;
        display: inline-block;
        transform-origin: center;
    }

    @media (max-width: 768px) {
        .aditech-floating-call-btn {
            width: 48px;
            height: 45px;
            font-size: 18px;
            right: -8px;
            top: 20%;
            /* right: -27px; */
        }
    }


    @keyframes aditechRingShake {
        0% { transform: rotate(0deg); }
        10% { transform: rotate(14deg) scale(1.1); }
        20% { transform: rotate(-14deg) scale(1.1); }
        30% { transform: rotate(12deg) scale(1.1); }
        40% { transform: rotate(-12deg) scale(1.1); }
        50% { transform: rotate(6deg); }
        60% { transform: rotate(-6deg); }
        70% { transform: rotate(0deg) scale(1); }
        100% { transform: rotate(0deg) scale(1); }
    }

/* Floating Tab Container */
.aditech-floating-tab.aditech-tab-image {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9997;
    animation: aditechFloat 3.5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.3s ease;
}
.aditech-floating-tab.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}
/* Image Element Sizing & Effects */
.aditech-floating-img {
    width: 150px; /* ડેસ્કટોપ માટે સાઈઝ */
    height: auto;
    display: block;
    background: transparent !important;
    /* ઉપર-નીચે જંપ (Bounce) એનિમેશન */
    animation: aditechBounceJump 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

/* Hover Effect (Zoom + Gold Glow) */
/* Hover Effect (Zoom + Gold Glow) */
.aditech-floating-tab.aditech-tab-image:hover {
    transform: scale(1.08) translateY(-6px);
}

.aditech-floating-tab.aditech-tab-image:hover .aditech-floating-img {
    animation-play-state: paused; /* હોવર કરવા પર જંપ અટકશે */
    transform: scale(1.1);
}

@keyframes aditechBounceJump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px); /* આનાથી બેજ ઉપર-નીચે જંપ કરશે */
    }
}

@media (max-width: 768px) {
    .aditech-floating-tab.aditech-tab-image {
        bottom: 15px;
        left: 15px;
    }

    .aditech-floating-img {
        width: 110px; /* મોબાઈલમાં સાઈઝ નાની થઈ જશે જેથી પાછળનું કન્ટેન્ટ નહીં છુપાય */
    }
}


/* .aditech-floating-tab.aditech-tab-image:hover .aditech-floating-img {
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.5);
} */

/* Smooth Floating Animation */
@keyframes aditechDomainPulse {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Automatically Hide Widget When Slide Panel is Open */
body:has(#aditechSlidePanel.active) .aditech-floating-tab.aditech-tab-image {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
}
/* Base Floating Tab Styling */
.aditech-floating-tab {
    position: fixed;
    z-index: 998;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
} 
/* Force preloader subtitle to ignore hidden states and display correctly */
.mil-pos-abs.mil-animation-2 .aditech-preloader-subtitle,
.mil-pos-abs.mil-animation-2 .aditech-preloader-subtitle p {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10;
}

.aditech-isolated-subtitle {
    position: absolute;
    top: 58%; /* Positions it nicely right below the center text */
    left: 50%;
    transform: translate(-50%, 20px);
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10;
}

.aditech-isolated-subtitle.reveal-subtitle {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.aditech-isolated-subtitle p {
    margin: 6px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

.aditech-fade-subtitle {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.aditech-fade-subtitle.show-subtitle {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aditech-preloader-subtitle p {
    margin: 6px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

.aditech-services-list span {
    margin: 0 4px;
}

/* Hide widgets by default */
.aditech-floating-tab {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Automatically show widgets when preloader is hidden */
.mil-preloader.mil-hidden ~ .aditech-floating-tab,
body:has(.mil-preloader.mil-hidden) .aditech-floating-tab {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Position them higher up (above template's Back to Top button) */
.aditech-tab-announcement {
  bottom: 33%;
  /* transform: translateY(-50%) rotate(270deg); */
  transform-origin: right center;
  border-radius: 6px 6px 0 0;
  right: 3%;
  font-size: 15px;
  font-weight: 800;
}



/* 2. Start Your Project Action Tab Styling */
.aditech-tab-project {
    top: 40%;
    right: -2px; /* Sits cleanly to the left of the domain image */
    /* background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%); */
    background-color: #FFA700;
    color: #000;
    border: 1px solid #d4af37;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.aditech-floating-tab span {
  display: inline-block;
  /* transform: rotate(90deg); */
}

.aditech-tab-announcement:hover {
  background: #d4af37;
  color: #000;
  border-color: #d4af37;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.aditech-tab-project:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

@keyframes aditechPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.aditech-tab-project.pulse {
    animation: aditechPulse 3s infinite;
}

/* Slide-in Overlay & Panel */
.aditech-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.aditech-overlay.active {
  opacity: 1;
  visibility: visible;
}

.aditech-slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 580px;
  height: 100vh;
  background: #141414;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.aditech-slide-panel.active {
  transform: translateX(0);
  visibility: visible;
}

.aditech-panel-header {
  padding: 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #181818;
}

.aditech-panel-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.aditech-panel-title p {
  font-size: 14px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

.aditech-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.aditech-close-btn:hover {
  background: #d4af37;
  color: #000;
  transform: rotate(90deg);
}

.aditech-panel-body {
  padding: 40px;
  overflow-y: auto;
  flex-grow: 1;
}

/* Startup Banner & Forms */
.aditech-startup-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(20, 20, 20, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: none;
}

.aditech-startup-banner.active {
  display: block;
}

.aditech-startup-banner h4 {
  color: #d4af37;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.aditech-startup-banner p {
  color: #999;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.aditech-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 15px;
  font-weight: 600;
}

.aditech-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.aditech-service-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.aditech-service-card.selected {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

.aditech-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d4af37;
  flex-shrink: 0;
}

.aditech-service-card.selected .aditech-service-icon {
  background: #d4af37;
  color: #000;
}

.aditech-service-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.aditech-service-info p {
  font-size: 13px;
  color: #999;
  margin: 0;
}

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

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


/* Hide error messages by default */
.aditech-error-msg {
  display: none;
  color: #ff3333;
  font-size: 12px;
  margin-top: 5px;
}

/* Red borders on error */
.aditech-form-input.error,
.aditech-form-textarea.error {
  border-color: #ff3333 !important;
}

.aditech-form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.aditech-form-input,
.aditech-form-textarea,
.aditech-form-select {
  width: 100%;
  /* background: #1a1a1a; */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 18px;
  /* color: #fff !important; */
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.aditech-form-input:focus,
.aditech-form-textarea:focus,
.aditech-form-select:focus {
  border-color: #d4af37;
  /* background: #181818; */
  background : #fff;
}

.aditech-form-textarea {
  resize: vertical;
  height: 126px;
}

.aditech-submit-btn {
  width: 100%;
  background: #d4af37;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 10px;
}

.aditech-submit-btn:hover {
  background: #e6c158;
}

.aditech-success-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.aditech-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #d4af37;
  margin: 0 auto 24px auto;
}

.aditech-success-state h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 12px;
}

.aditech-success-state p {
  font-size: 15px;
  color: #999;
}

/* Mobile Adjustments */
@media(max-width: 768px) {
  .aditech-tab-announcement {
    top: auto;
    bottom: 95px;
    right: 20px;
    transform: none;
    border-radius: 30px;
    padding: 10px 18px;
  }
  /* .aditech-tab-project {
    top: 40%;
    /* bottom: 40px;  
    right: -20px;
    transform: none;
    border-radius: 30px;
    padding: 10px 18px;
  } */
  .aditech-floating-tab span {
    transform: none;
  }
}