/* =====================================================================
   IT PROFESSIONAL - Glass / Glossy theme + Logo sizing + Smooth motion
   Loaded AFTER custom.css (see header.php). Safe to remove this file
   to go back to the old look.
   ===================================================================== */

:root {
	--glass-bg: rgba(255, 255, 255, 0.58);
	--glass-bg-strong: rgba(255, 255, 255, 0.78);
	--glass-border: rgba(255, 255, 255, 0.75);
	--glass-blur: blur(16px) saturate(170%);
	--glass-shadow: 0 10px 34px rgba(17, 58, 134, 0.14);
	--glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.95),
	               inset 0 -1px 0 rgba(255, 255, 255, 0.35),
	               inset 1px 0 0 rgba(255, 255, 255, 0.45);
	--ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------
   1. LOGO - proper size (was 160px wide = huge header)
   --------------------------------------------------------------- */
.navbar-brand img {
	width: auto;
	height: 68px;
	max-width: none;
	object-fit: contain;
	display: block;
	border-radius: 50%;
	filter: drop-shadow(0 4px 10px rgba(17, 58, 134, 0.18));
	transition: transform 0.4s var(--ease-smooth), height 0.3s var(--ease-smooth);
}
.navbar-brand:hover img { transform: scale(1.05) rotate(-2deg); }

.navbar { padding: 12px 18px; }
header.main-header .header-sticky.active .navbar-brand img { height: 56px; }

.footer-logo { padding: 14px 18px; display: flex; align-items: center; justify-content: center; }
.footer-logo img { width: auto; height: 96px; max-width: 100%; top: 0; object-fit: contain; }

@media (max-width: 991px) {
	.navbar-brand img { height: 54px; }
	.navbar { padding: 10px 14px; }
	.footer-logo img { height: 80px; }
}
@media (max-width: 575px) {
	.navbar-brand img { height: 46px; }
}

/* ---------------------------------------------------------------
   2. GLASS HEADER
   --------------------------------------------------------------- */
header.main-header,
header.main-header .header-sticky.active {
	background: var(--glass-bg-strong);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow), var(--glass-shine);
	transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}
/* the inner sticky wrapper must not double-paint */
header.main-header .header-sticky:not(.active) { background: transparent; }

/* ---------------------------------------------------------------
   3. SOFT COLOUR BEHIND SECTIONS (so the glass has something to blur)
   --------------------------------------------------------------- */
.our-testimonials.it-testimonial-modern,
.page-contact-us.it-contact-modern,
.it-why-section,
.it-services-modern {
	background-image:
		radial-gradient(520px 320px at 8% 12%, rgba(9, 98, 213, 0.16), transparent 70%),
		radial-gradient(480px 300px at 92% 20%, rgba(253, 117, 19, 0.16), transparent 70%),
		radial-gradient(560px 340px at 55% 100%, rgba(17, 58, 134, 0.12), transparent 70%);
	background-repeat: no-repeat;
}

/* ---------------------------------------------------------------
   4. GLASS + GLOSSY CARDS
   --------------------------------------------------------------- */
.it-testimonial-card,
.it-why-card,
.it-contact-info,
.it-contact-form-box,
.it-service-card,
.it-about-experience,
.it-support-badge,
.it-service-contact-card {
	background-color: var(--glass-bg);
	/* gloss: diagonal highlight that sweeps across on hover */
	background-image: linear-gradient(115deg,
		rgba(255, 255, 255, 0.70) 0%,
		rgba(255, 255, 255, 0.22) 38%,
		rgba(255, 255, 255, 0.05) 52%,
		rgba(255, 255, 255, 0.30) 100%);
	background-size: 260% 100%;
	background-position: 0% 0;
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow), var(--glass-shine);
	transition: transform 0.45s var(--ease-smooth),
	            box-shadow 0.45s var(--ease-smooth),
	            background-position 0.9s var(--ease-smooth),
	            border-color 0.45s var(--ease-smooth);
	will-change: transform;
}

.it-testimonial-card:hover,
.it-why-card:hover,
.it-service-card:hover,
.it-contact-info:hover {
	transform: translateY(-8px);
	background-position: 100% 0;
	border-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 22px 48px rgba(17, 58, 134, 0.22), var(--glass-shine);
}

/* service card: keep the picture, make the text area glassy */
.it-service-card .it-service-body {
	background: rgba(255, 255, 255, 0.45);
}

/* form fields */
.it-contact-form-input .form-control {
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: inset 0 1px 3px rgba(17, 58, 134, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transition: background 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.it-contact-form-input .form-control:focus {
	background: rgba(255, 255, 255, 0.92);
	border-color: #113a86;
	box-shadow: 0 0 0 4px rgba(17, 58, 134, 0.12), inset 0 1px 0 #fff;
}

/* ---------------------------------------------------------------
   5. GLOSSY BUTTONS
   --------------------------------------------------------------- */
.btn-default:not(.btn-highlighted) {
	box-shadow: 0 8px 20px rgba(253, 117, 19, 0.35),
	            inset 0 1px 0 rgba(255, 255, 255, 0.55),
	            inset 0 -2px 4px rgba(0, 0, 0, 0.12);
	transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), background-position 0.4s ease-in-out;
}
.btn-default:not(.btn-highlighted)::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 52%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04));
	border-radius: 100px 100px 60% 60% / 100px 100px 20px 20px;
	pointer-events: none;
	z-index: -1;
}
.btn-default:not(.btn-highlighted):hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(253, 117, 19, 0.45),
	            inset 0 1px 0 rgba(255, 255, 255, 0.65),
	            inset 0 -2px 4px rgba(0, 0, 0, 0.12);
}

.it-contact-form-submit {
	position: relative;
	overflow: hidden;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.10) 100%);
	box-shadow: 0 10px 24px rgba(17, 58, 134, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.it-contact-form-submit:hover { transform: translateY(-3px); }
.it-contact-form-submit:disabled,
.it-contact-form-submit.is-sending { opacity: 0.75; cursor: wait; transform: none; }

/* ---------------------------------------------------------------
   6. SMOOTH EFFECTS & SLIDES
   --------------------------------------------------------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.swiper-wrapper {
	transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
	will-change: transform;
}
.swiper-slide {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
/* NOTE: no opacity on slides - opacity would flatten the glass blur of the cards inside */

.hero.hero-slider-layout .hero-slide .hero-slider-image img { will-change: transform; }

.wow { will-change: opacity, transform; }
.animated { animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }

img { image-rendering: auto; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Browsers without backdrop-filter: fall back to near-solid white */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	header.main-header,
	.it-testimonial-card, .it-why-card, .it-contact-info,
	.it-contact-form-box, .it-service-card { background-color: rgba(255, 255, 255, 0.96); }
}

/* ---------------------------------------------------------------
   7. CLEAN FOOTER BACKGROUND (no pattern image, plain deep-blue)
   --------------------------------------------------------------- */
.main-footer {
	background: #092564;
	background-image: linear-gradient(180deg, #0b2d75 0%, #092564 55%, #071d4d 100%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.main-footer-box {
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}
