@import "../section-css/reset.css";
@import "../section-css/mobile-menu.css";
@import "../section-css/header.css";
@import "../section-css/hero.css";
@import "../section-css/about.css";
@import "../section-css/category.css";
@import "../section-css/features.css";
@import "../section-css/course.css";
@import "../section-css/why-choose.css";
@import "../section-css/funfact.css";
@import "../section-css/partner.css";
@import "../section-css/testimonial.css";
@import "../section-css/blog.css";
@import "../section-css/call-action.css";
@import "../section-css/video.css";
@import "../section-css/team.css";
@import "../section-css/faq.css";
@import "../section-css/breadcrumbs.css";
@import "../section-css/apply.css";
@import "../section-css/event.css";
@import "../section-css/contact.css";
@import "../section-css/product.css";
@import "../section-css/error.css";
@import "../section-css/checkout.css";
@import "../section-css/sidebars.css";
@import "../section-css/auth-pages.css";
@import "../section-css/footer.css";

/* =========================================
    AVINASH SIR GALLERY
    ========================================= */

.as-gallery-section {
	position: relative;
	padding: 70px 20px 110px;
	background: #f7faff;
	overflow: hidden;
}

.as-gallery-section::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	background: rgba(22, 91, 214, 0.06);
	border-radius: 50%;
	top: -180px;
	right: -120px;
	filter: blur(5px);
}

.as-gallery-container {
	max-width: 1250px;
	margin: auto;
	position: relative;
	z-index: 2;
}

/* Heading */

.as-gallery-heading {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 42px;
}

.as-gallery-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #165bd6;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.as-gallery-heading h2 {
	margin: 0 0 15px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
	font-weight: 800;
	color: #14213d;
}

.as-gallery-heading h2 span {
	color: #165bd6;
}

.as-gallery-heading p {
	margin: 0;
	color: #65738b;
	font-size: 16px;
	line-height: 1.8;
}

/* Tabs */

.as-gallery-tabs {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 38px;
	padding: 6px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	background: #ffffff;
	border: 1px solid #e4ebf5;
	border-radius: 50px;
	box-shadow: 0 10px 35px rgba(23, 67, 130, 0.08);
}

.as-gallery-tab {
	border: 0;
	outline: none;
	cursor: pointer;
	padding: 13px 24px;
	border-radius: 40px;
	background: transparent;
	color: #45474b;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.as-gallery-tab i {
	margin-right: 7px;
}

.as-gallery-tab:hover {
	color: #165bd6;
}

.as-gallery-tab.active {
	background: #00749c;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(22, 91, 214, 0.25);
}

/* Content */

.as-gallery-content {
	display: none;
	animation: asGalleryFade 0.5s ease;
}

.as-gallery-content.active {
	display: block;
}

@keyframes asGalleryFade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Image Grid */

.as-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.as-gallery-card {
	position: relative;
	height: 280px;
	overflow: hidden;
	border-radius: 18px;
	background: #ffffff;
	cursor: pointer;
	box-shadow: 0 12px 35px rgba(25, 65, 120, 0.08);
}

.as-gallery-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.as-gallery-card:hover img {
	transform: scale(1.08);
}

/* Overlay */

.as-gallery-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 24px;
	background: linear-gradient(
		to top,
		rgba(7, 24, 53, 0.85),
		rgba(7, 24, 53, 0.05) 65%
	);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.as-gallery-card:hover .as-gallery-overlay {
	opacity: 1;
}

.as-gallery-overlay-content {
	width: 100%;
	color: #ffffff;
	transform: translateY(15px);
	transition: transform 0.35s ease;
}

.as-gallery-card:hover .as-gallery-overlay-content {
	transform: translateY(0);
}

.as-gallery-overlay-content span {
	display: block;
	font-size: 12px;
	color: #9fc3ff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 5px;
}

.as-gallery-overlay-content h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.as-gallery-view {
	position: absolute;
	right: 0px;
	top: -38px;
	width: 44px;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.95);
	color: #165bd6;
	border-radius: 50%;
	font-size: 14px;
}

