/* AGS Technologies - styles moved from inline <style> blocks of the original index.html */

/* Mega menu */
.has-megamenu { position: relative; }
.has-megamenu:hover .sub-menu { display: flex; flex-wrap: wrap; gap: 20px; }
.image-item { text-align: center; flex: 1 1 100px; margin: 10px; }
.menu-image { width: 150px; height: auto; border-radius: 10px; border: 2px solid #fff; transition: transform .3s ease, box-shadow .3s ease; }
.menu-image:hover { transform: scale(1.1); box-shadow: 0 4px 8px rgba(255,255,255,.5); }
.image-name { margin-top: 10px; font-size: 14px; color: #fff; font-weight: 500; }

/* Floating call / WhatsApp buttons */
@keyframes jerking { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.float, .floats {
  position: fixed; width: 60px; height: 60px; bottom: 2rem;
  color: #fff; border-radius: 50px; text-align: center; font-size: 30px;
  box-shadow: 2px 2px 3px #999; z-index: 100; animation: jerking .5s infinite;
}
.float { left: 40px; background-color: #3125d3; }
.floats { right: 40px; background-color: #0a871f; padding-top: 14px; }
.float:hover, .floats:hover { animation-play-state: paused; transform: scale(1.1); color: #fff; }
.my-float { margin-top: 16px; padding-left: .5rem; }

@media (max-width: 786px) { .loading, #preloader { display: none; } }

/* Banner fallback when no slide image is set in the Customizer */
.banner__slider .slide-bg { background-color: #0c2a4d; }
.banner__slider .slide-bg.no-image { background-image: linear-gradient(135deg, #0c2a4d 0%, #005bab 100%); }

/* WordPress admin bar vs. sticky header */
.admin-bar .header-area.menu-fixed { top: 32px; }
@media (max-width: 782px) { .admin-bar .header-area.menu-fixed { top: 46px; } }

/* Inner pages (page.php, single.php, services) */
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content p { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.5rem 0 .75rem; }
.entry-thumb img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 2rem; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