/* =========================================
    VIDEO GRID
    ========================================= */

.as-video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.as-video-card {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid #e8eef7;
	box-shadow: 0 12px 35px rgba(25, 65, 120, 0.07);
	transition: all 0.35s ease;
}

.as-video-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 45px rgba(25, 65, 120, 0.14);
}

.as-video-thumbnail {
	position: relative;
	height: 290px;
	overflow: hidden;
}

.as-video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.as-video-card:hover .as-video-thumbnail img {
	transform: scale(1.06);
}

.as-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 66px;
	height: 66px;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #165bd6;
	border-radius: 50%;
	font-size: 20px;
	padding-left: 3px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
	transition: all 0.3s ease;
}

.as-video-card:hover .as-video-play {
	transform: translate(-50%, -50%) scale(1.12);
	background: #165bd6;
	color: #ffffff;
}

.as-video-info {
	padding: 22px 24px 25px;
}

.as-video-info span {
	font-size: 12px;
	font-weight: 700;
	color: #165bd6;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.as-video-info h3 {
	margin: 7px 0 0;
	color: #17233c;
	font-size: 19px;
}

/* =========================================
    IMAGE LIGHTBOX
    ========================================= */

.as-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px;
	background: rgba(5, 16, 35, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.as-gallery-lightbox.active {
	opacity: 1;
	visibility: visible;
}

.as-lightbox-inner {
	max-width: 1000px;
	width: 90%;
	text-align: center;
}

.as-lightbox-inner img {
	max-width: 100%;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.as-lightbox-caption {
	color: #ffffff;
	margin-top: 15px;
	font-size: 15px;
	font-weight: 600;
}

.as-lightbox-close,
.as-lightbox-prev,
.as-lightbox-next {
	position: absolute;
	border: 0;
	cursor: pointer;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.as-lightbox-close:hover,
.as-lightbox-prev:hover,
.as-lightbox-next:hover {
	background: #165bd6;
}

.as-lightbox-close {
	top: 25px;
	right: 25px;
}

.as-lightbox-prev {
	left: 25px;
	top: 50%;
	transform: translateY(-50%);
}

.as-lightbox-next {
	right: 25px;
	top: 50%;
	transform: translateY(-50%);
}

/* =========================================
    YOUTUBE MODAL
    ========================================= */

.as-video-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px;
	background: rgba(3, 12, 27, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.as-video-modal.active {
	opacity: 1;
	visibility: visible;
}

.as-video-modal-content {
	width: min(1000px, 95vw);
}

.as-video-frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.as-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.as-video-modal-close {
	position: absolute;
	top: 22px;
	right: 25px;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	cursor: pointer;
	font-size: 18px;
	z-index: 2;
}

.as-video-modal-close:hover {
	background: #165bd6;
}

/* =========================================
    RESPONSIVE
    ========================================= */

@media (max-width: 991px) {
	.as-gallery-section {
		padding: 85px 20px;
	}

	.as-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.as-gallery-card {
		height: 260px;
	}

	.as-video-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.as-gallery-section {
		padding: 70px 16px;
	}

	.as-gallery-heading h2 {
		font-size: 32px;
	}

	.as-gallery-heading p {
		font-size: 14px;
	}

	.as-gallery-tabs {
		width: 100%;
		max-width: 360px;
	}

	.as-gallery-tab {
		flex: 1;
		padding: 12px 10px;
		font-size: 13px;
	}

	.as-gallery-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.as-gallery-card {
		height: 240px;
	}

	.as-video-thumbnail {
		height: 220px;
	}

	.as-lightbox-prev {
		left: 10px;
	}

	.as-lightbox-next {
		right: 10px;
	}

	.as-lightbox-close {
		top: 15px;
		right: 15px;
	}
}


@media only screen and (min-width: 1200px) and (max-width: 1400px) {
	.top-notice-bar {
    width: 450px !important;
}
.ed-topbar__logo img {
    max-width: 280px !important;
    height: 60px;
    object-fit: contain;
}
}